S32K STATUS UART RX OVERRUN WHILE AD WITH DMA

cancel
Showing results for 
Search instead for 
Did you mean: 

S32K STATUS UART RX OVERRUN WHILE AD WITH DMA

238 Views
rvalente
Contributor III

Hello Mates,

my S32K is using the UART as modbus 485, eventually during the AD through DMA capture (very long, 7000 captures or so) the UART gets STATUS UART RX OVERRUN error on a interrupt..

I've it fixed using the deinit and restarting it, it works but I believe this is not necessary.

Any tips of why the DMA capture end interrupt maybe conflicting my UART interrupt? Priorities, maybe?

 

Greetings from Brazil, Renan

0 Kudos
1 Reply

216 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @rvalente,

Yes, you can set a higher interrupt priority for the UART.

Maybe you have a long DMA complete interrupt routine that can't be preempted by a lower-priority UART interrupt.

Or you can just increase the system clock frequency.

 

Regards,

Daniel

0 Kudos