746
Chapter 19
CAN Controller (CAN)
Preliminary User’s Manual U17566EE1V2UM00
Figure 19-35
Re-initialization
Caution
After setting the CAN module to the initialization mode, avoid setting the
module to another operation mode immediately after. If it is necessary to
immediately set the module to another operation mode, be sure to access
registers other than the CnCTRL and CnGMCTRL registers (e.g., set a
message buffer).
Note
OPMODE: Normal operation mode, normal operation mode with ABT,
receive-only mode, single-shot mode, self-test mode
START
Set
CnBRP register,
CnBTR register.
Set
CnIE register.
Set
CnMASK register.
Set CnCTRL register.
(set OPMODE
bit)
END
Clear
OPMODE.
INIT mode?
No
Yes
No
CnERC and
CnINFO
register clear?
Initialize message
buffers.
Yes
Set CCERC bit.
Set CCERC bit = 1
Clear CCERC bit = 0
electronic components distributor