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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

579 次查看
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 项奖励
1 回复

505 次查看
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 项奖励