Renesas SH7262 R5S72620 Doll User Manual


  Open as PDF
of 2152
 
Section 20 Controller Area Network
Page 1028 of 2108 R01UH0134EJ0400 Rev. 4.00
Sep 24, 2014
SH7262 Group, SH7264 Group
In Event Triggered Mode this module will clear a transmit pending flag after successful
transmission of its corresponding message or when a transmission abort is requested successfully
from the TXCR. In Time Trigger Mode, TXPR for the Mailboxes from 30 to 24 is NOT cleared
after a successful transmission, in order to keep transmitting at each programmed basic cycle. The
TXPR flag is not cleared if the message is not transmitted due to the CAN node losing the
arbitration process or due to errors on the CAN bus, and this module automatically tries to
transmit it again unless its DART bit (Disable Automatic Re-Transmission) is set in the Message-
Control of the corresponding Mailbox. In such case (DART set), the transmission is cleared and
notified through Mailbox Empty Interrupt Flag (IRR8) and the correspondent bit within the Abort
Acknowledgement Register (ABACK).
If the status of the TXPR changes, this module shall ensure that in the identifier priority scheme
(MCR2 = 0), the highest priority message is always presented for transmission in an intelligent
way even under circumstances such as bus arbitration losses or errors on the CAN bus. Please
refer to the Application Note for details.
When this module changes the state of any TXPR bit position to a '0', an empty slot interrupt
(IRR8) may be generated. This indicates that either a successful or an aborted mailbox
transmission has just been made. If a message transmission is successful it is signalled in the
TXACK register, and if a message transmission abortion is successful it is signalled in the
ABACK register. By checking these registers, the contents of the Message of the corresponding
Mailbox may be modified to prepare for the next transmission.
TXPR1
1514131211109876543210Bit:
Initial value:
R/W:
0000000000000000
R/W* R/W* R/W* R/W* R/W* R/W* R/W* R/W* R/W* R/W* R/W* R/W* R/W* R/W* R/W* R/W*
TXPR1[15:0]
Note: * It is possible only to write a '1' for a Mailbox configured as transmitter.
Bit 15 to 0 — Requests the corresponding Mailbox to transmit a CAN Frame. The bit 15 to 0
corresponds to Mailbox-31 to 16 respectively. When multiple bits are set, the order of the
transmissions is governed by the MCR2 – CAN-ID or Mailbox number.