How to enable LPUART idle length detection in s32k3 RTD?

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

How to enable LPUART idle length detection in s32k3 RTD?

632 Views
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.

Tags (3)
0 Kudos
Reply
5 Replies

612 Views
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 Kudos
Reply

603 Views
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 Kudos
Reply

593 Views
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 Kudos
Reply

589 Views
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 Kudos
Reply

569 Views
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 Kudos
Reply