Details Of Registers; [Canxmbnid](Message Id Field Register) - Toshiba TXZ+ Series Reference Manual

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

Advertisement

4.2. Details of Registers

[CANxMBnID](Message ID Field Register)

Bit
Bit Symbol
After Reset Type
31
IDE
30
GAME_LAME
29
RFH
28:0
ID[28:0]
Register the mailbox IDs at the time of initial setup. To change the message ID field in the mailbox after the
mailbox is enabled, clear the [CANxMC]<MCn> bit corresponding to the mailbox to "0", and then disable the
mailbox for the CAN controller before writing a new ID.
ID Extension bit
0: Standard format (11-bit ID) from <ID28> to <ID18> used
1: Extended format (29-bit ID) from <ID28> to <ID0> used
-
R/W
Sets the mailbox by selecting whether to receive or transmit the extended format (<IDE>=1) or
the standard format (<IDE>=0).
Global (GAME) / Local (LAME) acceptance mask enable bit
0: Receive mask is not used for receive filtering.
1: Receive mask is used for receive filtering.
<GAME> is the enable bit for the global acceptance mask GAM shared in mailboxes 0 to 30, and
<LAME> is the enable bit for the local acceptance mask LAM used only for mailbox 31.
-
R/W
When <GAME_LAME>=0, the received message are stored in the mailbox only when the
receive message ID is the same as the mailbox ID.
For transmission mailboxes, the acceptance mask function is not applied. In such case, always
set <GAME> to "0".
Remote frame handling bit (only for transmission mailboxes)
0: Transmit mailboxes do not respond to remote frames. Software must handle remote frames
1: Transmit mailboxes respond to remote frames. (The <TRS> bit is set.)
<RFH> determines whether a mailbox configured as a transmission mailbox will automatically
respond to remote frame reception.
-
R/W
When the ID of the received remote frame matches the ID of the transmission mailbox where
<RFH>=1 and <GAME_LAME>=1, this mailbox ID is overwritten with the remote ID, and the
mailbox automatically responds the remote frame using the overwritten ID.
Handled as data frames in the case of receive mailboxes. (The <RMP> bit and the <RFP> bit are
set.)
Message ID
Standard format (11-bit ID): From <ID28> to <ID18> are used.
Extended format (29-bit ID): From <ID28> to <ID0> are used.
-
R/W
For the priority of message IDs, the message ID having most "0"s consecutively starting from the
ID's highest bit (<ID28> bit) has the higher priority.
Function
28 / 52
TXZ+ Family
CAN Controller
2020-10-01
Rev. 1.0

Advertisement

Table of Contents
loading

Table of Contents