Nations Technologies Inc.
Tel
:
+86-755-86309900
:
info@nationstech.com
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
553
/
631
the CAN bus activity is detected, regardless of whether the hardware is enabled to automatically wake up CAN.
The CAN must be synchronized with the CAN bus before entering Normal mode Wait until the CAN_MSTS.SLPAK
bit cleared to confirm the sleep mode has exited.Please refer to Figure 25-2.
Figure 25-2 CAN working mode
Notes: the state that the hardware sets the CAN_MSTS.INIAK or CAN_MSTS.SLPAK bit in response to a sleep or
initialization request.
Send mailbox
Applications can send messages through three sending mailboxes. The order of sending three mailbox messages is
determined by the sending scheduler according to the priority of the messages, and the priority can be determined by
the identifier of the messages or by the order of sending requests.
Receiving filter
CAN has 14 configurable identifier filter groups. After the application configures the identifier filter group, the
receiving mailbox will automatically receive the required messages and discard other messages.
Receive FIFO
CAN has two receiving FIFOs, each of which can store three complete messages. No application program is needed
to manage it, and it is managed by hardware.
Sleep mode
(SLPAK = 1 & INIAK = 0)
Initialization mode
(SLPAK = 0 & INIAK = 1)
Normal mode
(SLPAK = 0 & INIAK = 0)
Reset
SLPRQ = 0
INIRQ = 1
INIAK = 1
SLPRQ = 1
INIRQ = 0
SLPAK = 1
INIRQ = 0
INIAK = 0
11 recessive bits
INIRQ = 1
INIAK = 1
SLPRQ = 0
SLPAK = 0
11 recessive bits
SLPRQ = 1
SLPAK = 1