Is there a register that indicates LIN bus off?

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

Is there a register that indicates LIN bus off?

308 次查看
Kang111
Contributor II
Hi?
I'm using S32K144.
Is there a register that indicates LIN bus off?
Or if you have any examples related to this, please let me know.

 

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

273 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Kang111,

What do you mean by the BUS OFF?

The LIN bus is pulled to VBAT, so do you mean the bus is OFF if the bus is recessive for an some time?

 

Thanks,

Daniel

 

0 项奖励
回复

262 次查看
Kang111
Contributor II

The LIN bus off state means that an error has occurred and normal communication is no longer possible.

It also means that the LIN connection has been disconnected in hardware!

标记 (1)
0 项奖励
回复

243 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @Kang111,

There is no such register.

There is a LIN Tranceiver between the LIN BUS and the LPUART module of the S32K144.

The LPUART HW module is managed by the RTD LIN Driver / LIN Stack that can detect errors.

Detection of such a BUS OFF would need to be implemented in the user code.

 

Regards,

Daniel

 

 

0 项奖励
回复