Recover from CanBus fault

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

Recover from CanBus fault

1,049 次查看
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 回复

996 次查看
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 项奖励
回复