I2C module STMPE801
12/26
5.7 Operation modes
Figure 5. Read and write modes (random and sequential)
Table 8. Operation modes
Mode Bytes Programming Sequence
Read ≥1
START, Device Address, R/W
= 0, Register Address to be read
RESTART, Device Address, R/W
= 1, Data Read, STOP
If no STOP is issued, the Data Read can be continuously preformed. If
the register address falls within the range that allows address auto-
increment, then register address auto-increments internally after every
byte of data being read. For register address that falls within a non-
incremental address range, the address will be kept static throughout the
entire read operations. Refer to the Memory Map table for the address
ranges that are auto and non-increment.
Write ≥1
START, Device Address, R/W
= 0, Register Address to be written, Data
Write, STOP
If no STOP is issued, the Data Write can be continuously performed. If
the register address falls within the range that allows address auto-
increment, then register address auto-increments internally after every
byte of data being written in. For register address that falls within a non-
incremental address range, the address will be kept static throughout the
entire write operations. Refer to the Memory Map table for the address
ranges that are auto and non-increment.
One Byte
Re ad
Start
RnW=0
Ack
Ack
reStart
RnW=1
Ack
NoAck
Stop
More than
One Byte
Re ad
Start
RnW=0
Ack
Ack
reStart
RnW=1
Ack
Ack
Ack
NoAck
Stop
One Byte
Write
Start
RnW=0
Ack
Ack
Ack
Stop
ore
an
One Byte
Write
Start
RnW=0
Ack
Ack
Ack
Ack
Ack
Stop
Master
Slave
Data to
Write + 1
Data to
Write + 2
Dev
Addr
Reg
Addr
Data to
Write
Data
Read + 1
Data
Read + 2
Dev
Addr
Reg
Addr
Data to
be
Written
Dev
Addr
Reg
Addr
Dev
Addr
Data
Read
Dev
Addr
Reg
Addr
Dev
Addr
Data
Read