LLCE LIN in Linux

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
425件の閲覧回数
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 解決策
365件の閲覧回数
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 返答(返信)
366件の閲覧回数
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 件の賞賛
返信
356件の閲覧回数
Alex_mjl
Contributor II
Thank you for your answer.
0 件の賞賛
返信
390件の閲覧回数
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 件の賞賛
返信
386件の閲覧回数
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 件の賞賛
返信