BAT32G1x9 user manual | Chapter 19 Universal serial communication unit
565 / 1149
Rev.1.02
19.1.3
Simple I
2
C (IIC00, IIC01, IIC10, IIC11, IIC20, IIC21, IIC30, IIC31)
This is the function of clock synchronization communication with multiple devices through two lines of
serial clock (SCL) and serial data (SDA). Because this simple I
2
C is designed for single communication with
devices such as EEPROM, flash memory, A/D converters, etc., it is only used as a master device.
For start and stop conditions, AC specifications must be adhered to and processed by software while
operating the control registers. For specific setup examples, refer to "19.9Simple I2C (IIC00, IIC01, IIC10,
IIC11, IIC20, Operation of IIC21, IIC30, IIC31) communication communications.
[Sending and receiving data].
• Master send, master receive (limited to single master function).
• ACK output function
note
, ACK detection function
• 8 bits data length (when sending an address, specify the address with a high 7 bits, and R/W control
with the lowest bit).
• Manual generation of start conditions and stop conditions
[Interrupt function].
• End of transfer interrupted
[Error Detection Flag].
• ACK error, overflow error
※
[Function not supported by Simple
I2
C].
• Slave sending, Slave receiving
• Quorum failure detection feature
• Wait for detection feature
Note When receiving the last data, if you write "0"
to the
SOEmn
bit (serial output allow register
m(SOEm))
to stop the
output of the serial communication data, the ACK is not output. For details, please refer to
"19.9.3(2) Process".
Note When using the fully functional
I2
C-bus, please refer to
"Chapter
20 Serial Interface
IICA".