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

12.1 Functions of Serial Array Unit<br />

12.1.1 3-wire serial I/O (CSI00, CSI01, CSI10)<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 />

12.1.2 Simplified I 2 C (IIC11)<br />

This is a clocked communication function to communicate with two or more devices by using two lines: serial clock<br />

(SCL) and serial data (SDA). This simplified I 2 C is designed for single communication with a device such as EEPROM,<br />

flash memory, or A/D converter, and therefore, it functions only as a master and does not have a function to detect wait<br />

states.<br />

Make sure by using software, as well as operating the control registers, that the AC specifications of the start and stop<br />

conditions are observed.<br />

[Data transmission/reception]<br />

Master transmission, master reception (only master function with a single master)<br />

ACK output function Note and ACK detection function<br />

Data length of 8 bits (When an address is transmitted, the address is specified by the higher 7 bits, and the least<br />

significant bit is used for R/W control.)<br />

<strong>Manual</strong> generation of start condition and stop condition<br />

[Interrupt function]<br />

Transfer end interrupt<br />

[Error detection flag]<br />

Overrun error<br />

Parity error (ACK error)<br />

* [Functions not supported by simplified I 2 C]<br />

Slave transmission, slave reception<br />

Arbitration loss detection function<br />

Wait detection functions<br />

Note An ACK is not output when the last data is being received by writing 0 to the SOEmn (SOEm register) bit<br />

and stopping the output of serial communication data. See 12.8.3 (2) Processing flow for details.<br />

R01UH0317EJ0004 Rev. 0.04 558<br />

Feb. 22, 2013

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

Saved successfully!

Ooh no, something went wrong!