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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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.7 Baud rate control function<br />

(1) Prescaler<br />

The CAN controller has a prescaler that divides the clock (fCAN) supplied to CAN. This prescaler generates a CAN<br />

protocol layer basic clock (fTQ) derived from the CAN module system clock (fCANMOD), and divided by 1 to 256<br />

(refer to 14.6 (12) CAN Bit Rate Prescaler Register (C0BRP, C1BRP)).<br />

(2) Data bit time (8-25 time quanta)<br />

One data bit time is defined as shown in Figure 14-18.<br />

The CAN controller sets time segment 1, time segment 2, and reSynchronization Jump Width (SJW) as the<br />

parameter of data bit time, as shown in Figure 14-18. Time segment 1 is equivalent to the total of the propagation<br />

(prop) segment and phase segment 1 that are defined by the CAN protocol specification. Time segment 2 is<br />

equivalent to phase segment 2.<br />

Figure 14-18. Segment Setting<br />

Data bit time(DBT)<br />

Sync segment Prop segment Phase segment 1 Phase segment 2<br />

Time segment 1(TSEG1) Time segment 2<br />

(TSEG2)<br />

Sample point (SPT)<br />

Segment Name Settable Range Notes on Setting to Confirm to CAN Specification<br />

Time Segment 1 (TSEG1) 2TQ-16TQ —<br />

Time Segment 2 (TSEG2) 1TQ-8TQ IPT of the CAN controller is 0TQ. To conform to the CAN<br />

protocol specification, therefore, a length less or equal to<br />

phase segment 1 must be set here. This means that the<br />

length of time segment 1 minus 1TQ is the settable upper<br />

limit of time segment 2.<br />

Resynchronization jump<br />

width(SJW)<br />

Remark IPT : Information Processing Time<br />

TQ : Time Quanta<br />

1TQ-4TQ The length of time segment 1 minus 1TQ or 4 TQ,<br />

whichever is smaller.<br />

R01UH0317EJ0004 Rev. 0.04 804<br />

Feb. 22, 2013

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

Saved successfully!

Ooh no, something went wrong!