mpc5748G Uart overrun

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

mpc5748G Uart overrun

845 Views
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

0 Kudos
1 Reply

742 Views
dany_amsalem
Contributor II

Closed.

the RX can handler disabled other interrupts.

0 Kudos