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 12 SERIAL ARRAY UNIT<br />

12.5 Operation of 3-Wire Serial I/O (CSI00, CSI01, CSI10) Communication<br />

This is a clocked communication function that uses three lines: serial clock (SCK) and serial data (SI and SO) lines.<br />

[Data transmission/reception]<br />

Data length of 7 to 16 bits<br />

Phase control of transmit/receive data<br />

MSB/LSB first selectable<br />

Level setting of transmit/receive data<br />

[Clock control]<br />

Master/slave selection<br />

Phase control of I/O clock<br />

Setting of transfer period by prescaler and internal counter of each channel<br />

[Interrupt function]<br />

Transfer end interrupt/buffer empty interrupt<br />

[Error detection flag]<br />

Overrun error<br />

The channels supporting 3-wire serial I/O (CSI00, CSI01, CSI10) are channels 0 and 1 of SAU0 and channels 0 and 1<br />

of SAU1.<br />

Unit Channel Used as CSI Used as Simplified I 2 C<br />

0<br />

1<br />

0 CSI00 <br />

1 CSI01 <br />

0 CSI10 <br />

1 IIC11<br />

3-wire serial I/O (CSI00, CSI01, CIS10) performs the following six types of communication operations.<br />

Master transmission (See 12.5.1.)<br />

Master reception (See 12.5.2.)<br />

Master transmission/reception (See 12.5.3.)<br />

Slave transmission (See 12.5.4.)<br />

Slave reception (See 12.5.5.)<br />

Slave transmission/reception (See 12.5.6.)<br />

R01UH0317EJ0004 Rev. 0.04 590<br />

Feb. 22, 2013

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

Saved successfully!

Ooh no, something went wrong!