
GR716-DS-UM, May 2019, Version 1.29
223
www.cobham.com/gaisler
GR716
23-16: TxErrCntr Transmission error counter, 8-bit
15-8:
RxErrCntr Reception error counter, 8-bit
4:
ACTIVE Transmission ongoing
3:
AHBErr
AMBA AHB master interface blocked due to previous AHB error
2:
OR
Overrun during reception
1:
OFF
Bus-off condition
0:
PASS
Error-passive condition
All bits are cleared to 0 at reset.
The OR bit is set if a message with a matching ID is received and cannot be stored via the AMBA
AHB bus, this can be caused by bandwidth limitations or when the circular buffer for reception is
already full.
The OR and AHBErr status bits are cleared when the register has been read.
Note that TxErrCntr and RxErrCntr are defined according to CAN protocol.
Note that the AHBErr bit is only set to 1b if an AMBA AHB error occurs while the Can-
CONF.ABORT bit is set to 1b.
25.8.3 Control Register [CanCTRL] R/W
Table 237.
Control Register
1:
RESET
Reset complete core when 1
0:
ENABLE Enable CAN controller, when 1. Reset CAN controller, when 0
All bits are cleared to 0 at reset.
Note that RESET is read back as 0b.
Note that ENABLE should be cleared to 0b to while other settings are modified, ensuring that the
CAN core is properly synchronized.
Note that when ENABLE is cleared to 0b, the CAN interface is in sleep mode, only outputting reces-
sive bits.
Note that the CAN core requires that 10 recessive bits be received before receive and transmit opera-
tions can begin.
25.8.4 SYNC Code Filter Register [CanCODE] R/W
Table 238.
SYNC Code Filter Register
28-0:
SYNC
Message Identifier
All bits are cleared to 0 at reset.
Note that Base ID is bits 28 to 18 and Extended ID is bits 17 to 0.
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Rese
t
Ena
ble
31
30
29
28
0
SYNC