How to enable LPUART idle length detection in s32k3 RTD?

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

How to enable LPUART idle length detection in s32k3 RTD?

633 次查看
s32k146_ige
Contributor IV

Dear NXP Team,

 

We are moving from s32k1 series to s32k3 series. In S32k1 series we had implemented idle length detection on UART receive event. Code snippet was shared by NXP team using DMA.

As we are moving to s32k3 series, we will be using RTD, we are learning from doc provide with RTD. We were not able locate information for UART idle length detection interrupt/event.

It would be helpful if you can share an sample code or instructions for same.

标记 (3)
0 项奖励
回复
5 回复数

613 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @s32k146_ige 

The drivers usually do not cover 100% of device functionality. This is the case of IDLE detection. There was no such requirement to support this feature in the drivers.

I am afraid that currently, the only option is to implement the functionality by yourself. 

 

B.R.

VaneB

0 项奖励
回复

604 次查看
s32k146_ige
Contributor IV

How can we implement it ? do you have sample code ? in case of s32k144 series we were provided with sample code using DMA for same, and it helped us put together code for our system.

0 项奖励
回复

594 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @s32k146_ige 

Check the following community post Here is provided an LPUAR + DMA example code for S32K312 devices that you can use as a reference. 

S32K344 UART DMA example

Unfortunately, regarding IDLE detection, we do not have any examples for S32K3 devices. 

0 项奖励
回复

590 次查看
s32k146_ige
Contributor IV
In s32k1 series it was necessity to use DMA for idle length detection on UART receive. As informed by NXP team when we were doing UART idle length detection with s32k146. In s32k342 is it required to use DMA for idle length detection on UART receive ?
0 项奖励
回复

570 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @s32k146_ige 

Please refer to section 78.3.2.1.2 (Idle length) of the S32K3xx Reference Manual, Rev. 7. It has information related to the topic that you might find useful. 

0 项奖励
回复