475
Chapter 14
FCAN Interface Function
Preliminary User’s Manual U15839EE1V0UM00
(3)
Message status registers 00 to 31 (M_STAT00 to M_STAT31)
The M_STATm registers indicate transmit and receive status of the corresponding message m
(m = 00 to 31). Bits can be set/cleared only by means of the SC_STATm register.
These registers can be read-only in 8-bit units.
Figure 14-26:
Message Status Registers 00 to 31 (M_STAT00 to M_STAT31)
Notes: 1. The register address is calculated according to the following formula:
effective address = P address offset
2. V850E/CA2 Jupiter has no CAN bridge implemented.
3. CAN module 3 and CAN module 4 are available in the derivatives µPD703129 (A) and
µPD703129 (A1) only.
Remark:
m = 00 to 31
7
6
5
4
3
2
1
0
Address
Offset
Note 1
Initial value
M_STATm
0
0
0
0
ERQ
DN
TRQ
RDY
815H
+ (m
×
20H)
undef.
Bit Position
Bit Name
Function
3
ERQ
Indicates a request for event processing by a CAN bridge
Note2
for this message.
0: No pending event processing.
1: Event processing is pending.
2
DN
Indicates new data received for this message.
0: No new message was received.
1: At least one new message was received.
Remarks: 1. If the DN flag is set for a transmit message buffer, it indicates a remote
frame reception. In case auto answering (RMDE0 bit of the M_CTRLm
register) is active, the DN flag is cleared automatically after the answer-
ing data frame is sent.
2. If the OVM bit of CxCTRL register is cleared (0), a message buffer
assigned to the CAN module might be overwritten by new messages,
although the DN flag is already set (x = 1 to 4
Note3
). Checking the
MOVR bit of the M_CTRLm register additionally, indicates whether the
message buffer has been overwritten.
3. After copying a received message from the message buffer to the
application memory, the DN flag has to be cleared (0) by software.
1
TRQ
Indicates a transmit request of this message.
0: No pending transmit request.
1: Transmit request is pending.
Remark:
If the TRQ flag is set for a receive message, a remote frame is sent. (refer
to Table 9-16)
0
RDY
Enables and indicates application processing of this message.
0: Message is processed by the application, and not ready to be handled by the
assigned CAN module.
1: Message is ready to be handled by the assigned CAN module.
Remark:
Transmit as well as receive messages are only handled by the assigned
CAN module if the RDY flag is set. (refer to Table 9-16)
Summary of Contents for mPD703128
Page 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Page 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Page 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Page 612: ......