LLCE LIN in Linux

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

LLCE LIN in Linux

跳至解决方案
781 次查看
Alex_mjl
Contributor II

Hello NXP Team,

    Refer to the S32G_Linux BSP38 documentation, It seems that LLCE LIN is already supported in Linux. As show below:

Alex_mjl_0-1714110935715.png

    I want to know how to use LLCE LIN in Linux?

0 项奖励
回复
1 解答
721 次查看
chenyin_h
NXP Employee
NXP Employee

Hello, @Alex_mjl

Thanks for the feedback.

As indicated in the BSP UM, only UART mode is supported for LINFlexD based on Linux BSP.

 

Best Regards

Chenyin

 

在原帖中查看解决方案

0 项奖励
回复
4 回复数
722 次查看
chenyin_h
NXP Employee
NXP Employee

Hello, @Alex_mjl

Thanks for the feedback.

As indicated in the BSP UM, only UART mode is supported for LINFlexD based on Linux BSP.

 

Best Regards

Chenyin

 

0 项奖励
回复
712 次查看
Alex_mjl
Contributor II
Thank you for your answer.
0 项奖励
回复
746 次查看
chenyin_h
NXP Employee
NXP Employee

Hello, @Alex_mjl

Thanks for the question.

Yes, it could be used in UART mode, the kernel could be compiled as listed in the BSP UM, but one important limitation is that LLCE LINFlexD can be used as a serial console once the LLCE mailbox driver has been loaded, typically after reaching the Linux console.

However, by default, the serial driver is loaded before loading the LLCE modules, so that only LINFlexD consoles are enabled during the boot. You may have to make some modification to the system to insure the driver loading order to have the LLCELIN correctly probed by the driver.

 

Best Regards

Chenyin

 

0 项奖励
回复
742 次查看
Alex_mjl
Contributor II
Hello Chen,
This driver under Linux, can only be used as uart mode. If I want to use the LIN protocol to transmit, is it not supported?
0 项奖励
回复