BAT32G1x9 user manual | Chapter 19 Universal serial communication unit
718 / 1149
Rev.1.02
19.9.2
Data sending
Data sending is the operation of sending data to the transmitting object (slave) after sending an address
segment. A stop condition is generated and the bus is released after all data is sent to the object slave.
Simple I
2
C
IIC00
IIC01
IIC10
IIC11
IIC20
IIC21
IIC30
IIC31
Object channels
SCI0
Channel 0
SCI0
Channel 1
SCI0
Channel 2
SCI0
Channel 3
SCI1
Channel 0
SCI1
Channel 1
SCI2
Channel 0
SCI2
Channel 1
The pins used
SCL00,
SDA00
note1
SCL01,
SDA01
note1
SCL10,
SDA10
note1
SCL11,
SDA11
note1
SCL20,
SDA20
note1
SCL21,
SDA21
note1
SCL30,
SDA30
note1
SCL31,
SDA31
note1
interrupt
INTIIC00
INTIIC01
INTIIC10
INTIIC11
INTIIC20
INTIIC21
INTIIC30
INTIIC31
Limited to end-of-transmit interrupts (buffer null interrupts cannot be selected).
Error detection
flags
ACK Error Flag (PEFmn).
The length of the
transferred data
8 bits
Transfer rate
note2
Max.fMCK/4[Hz] (SDRmn[15:9] ≥1) fMCK: The operating clock frequency of the object channel
However, the following conditions must be met in each mode of I2C:
• Max.1MHz (Enhanced Quick Mode).
• Max.400kHz (fast mode).
• Max.100kHz (standard mode).
Data level
Normal-phase output (default: high).
Parity bits
There are no parity bits.
Stop bit
Additional 1 bit (for ACK reception).
Data direction
MSB takes precedence
Note 1
To communicate via Simple
I2C
, the
N-channel open-drain
output mode (POMxx=1) must be set via the port output
mode register (POMxx).). For details, please refer to "Registers for 2.3 Control Port Function" and "Register Settings for 2.5
Using the Multiplexing Function".
2. Must be used within the scope of peripheral functional characteristics (refer to data sheet) that meet this condition
and meet the electrical characteristics.
Note m: Unit number (m=0~2)n: Channel number (n=0~3)mn=00~
03, 10
~
11, 20
~
21