LIN Driver using UART[0] for S32K311NHT0MLFST

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

LIN Driver using UART[0] for S32K311NHT0MLFST

667 Views
kiran5
Contributor I

HI

I am using S32K311NHT0MLFST for my project.

I am trying to configure the UART[0] as a LIN driver. Is there any example code available for the particular controller or a controller from the same family.

FIFO option is supported for this particular controller. So it would be very helpful if i can get some example on how the FIFO will be configured.

 

Thanks

Kiran

 

0 Kudos
Reply
3 Replies

585 Views
kiran5
Contributor I

HI Daniel

 

Thanks for the Stack information.

Need some more support regarding Baudrate.

Does this controller support auto baud rate feature for LIN2.0 specification?

 

Thanks

Kiran

0 Kudos
Reply

573 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @kiran5

Yes, the LIN driver support Auto baudrate regardless of the LPUART instance.

Refer to S32K3_S32M27x LIN_43_LPUART_FLEXIO User Manual that is available in the installation directory of the RTD driver

Section 3.6.5 Auto-detect baudrate feature.

 

Regards,

Daniel

0 Kudos
Reply

654 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Kiran,

We don't have RTD LIN examples for all the S32K3xx derivatives.

This is RTD 5.0.0:

danielmartynek_0-1747383359479.png

But there are LIN Stack examples for S32K311 too, they use the driver.

danielmartynek_1-1747385043412.png

 

The driver does not use the FIFO.

It would increase the complexity of the driver.

 

Regards,

Daniel

 

 

 

 

0 Kudos
Reply