[Canxrml](Receive Message Lost Register); Table 4.1 Change Of [Canxrmp] And [Canxrml] Registers Before/ After A Message Is Received - Toshiba TXZ+ Series Reference Manual

Hide thumbs Also See for TXZ+ Series:
Table of Contents

Advertisement

[CANxRML](Receive Message Lost Register)

Bit
Bit Symbol
After Reset
31:0
RML[31:0]
0
The [CANxRML]<RMLn> bit is set by the internal logic and can be cleared with a write of "1" to the
[CANxRMP]<RMPn> bit from the CPU. The <RMPn> bit is also cleared at the same time. A write of "1" or "0"
to the <RMLn> bit from the CPU is invalid.
With the [CANxRMP]<RMPn> bit set to "1", if mailbox n receives the next message, the corresponding <RMLn>
bit in the receive message lost register [CANxRML] is set to "1". In this case, mailbox n is overwritten with the
new received message.
When the <TRMABF> bit in the global interrupt flag register [CANxGIF] is also set to "1", and the transmission
abort interrupt is enabled by setting the <TRMABM> bit in the global interrupt mask register [CANxGIM] to "1",
the CAN global interrupt INTCANxGLB occurs.
When the receive message lost interrupt is enabled by setting the <RMLIM> bit in the global interrupt mask
register [CANxGIM] to "1", the CAN global interrupt INTCANxGLB occurs.
Table 4.1 shows the changes of the [CANxRMP] and [CANxRML] registers before and after a message is
received.

Table 4.1 Change of [CANxRMP] and [CANxRML] Registers before/ after a Message is received

Before Reception
ID
<RMPn> <RMLn> <RMPn> <RMLn>
No
Don't
match
care
0
Match
1
1
Type
Receive message lost (Each bit corresponds to mailboxes 31 to 0.)
When mailbox n for which the <RMPn> bit is set to "1" receives the next message, the content of
R/W
the received message is overwritten to the mailbox n, and the <RMLn> bit is set to "1".
A write of "1" to the <RMPn> bit can clear the <RMLn> bit.
After Reception
Don't
Don't
Don't
care
care
care
0
1
0
0
1
1
1
1
1
Function
Operation
The received message is not stored in any mailboxes.
The received message is stored in mailbox n with a matching ID.
The received message is overwritten in mailbox n with a matching ID.
This shows that the previous message was lost.
36 / 52
TXZ+ Family
CAN Controller
2020-10-01
Rev. 1.0

Advertisement

Table of Contents
loading

Table of Contents