[Canxmc](Mailbox Configuration Register); [Canxmd](Mailbox Direction Register) - Toshiba TXZ+ Series Reference Manual

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

Advertisement

[CANxMC](Mailbox Configuration Register)

Bit
Bit Symbol
After Reset
31:0
MC[31:0]
0
Note: the Following care is required during reprogramming of a [CANxMC] in operation.
Receive: For a receive mailbox it needs to be ensured that the mailbox is not being disabled while a
reception for this mailbox is ongoing. If a mailbox is disabled or reconfigured during an ongoing
reception, the current frame might be received.
Transmit: When the CAN controller is transmitting data ([CANxTRS]<TRSn>=1), Clear <MCn> to "0"
after the transmission is completed ([CANxTRS]<TRSn>=0).

[CANxMD](Mailbox Direction Register)

Bit
Bit Symbol
After Reset Type
31
MD31
1
30:0
MD[30:0]
0
Set the [CANxMD] register at the initial setup. The directions of mailboxes cannot be changed when the operation
is ongoing. To change [CANxMD] register settings, set the corresponding [CANxMC]<MCn> bit to "0" before
making changes.
Type
Access configuration to the mailbox (Each bit corresponds to mailboxes 31 to 0)
0: The corresponding mailbox MBn is disabled for the CAN controller.
1: The corresponding mailbox MBn is enabled for the CAN controller.
Write access from CPU
R/W
ID field
<MCn>=0
Enabled
<MCn>=1
Disabled
Mailbox direction: (for Mailbox 31)
R
Mailbox 31 is the receive-only mailbox. This is always set to "1" and cannot be changed.
Mailbox direction: Mailboxes 30 to 0 (Each bit corresponds to mailboxes 30 to 0.)
0: Set as a transmission mailbox.
R/W
1: Set as a receive mailbox.
Each mailbox can be set as a transmission or receive mailbox.
31 / 52
Function
Transmit mailbox
Data field
with <RFH>=1
Enabled
Enabled
Disabled
Enabled
Function
TXZ+ Family
CAN Controller
Control field
Enabled
Enabled
2020-10-01
Rev. 1.0

Advertisement

Table of Contents
loading

Table of Contents