A20 User Manual (Revision 1.2) Copyright © 2013 Allwinner Technology Co., Ltd. All Rights Reserved. Page 788 / 812
6.16.5. CAN Controller Register Description
6.16.5.1. CAN MODE SELECT REGISTER
Register Name:
CAN_MOD_SEL
Default Value: 0x0000_0001
SLEEP_SEL
Sleep Mode
1 - Sleep. The controller enters its Sleep Mode provided no
CAN interrupt is pending and there is no bus activity. (If there
is bus activity or an interrupt is pending, the Wake-Up
procedure is executed.)
0 - Wake-up (normal operation). If sleeping, the controller
wakes up.
(This bit can only be written in Reset Mode)
ACP_FLT_MOD_SEL
Acceptance Filter Mode Select
1 - Single Filter. Receive data MOD.3 AFM Acceptance Filter
Mode1 filtered using one 4-byte filter
0 - Dual Filter. Receive data filtered using two shorter filters.
LB_MOD
Loopback Mode
1 - Self Test enabled. In this mode, a full node test is possible
without any other active node on the bus using the self
reception request command. The MCAN2 will perform a
successful transmission, even if no acknowledge is received.
0 - Normal operation. An acknowledgement is required for
successful transmission.
LST_ONLY
Listen Only Mode
1 - Listen Only enabled. In this mode, the controller does not
send an acknowledge to the CAN bus, even when a message
is received successfully.
0 - Normal operation. The error counters are stopped at the
current value.
RST
Reset Mode
1 – Reset mode selected. Any message currently being