Download Print this page

Renesas M16C/50 Series User Manual page 635

Advertisement

M16C/5L Group, M16C/56 Group
23.2
Operating Mode
The CAN module has the following four operating modes:
• CAN reset mode
• CAN halt mode
• CAN operation mode
• CAN sleep mode
Figure 23.34 shows the transition between CAN operating modes.
CPU reset
(2)
CAN sleep mode
CANM, SLPM, BOM, RBOC: Bits in the C0CTLR register
Notes:
1. The transition timing from the bus-off state to CAN halt mode depends on the setting of the BOM bit.
- When the BOM bit is 01b, the state transition timing is immediately after entering the bus-off state.
- When the BOM bit is 10b, the state transition timing is at the end of the bus-off state.
- When the BOM bit is 11b, the state transition timing is at the setting of the CANM bit to 10b (CAN halt mode).
2. Write only to the SLPM bit to exit/set CAN sleep mode.
Figure 23.34 Transition between CAN Operating Modes
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
SLPM = 0 when
CANM = 01b
CAN reset mode
SLPM = 1
SLPM = 0 when
CANM = 10b
CANM
SLPM = 1
= 10b
CAN halt mode
CANM = 00b
CANM = 01b
CANM
= 00b
TEC > 255
CANM
CANM
= 10b
= 01b
CANM
= 01b
(1)
CANM = 10b
23. CAN Module
CAN operation mode
When BOM is 00b or
11b (no halt request)
and 11 consecutive
recessive bits are
detected 128 times
or RBOC is 1.
CAN operation mode
(bus-off state)
Page 598 of 803

Advertisement

loading