04.03.2013 Views

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Under development<br />

Preliminary document<br />

Specifications in this document are tentative and subject to change.<br />

<strong>RL78</strong>/<strong>D1A</strong> CHAPTER 14 CAN CONTROLLER<br />

Figure 14-74. Transmission Abort Processing Except for ABT Transmission<br />

(Normal Operation Mode with ABT)<br />

START<br />

Clear ABTTRG bit<br />

ABTTRG = 0?<br />

Clear TRQ bit<br />

Wait for 11 CAN data bits<br />

TSTAT = 0?<br />

Read C0LOPT register<br />

END<br />

Yes<br />

Yes<br />

Message buffer to<br />

be aborted matches C0LOPT<br />

register?<br />

Yes<br />

Transmission successful<br />

Note<br />

No<br />

No<br />

No<br />

Transmit abort request<br />

was successful<br />

Note There is a possibility of starting the transmission without being aborted even if TRQ bit is cleared,<br />

because the transmission request to protocol layer might already been accepted between 11 bits,<br />

total of interframe space (3 bits) and suspend transmission (8 bits).<br />

Cautions 1. Execute transmission request abort processing by clearing the TRQ bit, not the RDY<br />

bit.<br />

2. Before making a sleep mode transition request, confirm that there is no transmission<br />

request left using this processing.<br />

3. The TSTAT bit can be periodically checked by a user application or can be checked<br />

after the transmit completion interrupt.<br />

4. Do not execute the new transmission request including in the other message buffers<br />

while transmission abort processing is in progress.<br />

5 There is a possibility that contradiction is caused in the judgment whether the<br />

transmission abort request was successful when the transmission from the same<br />

message buffer is consecutive or only one message buffer is used. In that case,<br />

judge it by using the history information etc. that the C0TGPT register indicates.<br />

R01UH0317EJ0004 Rev. 0.04 930<br />

Feb. 22, 2013

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!