在线时间2221 小时
UID3253523
注册时间2016-3-21
NXP金币2905
该用户从未签到
超级版主
 
- 积分
- 24915
- 最后登录
- 2025-7-23
|
发表于 2021-10-9 16:45:21
|
显示全部楼层
是不是CAN 总线错误:
20:16 ERRBIT4_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:
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
Whenever a bus error occurs, the corresponding bus error interrupt is forced, if
enabled. At the same time, the current position of the Bit Stream Processor is
captured into the Error Code Capture Register. The content within this register is
fixed until the user software has read out its content once. From now on, the
capture mechanism is activated again, i.e. reading the CANxICR enables
another Bus Error Interrupt.
|
|