AcroPack Series AP560
CAN Bus Interface Module
- 47 -
Transmit Error Counter Register
The TEC register reflects the current value of the CAN Transmit Error Counter.
This register can be written for test purposes.
Table 21 TEC (Write 0x26, Read 0xEC)
BIT
FUNCTION
7:0
TEC 7:0
–
Transmit Error Counter bits <7:0>
0
≤
TEC
≤
95: Error active status.
96
≤
TEC
≤
127: Error active status. Error warning flag,
ERRW, set in STATF register. This may be used to generate
a hardware interrupt if ERRWIE bit is set in STATFE register.
128
≤
TEC
≤
255: Error passive status. Transmit error
passive flag, TXERRP, set in ERR register. ERRP also set in
STATF register. This may be used to generate a hardware
interrupt if ERRPIE bit is set in STATFE register.
TEC > 255: Bus-off status. Bus-off flags, BUSOFF, set in ERR
and STATF registers. The latter may be used to generate a
hardware interrupt if BUSOFFIE bit is set in STATFE
register.
The HI-3111 will, after entering bus-off state, automatically
recover to error active status without host intervention if
the BOR bit is set in control register CTRL0 and 128 x 11
consecutive recessive bits are detected on the bus. If the
BOR bit is not set, bus-off recovery is managed by the host.
Receive Error Counter Register
The REC register reflects the current value of the CAN Receive Error Counter.
This register can be written for test purposes.
Table 22 REC (Write 0x24, Read 0xEA)
BIT
FUNCTION
7:0
REC 7:0
–
Receive Error Counter bits <7:0>
0
≤ R
EC
≤
95: Error active status.
96
≤
REC
≤
127: Error active status. Error warning flag,
ERRW, set in STATF register. This may be used to generate
a hardware interrupt if ERRWIE bit is set in STATFE register.
128
≤
REC
≤
255: Error passive status. Receive error passive
flag, RXERRP, set in ERR register. ERRP also set in STATF
register. This may be used to generate a hardware
interrupt if ERRPIE bit is set in STATFE register.
Содержание AcroPack AP560
Страница 28: ...AcroPack Series AP560 CAN Bus Interface Module 28 Figure 2 Standard Data Frame...
Страница 30: ...AcroPack Series AP560 CAN Bus Interface Module 30 Figure 3 Extended Data Frame...
Страница 32: ...AcroPack Series AP560 CAN Bus Interface Module 32 Figure 4 Remote Frame...
Страница 34: ...AcroPack Series AP560 CAN Bus Interface Module 34 Figure 5 Error Frame...