How to configure UART module as LIN in IMX8QM

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

How to configure UART module as LIN in IMX8QM

569 次查看
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?

标记 (1)
0 项奖励
2 回复数

492 次查看
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 项奖励

539 次查看
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 项奖励