LIN Driver using UART[0] for S32K311NHT0MLFST

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

LIN Driver using UART[0] for S32K311NHT0MLFST

664 次查看
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 项奖励
回复
3 回复数

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

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

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