S32K146 receive any length data by luart with the idle line interrupt

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

S32K146 receive any length data by luart with the idle line interrupt

557 Views
592314340
Contributor I

I want to receive any length data by luart with  the idle line interrupt  and dma,but I found there's no  - LPUART_INT_IDLE_LINE. in S32SDK_S32K1xx_RTM_3.0.0 ,whate can i do 

0 Kudos
1 Reply

483 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hello 

Unfortunately, this option is not available in SDK software yet, sorry for the inconvenience that this may cause you. Still, you could try adding the support of this interrupt in the LPUART_DRV_IRQHandler.

In the SDK there's the next API used to enable the different interrupt modes,

LPUART_SetIntMode(base, LPUART_INT_IDLE_LINE, true);

Also, you will need to configure the CTRL[IDLECFG] and modify the interruption to receive this mode. For more information about this please check the section 53.4.5.2 Idle length to know more about this mode.

Best Regards,

Alexis Andalon

0 Kudos