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 />

14.3 Functions<br />

14.3.1 Determining bus priority<br />

(1) When a node starts transmission:<br />

- During bus idle, the node that output data first transmits the data.<br />

(2) When more than one node starts transmission:<br />

- The node that outputs the dominant level for the longest consecutively from the first bit of the arbitration field<br />

acquires the bus priority (if a dominant level and a recessive level are simultaneously transmitted, the dominant<br />

level is taken as the bus value).<br />

- The transmitting node compares its output arbitration field and the data level on the bus.<br />

Level match Continuous transmission<br />

Table 14-9. Determining Bus Priority<br />

Level mismatch Stops transmission at the bit where mismatch is detected and starts reception at the following bit<br />

(3) Priority of data frame and remote frame<br />

- When a data frame and a remote frame are on the bus, the data frame has priority because its RTR bit, the last<br />

bit in the arbitration field, carries a dominant level.<br />

Caution If the extended-format data frame and the standard-format remote frame conflict on the bus (if ID28<br />

to ID18 of both of them are the same), the standard-format remote frames takes priority.<br />

14.3.2 Bit stuffing<br />

Bit stuffing is used to establish synchronization by appending 1-bit inverted data if the same level continues for 5 bits, in<br />

order to prevent a burst error.<br />

Table 14-10. Bit Stuffing<br />

Transmission During the transmission of a data frame or remote frame, when the same level continues for 5 bits in the data<br />

between the start of frame and the ACK field, 1 inverted-level bit of data is inserted before the following bit.<br />

Reception During the reception of a data frame or remote frame, when the same level continues for 5 bits in the data<br />

between the start of frame and the ACK field, reception is continued after deleting the next bit.<br />

14.3.3 Multi masters<br />

As the bus priority (a node acquiring transmit functions) is determined by the identifier, any node can be the bus master.<br />

14.3.4 Multi cast<br />

Although there is one transmitting node, two or more nodes can receive the same data at the same time because the<br />

same identifier can be set to two or more nodes.<br />

14.3.5 CAN sleep mode/CAN stop mode function<br />

The CAN sleep mode/CAN stop mode function puts the CAN controller in waiting mode to achieve low power<br />

consumption.<br />

The controller is woken up from the CAN sleep mode by bus operation but it is not woken up from the CAN stop mode<br />

by bus operation (the CAN stop mode is controlled by CPU access).<br />

R01UH0317EJ0004 Rev. 0.04 797<br />

Feb. 22, 2013

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

Saved successfully!

Ooh no, something went wrong!