782
Chapter 18
AFCAN Controller
User’s Manual U16580EE3V1UD00
Notes: 1.
The CCERC bit is used to clear the CnERC and CnINFO registers for re-initialization or
forced recovery from the bus-off state. This bit can be set to 1 only in the initialization mode.
2.
When the CnERC and CnINFO registers have been cleared, the CCERC bit is also cleared
to 0 automatically.
3.
The CCERC bit can be set to 1 at the same time as a request to change the initialization
mode to an operation mode is made.
4.
The CCERC bit is read-only in the CAN sleep mode or CAN stop mode.
5.
The receive data may be corrupted in case of setting the CCERC bit to (1) immediately after
entering the INIT mode from self-test mode.
Note:
The AL bit is valid only in the single-shot mode.
Notes: 1.
Detection of a valid receive message frame is not dependent upon storage in the receive
message buffer (data frame) or transmit message buffer (remote frame).
2.
Clear the VALID bit (0) before changing the initialization mode to an operation mode.
3.
If only two CAN nodes are connected to the CAN bus with one transmitting a message
frame in the normal mode and the other in the receive-only mode, the VALID bit is not set to
1 before the transmitting node enters the error passive state, because in receive-only mode
no acknowledge is generated.
4.
To clear the VALID bit, set the Clear VALID bit to 1 first and confirm that the VALID bit is
cleared. If it is not cleared, perform clearing processing again.
Cautions: 1. Transition to and from the CAN stop mode must be made via CAN sleep mode. A
request for direct transition to and from the CAN stop mode is ignored.
2. The MBON flag of CnGMCTRL must be checked after releasing a power save
mode, prior to access the message buffers again.
3. CAN sleep mode requests are kept pending, until cancelled by software or
entered on appropriate bus condition (bus idle). Software can check the actual
status by reading PSMODE.
CCERC
Error counter clear bit
0
The CnERC and CnINFO registers are not cleared in the initialization mode.
1
The CnERC and CnINFO registers are cleared in the initialization mode.
AL
Bit to set operation in case of arbitration loss
0
Re-transmission is not executed in case of an arbitration loss in the single-shot mode.
1
Re-transmission is executed in case of an arbitration loss in the single-shot mode.
VALID
Valid receive message frame detection bit
0
A valid message frame has not been received since the VALID bit was last cleared to 0.
1
A valid message frame has been received since the VALID bit was last cleared to 0.
PSMODE1
PSMODE0
Power save mode
0
0
No power save mode is selected.
0
1
CAN sleep mode
1
0
Setting prohibited
1
1
CAN stop mode
Содержание 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: ......