您好,
我用LPC1768的can,总线上有个节点偶尔进入bus_off state, 按照 LPC17xx User Manual 提供的 can error handling 处理方法,我的代码如下:
LPC_CAN1->MOD = 1; // Enter Reset Mode
LPC_CAN1->GSR = 0; // clear tx error counter
LPC_CAN1->CMR = (1<<1)|(1<<2)|(1<<3);
LPC_CAN1->MOD = 0;// Return Normal operating
等待128 个 Bus Free condition 后,节点没有恢复正常工作,can controller 仍然无发正常收发。请问该如何恢复?