I 2 C Bus Interface - Renesas R8C Series User Manual

16-bit single-chip microcomputer
Hide thumbs Also See for R8C Series:
Table of Contents

Advertisement

R8C/1A Group, R8C/1B Group
2
16.3
I
C bus Interface
2
The I
C bus interface is the circuit that performs serial communication based on the data transfer format of the
2
Philips I
C bus.
Table 16.5 lists the I
Figure 16.23 shows the External Circuit Connection Example of Pins SCL and SDA. Figures 16.24 to 16.31 show
the registers associated with the I
2
* I
C bus is a trademark of Koninklijke Philips Electronics N. V.
2
Table 16.5
I
C bus interface Specifications
Item
Communication formats • I
I/O pins
Transfer clock
Receive error detection • Overrun error detection (clock synchronous serial format)
Interrupt sources
Select functions
NOTE:
1. All sources use one interrupt vector for I
Rev.1.30
Dec 08, 2006
REJ09B0252-0130
2
C bus interface Specifications, Figure 16.22 shows a Block Diagram of I
2
C bus interface.
2
C bus format
- Selectable as master/slave device
- Continuous transmit/receive operation (Because the shift register, transmit
data register, and receive data register are independent.)
- Start/stop conditions are automatically generated in master mode.
- Automatic loading of acknowledge bit during transmission
- Bit synchronization/wait function (In master mode, the state of the SCL
signal is monitored per bit and the timing is synchronized automatically. If
the transfer is not possible yet, the SCL signal goes "L" and the interface
stands by.)
- Support for direct drive of pins SCL and SDA (NMOS open drain output)
• Clock synchronous serial format
- Continuous transmit/receive operation (Because the shift register, transmit
data register, and receive data register are independent.)
SCL (I/O): Serial clock I/O pin
SDA (I/O): Serial data I/O pin
• When the MST bit in the ICCR1 register is set to 0.
The external clock (input from the SCL pin)
• When the MST bit in the ICCR1 register is set to 1.
The internal clock selected by bits CKS0 to CKS3 in the ICCR1 register
(output from the SCL pin)
Indicates an overrun error during reception. When the last bit of the next data
item is received while the RDRF bit in the ICSR register is set to 1 (data in the
ICDRR register), the AL bit is set to 1.
2
• I
C bus format .................................. 6 sources
Transmit data empty (including when slave address matches), transmit ends,
receive data full (including when slave address matches), arbitration lost,
NACK detection, and stop condition detection.
• Clock synchronous serial format ...... 4 sources
Transmit data empty, transmit ends, receive data full and overrun error
2
• I
C bus format
- Selectable output level for acknowledge signal during reception
• Clock synchronous serial format
- MSB-first or LSB-first selectable as data transfer direction
Page 199 of 315
16. Clock Synchronous Serial Interface
Specification
2
C bus interface.
2
C bus interface, and
(1)
(1)

Advertisement

Table of Contents
loading

Table of Contents