S32K146 use LPUART with idle line & DMA problem

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

S32K146 use LPUART with idle line & DMA problem

955 Views
james1986
Contributor I

I configure LPUART with Idle line interrupt (CTRL[ILIE] is set to 1,  CTRL[ILT] is set to 1,  CTRL[IDLECFG] is set to 011b). And also enable DMA request.

The size of my recieve buffer was set to 10 bytes,  When I send data  which size is less than 10 bytes(eg. 5 bytes) to my S32K146  board by UART, the Idle line interrupt was detected.

But the intterupt flag of STAT[IDLE] was not set.

Is there something wrong that causes the interrupt flag not to be set? Thanks!



0 Kudos
1 Reply

938 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

The driver can detect an IDLE interrupt only when the STAT[IDLE] bit is set.

Which SDK version and IDE do you use?

Have you modified the driver?

Can you share the project?

 

Thank you,

BR, Daniel

 

0 Kudos