How to configure UART module as LIN in IMX8QM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to configure UART module as LIN in IMX8QM

580件の閲覧回数
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 返答(返信)

503件の閲覧回数
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 件の賞賛

550件の閲覧回数
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 件の賞賛