Nxp semiconductors – NXP Semiconductors LPC24XX UM10237 User Manual
Page 483
![background image](/manuals/190592/483/background.png)
UM10237_4
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 04 — 26 August 2009
483 of 792
NXP Semiconductors
UM10237
Chapter 18: LPC24XX CAN controllers CAN1/2
20:16 ERRBIT
4:0
Error Code Capture: when the CAN controller detects
a bus error, the location of the error within the frame is
captured in this field. The value reflects an internal
state variable, and as a result is not very linear:
0
X
00011
Start of Frame
00010
ID28 ... ID21
00110
ID20 ... ID18
00100
SRTR Bit
00101
IDE bit
00111
ID17 ... 13
01111
ID12 ... ID5
01110
ID4 ... ID0
01100
RTR Bit
01101
Reserved Bit 1
01001
Reserved Bit 0
01011
Data Length Code
01010
Data Field
01000
CRC Sequence
11000
CRC Delimiter
11001
Acknowledge Slot
11011
Acknowledge Delimiter
11010
End of Frame
10010
Intermission
10001
Active Error Flag
10110
Passive Error Flag
10011
Tolerate Dominant Bits
10111
Error Delimiter
11100
Overload flag
21
ERRDIR
When the CAN controller detects a bus error, the
direction of the current bit is captured in this bit.
0
X
0
Error occurred during transmitting.
1
Error occurred during receiving.
23:22 ERRC1:0
When the CAN controller detects a bus error, the type
of error is captured in this field:
0
X
00
Bit error
01
Form error
10
Stuff error
11
Other error
Table 423. Interrupt and Capture Register (CAN1ICR - address 0xE004 400C, CAN2ICR -
address 0xE004 800C) bit description
Bit
Symbol
Value
Function
Reset
Value
RM
Set