16.9.8 Received-Message-Lost Register (CANRML)
An RML[
n
] bit is set if an old message has been overwritten by a new one in mailbox
n
. These bits can only
be reset by the CPU, and set by the internal logic. The bits can be cleared by a write access to the CANRMP
register with a 1 at the corresponding bit location. If the CPU tries to reset a bit and the CAN tries to set the bit at
the same time, the bit is set. The CANRML register is not changed if the OPC[
n
] (OPC.31-0) bit is set.
If one or more of the bits in the CANRML register are set, the RMLIF (GIF0.11/ GIF1.11) bit is also set. This can
initiate an interrupt if the RMLIM (GIM.11) bit is set.
Figure 16-16. Received-Message-Lost Register (CANRML)
31
0
RML[31:0]
R-0
LEGEND: R = Read; -
n
= value after reset
Table 16-15. Received-Message-Lost Register (CANRML) Field Descriptions
Bit
Field
Value
Description
31:0
RML[31:0]
Received-message-lost bits
1
An old unread message has been overwritten by a new one in that mailbox.
0
No message was lost.
Note: The RML
n
bit is cleared by clearing the set RMP
n
bit.
16.9.9 Remote-Frame-Pending Register (CANRFP)
Whenever a remote frame request is received by the CAN module, the corresponding bit RFP[
n
] in the remote
frame pending register is set. If a remote frame is stored in a receive mailbox (AAM=0, CANMD=1), the RFP
n
bit
will not be set.
To prevent an auto-answer mailbox from replying to a remote frame request, the CPU has to clear the RFP[
n
]
flag and the TRS[
n
] bit by setting the corresponding transmission request reset bit TRR[
n
]. The AAM bit can also
be cleared by the CPU to stop the module from sending the message.
If the CPU tries to reset a bit and the CAN module tries to set the bit at the same time, the bit is not set. The
CPU cannot interrupt an ongoing transfer.
Figure 16-17. Remote-Frame-Pending Register (CANRFP)
31
0
RFP.31:0
RC-0
LEGEND: RC = Read/Clear; -
n
= value after reset
Controller Area Network (CAN)
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
TMS320x2806x Microcontrollers
1029
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......