I2C Communication Write Operation; I2C Read Operation - Holtek HT16C22 Applications Manual

Electric meter applications
Table of Contents

Advertisement

Electric Meter Applications Using the HT16C22
2
I
C Communication Write Operation
A byte write operation requires a Start signal, a read/write flag (0: write, 1: read), one
valid slave address, data and a stop signal. After each step, the device responds with
an ACK as shown in figure 5.
Page Write Operation: successive data write operation. The address pointer will be
incremented by 1 automatically for a write operation to the next address. When the
internal address pointer reaches the maximum memory address, which is 21H, the
address pointer will be reset to 00H as shown in figure 6 below.
Figure 6 Page Write Operation
2
I
C Read Operation
The read operation is shown in figure 7 below. The address pointer will be incremented
by 1 for a read operation to the next address. When the internal address pointer
reaches the maximum memory address, which is 21H, the pointer will be reset to 00H.
The consecutive address reading cycle will continue until the master sends a Stop
signal.
Figure 5 Byte Write Operation
Figure 7 Read Operation
5

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HT16C22 and is the answer not in the manual?

Table of Contents