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

(13) CAN module bit rate prescaler register (C0BRP, C1BRP)<br />

The C0BRP, C1BRP register is used to select the CAN protocol layer basic clock (fTQ). The communication baud<br />

rate is set to the C0BTR, C1BTR register.<br />

Figure 14-37. Format of CAN Module Bit Rate Prescaler Register (C0BRP, C1BRP)<br />

Address: F05EAH (C0BRP), F039AH (C1BRP) After reset: FFH R/W<br />

C0BRP,<br />

C1BRP<br />

7 6 5 4 3 2 1 0<br />

TQPRS7 TQPRS6 TQPRS5 TQPRS4 TQPRS3 TQPRS2 TQPRS1 TQPRS0<br />

TQPRS7-TQPRS0 CAN Protocol Layer Basic System Clock (fTQ)<br />

0 fCANMOD/1<br />

1 fCANMOD/2<br />

: :<br />

n fCANMOD/(n+1)<br />

: :<br />

255 fCANMOD/256 (default value)<br />

Prescaler<br />

0<br />

Figure 14-38. CAN Global Clock<br />

CAN global module clock select register<br />

(C0GMCS, C0GMCS)<br />

Baud rate generator<br />

CCP3 CCP2 CCP1 CCP0<br />

fCAN fCANMOD fTQ<br />

0<br />

0<br />

0<br />

CAN bit-rate register<br />

(C0BTR, C1BTR)<br />

TQPRS7 TQPRS6 TQPRS5 TQPRS4 TQPRS3 TQPRS2 TQPRS1<br />

CAN module bit-rate prescaler register<br />

(C0BRP, C1BRP)<br />

Caution The CPBRP register can be write-accessed only in the initialization mode.<br />

Remark fCAN: Clock supplied to CAN (fMAIN)<br />

fCANMOD: CAN module system clock<br />

fTQ: CAN protocol layer basic system clock<br />

TQPRS0<br />

R01UH0317EJ0004 Rev. 0.04 862<br />

Feb. 22, 2013

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

Saved successfully!

Ooh no, something went wrong!