mpc5748G Uart overrun

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

mpc5748G Uart overrun

2,140 次查看
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 回复

2,037 次查看
dany_amsalem
Contributor II

Closed.

the RX can handler disabled other interrupts.

0 项奖励
回复