Fujitsu FR60 Computer Hardware User Manual


  Open as PDF
of 1038
 
725
Chapter 34 CAN Controller
4.CAN Application
Figure 4-1 Data Transfer between IFx Registers and Message RAM
After the partial write of a Message Object, that Message Buffer Registers that are not selected in the
Command Mask Register will set to the actual contents of the selected Message Object.
After the partial read of a Message Object, that Message Buffer Registers that are not selected in the
Command Mask Register will be left unchanged.
4.4 Transmission of Messages
If the shift register of the CAN Core cell is ready for loading and if there is no data transfer between the IFx
Registers and Message RAM, the MsgVal bits in the Message Valid Register and the TxRqst bits in the
Transmission Request Register are evaluated. The valid Message Object with the highest priority pending
transmission request is loaded into the shift register by the Message Handler and the transmission is started.
The Message Object’s NewDat bit is reset.
After a successful transmission and if no new data was written to the Message Object (NewDat = ‘0’) since the
start of the transmission, the TxRqst bit will be reset. If TxIE is set, IntPnd will be set after a successful
transmission. If the CAN has lost the arbitration or if an error occurred during the transmission, the message
will be retransmitted as soon as the CAN bus is free again. If meanwhile the transmission of a message with
higher priority has been requested, the messages will be transmitted in the order of their priority.