mpc5748G Uart overrun

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

mpc5748G Uart overrun

2,082件の閲覧回数
dany_amsalem
Contributor II

i'm working on the DEVKIT MPC5748G rev D under the S32 IDE.

I have a problem with missing RX byte in UART_4,  

My UART code based on the uart pal example (S32144_SDK01).

in my setup i'm using 2 CAN interfaces which both sends messages interleaved with 1msec each and in at the same time i'm trying to transfer file via UART in the rate of 921600 bps.

it seems that, each time UART4 receives byte inside CAN irq handler time it miss it and the next byte is declared as overrun (both events are in the CAN IRQ handler time).

in the attached file you can see the time sharing between IRQ handlers (CAN, uartTX, uartRx, uartErr), blue circle  represent the missing uart rx byte.

I check the signals 

any idea why i'm missing this byte ?  nothing is shared between both in aspect of signals or code.

Tanks in advance

Dany

タグ(4)
0 件の賞賛
返信
1 返信

1,979件の閲覧回数
dany_amsalem
Contributor II

Closed.

the RX can handler disabled other interrupts.

0 件の賞賛
返信