809
Chapter 18
AFCAN Controller
User’s Manual U16580EE3V1UD00
Figure 18-27:
Transition to operation modes
The transition from the initialization mode to an operation mode is controlled by the bit string
OPMODE[2:0] in the CnCTRL register.
Changing from one operation mode into another requires shifting to the initialization mode in between.
Do not change one operation mode to another directly; otherwise the operation will not be guaranteed.
Requests for transition from an operation mode to the initialization mode are held pending when the
CAN bus is not in the interframe space (i.e., frame reception or transmission is in progress), and the
CAN module enters the initialization mode at the first bit in the interframe space (the values of the
OPMODE[2:0] bits are changed to 000B). After issuing a request to change the mode to the initializa-
tion mode, read the OPMODE[2:0] bits until their value becomes 000B to confirm that the module has
entered the initialization mode (see <~Reference>Figure 18-36 on page 841).
18.8.5 Resetting error counter CnERC of CAN module
If it is necessary to reset the CAN module error counter CnERC and CAN module information register
CnINFO when re-initialization or forced recovery from the bus-off status is made, set the CCERC bit of
the CnCTRL register to 1 in the initialization mode. When this bit is set to 1, the CnERC and CnINFO
registers are cleared to their default values.
CAN module
channel invalid
[Receive-only mode]
OPMODE[2:0]=03H
OPMODE[2:0] = 00H
and CAN bus is busy.
OPMODE[2:0] = 03H
[Single-shot mode]
OPMODE[2:0]=04H
OPMODE[2:0] = 04H
OPMODE[2:0] = 05H
INIT mode
OPMODE[2:0] = 00H
EFSD = 1
and GOM = 0
All CAN modules are
in INIT mode and GOM = 0
GOM = 1
RESET
RESET released
[Normal operation
mode with ABT]
OPMODE[2:0]=02H
OPMODE[2:0] = 00H
and CAN bus is busy.
OPMODE[2:0] = 00H
and interframe space
OPMODE[2:0] = 02H
OPMODE[2:0] = 01H
0] = 00H
s is busy.
[Normal operation
mode]
OPMODE[2:0]=01H
OPMODE[2:0] = 00H
and CAN bus is busy.
OPMODE[2:0] = 00H
and interframe space
OPMODE[2:0] = 00H
and interframe space
OPMODE[2:0] = 00H
and interframe space
OPMODE[2:0] = 00H
and interframe space
OPMODE
and CAN b
[Self-test mode]
OPMODE[2:0]=05H
Содержание MuPD70F3187
Страница 6: ...6 Preface User s Manual U16580EE3V1UD00 ...
Страница 16: ...16 User s Manual U16580EE3V1UD00 ...
Страница 28: ...28 User s Manual U16580EE3V1UD00 ...
Страница 32: ...32 User s Manual U16580EE3V1UD00 ...
Страница 84: ...84 Chapter 2 Pin Functions User s Manual U16580EE3V1UD00 MEMO ...
Страница 144: ...144 Chapter 3 CPU Functions User s Manual U16580EE3V1UD00 MEMO ...
Страница 192: ...192 Chapter 5 Memory Access Control Function μPD70F3187 only User s Manual U16580EE3V1UD00 MEMO ...
Страница 312: ...312 Chapter 9 16 Bit Timer Event Counter P User s Manual U16580EE3V1UD00 MEMO ...
Страница 534: ...534 Chapter 11 16 bit Timer Event Counter T User s Manual U16580EE3V1UD00 ...
Страница 969: ...969 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 MEMO ...
Страница 970: ...970 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 ...
Страница 976: ...976 Chapter 22 Internal RAM Parity Check Function User s Manual U16580EE3V1UD00 MEMO ...
Страница 984: ...984 Chapter 23 On Chip Debug Function OCD User s Manual U16580EE3V1UD00 MEMO ...
Страница 1006: ...1006 Chapter 24 Flash Memory User s Manual U16580EE3V1UD00 MEMO ...
Страница 1036: ...1036 Chapter 27 Recommended Soldering Conditions User s Manual U16580EE3V1UD00 MEMO ...
Страница 1046: ...1046 Appendix A Index User s Manual U16580EE3V1UD00 MEMO ...
Страница 1052: ...1052 User s Manual U16580EE3V1UD00 ...
Страница 1053: ......