815
Chapter 18
AFCAN Controller
User’s Manual U16580EE3V1UD00
buffer is not the same, if the ID that is masked by the mask register matches, it is considered a
matching ID and the buffer that has this ID is treated as the storage destination of a message.
5. The priority between MBRBs is mentioned in the table on page 810.
18.9.6 Remote frame reception
In all the operation modes, when a remote frame is received, the message buffer that is to store the
remote frame is searched from all the message buffers satisfying the following conditions.
•
Used as a message buffer
(MA0 bit of CnMCONFm register set to 1.)
•
Set as a transmit message buffer
(MT[2:0] bits in CnMCONFm register set to 000B)
•
Ready for reception
(RDY bit of CnMCTRLm register set to 1.)
•
Set to transmit message
(RTR bit of CnMCONFm register is cleared to 0.)
•
Transmission request is not set.
(TRQ bit of CnMCTRLm register is cleared to 0.)
Upon acceptance of a remote frame, the following actions are executed if the ID of the received remote
frame matches the ID of a message buffer that satisfies the above conditions.
•
The DLC[3:0] bit string in the CnMDLCm register store the received DLC value.
•
The CnMDATA0m to CnMDATA7m registers in the data area are not updated (data before reception
is saved).
•
The DN bit of the CnMCTRLm register is set to 1.
•
The CINTS1 bit of the CnINTS register is set to 1 (if the IE bit in the CnMCTRLm register of the mes-
sage buffer that receives and stores the frame is set to 1).
•
The receive completion interrupt (INTCnREC) is output (if the IE bit of the message buffer that
receives and stores the frame is set to 1 and if the CIE1 bit of the CnIE register is set to 1).
•
The message buffer number is recorded in the receive history list.
Caution
When a message buffer is searched for receiving and storing a remote frame,
overwrite control by the OWS bit of the CnMCONFm register of the message
buffer and the DN bit of the CnMCTRLm register are not checked. The setting
of OWS is ignored, and DN is set in any case. If more than one transmit
message buffer has the same ID and the ID of the received remote frame
matches that ID, the remote frame is stored in the transmit message buffer with
the lowest message buffer number.
Содержание V850E/PH2
Страница 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: ......