BAT32G1x9 user manual | Chapter 19 Universal serial communication unit
713 / 1149
Rev.1.02
19.9.1
The address segment is sent
The address segment transmission is the first transmission operation when communicating in I
2C
for the
purpose of specifically specifying the transmitting object (the slave). After the start condition is generated, the
address (7 bits) and the transmission direction (1 bit) are sent as 1 frame.
Simple I2C
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,
SDA00note
1
SCL01,
SDA01note
1
SCL10,
SDA10note
1
SCL11,
SDA11note
1
SCL20,
SDA20note
1
SCL21,
SDA21note
1
SCL30,
SDA30note
1
SCL31,
SDA31note
1
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 Detection Flag (PEFmn).
The length of the
transferred data
8 bits (send the high 7 bits as the address and the lower 1 bit as the R/W control).
Transfer rate note 2
Max.fMCK/4[Hz] (SDRmn[15:9] ≥1)fMCK: Object Channel's operating clock frequency However, it
must be at I2 The following conditions are met in each pattern of C:
• 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
I2
C, the N-channel open-drain
output mode (
POMxx
=1
)
must be set via the port
output
mode
register
(POMxx). ). For details, please refer to
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