Recover from CanBus fault

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

Recover from CanBus fault

1,010件の閲覧回数
ianbenton
Senior Contributor I

What's the best way to get the CANbus going again after it has stopped?

Example - customer disconnects the CAN cable - CANbus interface detects the fault and stops. What is the best way to restart it without having to restart the program from hardware reset?

ラベル(2)
タグ(1)
0 件の賞賛
返信
1 返信

957件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Ian,

I suppose that you use LPC175x, if it is the case, you can reset only the CAN module with the bit CCAN_RST bit, in other words, you can set the bit, then clear the bit, the CAN module  will be reset, then you can reinitialize the CAN module.

BR

XiangJun Rong

pastedImage_1.png

0 件の賞賛
返信