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

Caution The time stamp function using TSLOCK bit is to stop toggle of TSOUT bit by receiving a data frame<br />

in message buffer 0. Therefore, message buffer 0 must be set as a receive message buffer. Since<br />

a receive message buffer cannot receive a remote frame, toggle of TSOUT bit cannot be stopped by<br />

reception of a remote frame. Toggle of TSOUT bit does not stop when a data frame is received in a<br />

message buffer other than message buffer 0.<br />

For these reasons, a data frame cannot be received in message buffer 0 when the CAN module is in<br />

the normal operation mode with ABT, because message buffer 0 must be set as a transmit<br />

message buffer. In this operation mode, therefore, the function to stop toggle of TSOUT bit by<br />

TSLOCK bit cannot be used.<br />

By switching the input source (by using TMCAN0), the capture trigger signal (TSOUT of CAN Controller channel 0) can<br />

be input to channel 4 of timer array unit 1 without connecting TSOUT of CAN controller channel 0 and TI14 externally. By<br />

switching the input source (by using TMCAN1), the capture trigger signal (TSOUT of CAN Controller channel 1) can be<br />

input to channel 5 of timer array unit 1 without connecting TSOUT of CAN Controller channel 1 and TI15 externally.<br />

CAN Controller channel 0<br />

P14/TI14<br />

P04/TI14<br />

P54/TI14<br />

CAN Controller channel 1<br />

P15/TI15<br />

P05/TI15<br />

P55/TI15<br />

P86/TI15<br />

TSOUT<br />

Selector<br />

<br />

TSOUT<br />

Selector<br />

<br />

Figure 14-62. Switching source of input<br />

Selector<br />

TMCAN0<br />

Selector<br />

TMCAN1<br />

TI14 input<br />

<br />

1: TSOUT of CAN Controller channel 0 selected<br />

0: TI14(P14 or P04 or P54) selected<br />

TI15 input<br />

<br />

1: TSOUT of CAN controller channel 1 selected<br />

0: TI15(P15 or P05 or P55 or P86) selected<br />

Remarks 1. TMCAN0, TMCAN1: Bit 0, 1 of the serial communication pin selection register (STSEL1) (see Figure<br />

14-51).<br />

TIS140, TIS141: Bit 0, 1 of timer input selection register 11 (TIS11) (see CHAPTER 6 TIMER ARRAY<br />

UNIT).<br />

TIS150, TIS151: Bit 2, 3 of timer input selection register 11 (TIS11) (see CHAPTER 6 TIMER ARRAY<br />

UNIT).<br />

2. The available pins differ depending on the product. For details, see 1.4 Pin Configuration (Top View)<br />

and 2.1 Pin Function List.<br />

R01UH0317EJ0004 Rev. 0.04 910<br />

Feb. 22, 2013

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

Saved successfully!

Ooh no, something went wrong!