Unlawful CAN bus errors

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

Unlawful CAN bus errors

1,006 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jharwood on Thu May 19 22:02:35 MST 2011
According to the UM for both LPC1768/9 and LPC177x:

16.8.1Error handling

Quote:

The Transmit and Receive Error Counters are incriminated for each detected
error

Thankfully, they are not decapitated when the problems go away

Quote:

and are decremented when operation is error-free.

:D
0 项奖励
回复
3 回复数

994 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jharwood on Fri May 20 08:27:13 MST 2011
:o Sorry, NXP_Europe. I was just having a bit of fun with a typo in the user manuals.

incriminated  instead of incremented  :)
0 项奖励
回复

994 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_Europe on Fri May 20 08:04:11 MST 2011
Hello jharwood,

use the uart + a terminal program to see what happens. Let the uart (via printf) send out the content of the error counter. The counter will start with 0 and  increments when a CAN-fault is detected. See what happens when the fault is taken away with the counters. Keep sending CAN-messages e.g. ones every second.
0 项奖励
回复

994 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by larryvc on Thu May 19 22:18:47 MST 2011
If they are found guilty do they end up doing some time in the Hard_Fault handler.:D
0 项奖励
回复