S32K STATUS UART RX OVERRUN WHILE AD WITH DMA

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

S32K STATUS UART RX OVERRUN WHILE AD WITH DMA

775件の閲覧回数
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 件の賞賛
1 返信

753件の閲覧回数
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 件の賞賛