Fujitsu FR81S User Manual
CHAPTER 41: CAN
5. Operation
FUJITSU SEMICONDUCTOR LIMITED
CHAPTER
: CAN
FUJITSU SEMICONDUCTOR CONFIDENTIAL
66
5.2.3. Transmission Message Object Setting
Transmission message object setting is shown.
The initialization method for the transmission object is shown below:
Table 5-1 Transmission Message Object Initialization
MsgVal Arb Data Mask EoB
Dir
NewDat MsgLst
RxIE TxIE IntPnd
RmtEn TxRqst
1
appl. appl. appl.
1
1
0
0
0
appl.
0
appl.
0
The IFx arbitration register (ID28 to ID0 and Xtd bit) is provided by the application, and it defines the ID
and type of the transmission message.
ID28 to ID18 will be used and ID17 to ID0 will be disabled if standard frame (11-bit ID) has been set. ID28
to ID0 will be used if extended frame (29-bit ID) has been set.
If the TxIE bit is set to "1", the IntPnd bit will be set to "1" after the transmission of the message object has
ended successfully.
If the RmtEn bit is set to "1", the TxRqst bit will be set to "1" and the data frame will be transmitted
automatically after receiving the matching remote frame.
Settings for the data registers (DLC3 to 0, Data0 to 7) are provided by the application.
When UMask=1, the IFx mask register (Msk28 to 0, UMask, MXtd and MDir bits) will receive the remote
frame having the ID that has been grouped by the mask setting, and then will be used to allow the
transmission (sets the TxRqst bit to "1"). See the heading "Remote frame" in "5.3 Message Reception
Operation" for details.
Note:
Mask is not allowed for the Dir bit of the IFx mask register.
MB91520 Series
MN705-00010-1v0-E
1759