Recover from CanBus fault

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Recover from CanBus fault

546 Views
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?

Labels (2)
Tags (1)
0 Kudos
1 Reply

493 Views
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 Kudos