|
UPD78F1502AGK-GAK-AX Datasheet, PDF (568/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers | |||
|
◁ |
78K0R/Lx3
CHAPTER 14 SERIAL ARRAY UNIT
14.7 Operation of Simplified I2C (IIC10, IIC20) Communication
This is a clocked communication function to communicate with two or more devices by using two lines: serial clock
(SCL) and serial data (SDA). This communication function is designed to execute single communication with devices such
as EEPROM, flash memory, and A/D converter, and therefore, can be used only by the master and does not have a wait
detection function. Make sure by using software, as well as operating the control registers, that the AC specifications of
the start and stop conditions are observed.
[Data transmission/reception]
⢠Master transmission, master reception (only master function with a single master)
⢠ACK output functionNote and ACK detection function
⢠Data length of 8 bits
(When an address is transmitted, the address is specified by the higher 7 bits, and the least significant bit is
used for R/W control.)
⢠Manual generation of start condition and stop condition
[Interrupt function]
⢠Transfer end interrupt
[Error detection flag]
⢠Parity error (ACK error)
* [Functions not supported by simplified I2C]
⢠Slave transmission, slave reception
⢠Arbitration loss detection function
⢠Wait detection function
Note An ACK is not output when the last data is being received by writing 0 to the SOEmn (SOEm register) bit and
stopping the output of serial communication data. See 14.7.3 (2) Processing flow for details.
Remarks 1. To use the full-function I2C bus, see CHAPTER 15 SERIAL INTERFACE IICA.
2. m: Unit number (m = 0, 1), n: Channel number (n = 0, 2)
The channels supporting simplified I2C (IIC10, IIC20) are channel 2 of SAU0 and channel 0 of SAU1.
Unit
0
1
Channel
0
1
2
3
0
1
2
3
Used as CSI
CSI00
CSI01
CSI10
â
CSI20
â
â
â
Used as UART
UART0
UART1
UART2
UART3 (supporting LIN-bus)
Used as Simplified I2C
â
â
IIC10
â
IIC20
â
â
â
R01UH0004EJ0501 Rev.5.01
552
Jun 20, 2011
|
▷ |