Question about S32K148 UART DMA interrupt

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

Question about S32K148 UART DMA interrupt

218 Views
Akimitsu
Contributor I

Hello,

I'm working on a project which uses LPSPI and LPUART on S32K148-Q176 EVB, and I have a trouble in UART DMA interrupt.

Here is the project summary:

  • RTD is used.
  • Both SPI and UART use DMA, priority is SPI Rx > SPI Tx > UART Rx > UART Tx.
  • Default DMA handler is configured in IntCtrl_Ip module configuration.

If a breakpoint is set at the beginning of UART DMA Tx IRQ handler, it is called after Lpuart_Uart_Ip_AsyncSend API call.

On the other hands if the breakpoint is not set, UART DMA Tx IRQ handler is not called after API call.

SPI Tx / Rx and UART Rx DMA handler is called without any issue.

Can anybody tell me how to make it work?

Thanks.
Akimitsu

0 Kudos
Reply
0 Replies