LLCE LIN in Linux

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

LLCE LIN in Linux

Jump to solution
325 Views
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 Kudos
1 Solution
265 Views
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

 

View solution in original post

0 Kudos
4 Replies
266 Views
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 Kudos
256 Views
Alex_mjl
Contributor II
Thank you for your answer.
0 Kudos
290 Views
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 Kudos
286 Views
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 Kudos