How to configure UART module as LIN in IMX8QM

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

How to configure UART module as LIN in IMX8QM

559 Views
Lincoln_Dessen
Contributor II

Hi All,

I am using IMX8QM connecting UART3 to LIN transceiver TJA1021 and running Android 9 on it.

How to configure UART to work as LIN in data link layer?

0 Kudos
2 Replies

482 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hello @Lincoln_Dessen ,

I hope you are doing well.

->There is no tested LIN driver support since there is no hardware support for LIN on any of our platforms.
->Browsing in the LPUART driver in the SDK One can see some hooks mentioning the LIN break detect feature, but in the opening statement, there are no HW platforms with LIN enabled for i.MX8, UARTs are typically console or BT related for i.MX8.

Thanks & Regards,
Sanket Parekh

0 Kudos

529 Views
Lincoln_Dessen
Contributor II

Hi @giraffe508,

Thanks for your reply.

I have enabled UART module in the device tree file.

Now I am struggling to add the code you provided to the file `drivers/tty/serial/imx.c`, could you give more details on where to add it?

Thank you!

 

Sincerely,

Lincoln

0 Kudos