Unlawful CAN bus errors

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

Unlawful CAN bus errors

1,007件の閲覧回数
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 返答(返信)

995件の閲覧回数
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 件の賞賛
返信

995件の閲覧回数
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 件の賞賛
返信

995件の閲覧回数
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 件の賞賛
返信