12
201-0000-032 Rev 3.0, 6/2/99
CHRONTEL
CH5001A
Write: After writing data into a register, the address register will automatically be incremented
by one.
Read: Before loading data from a register to the on-chip temporary register (getting ready to
be serially read), the address register will automatically be incremented by one.
However, for the first read after an RAB, the address register will not be changed.
0:
Auto-increment disabled (alternating mode).
Write: After writing data into a register, the address register will remain unchanged until a new
RAB is written.
Read: Before loading data from a register to the on-chip temporary register (getting ready to
be serially read), the address register will remain unchanged.
AR[5:0]
Specifies the Address of the Register to be Accessed
.
This register address is loaded into the address register of the CH5001. The R/W* access, which
follows, is directed to the register specified by the content stored in the address register.
The following two sections describe the operation of the serial interface for the four combinations of R/W* = 0,1
and AutoInc = 0,1.
CH5001 Write Cycle Protocols (R/W* = 0)
Data transfer with acknowledge is required. The acknowledge-related clock pulse is generated by the
mastertransmitter. The mastertransmitter releases the SD line (HIGH) during the acknowledge clock pulse. The
slave-receiver must pull down the SD line, during the acknowledge clock pulse, so that it remains stable LOW
during the HIGH period of the clock pulse. The CH5001 always acknowledges for writes (see
Figure 6
). Note that
the resultant state on SD is the wired-AND of data outputs from the transmitter and receiver
.
Figure 6: Acknowledge on the Bus
Figure 7
shows two consecutive alternating write cycles for AutoInc = 0 and R/W* = 0. The byte of information
following the Register Address Byte (RAB) is the data to be written into the register specified by AR[5:0]. If
autoInc = 0, then another RAB is expected from the master device followed by another data byte, and so on.
Table 4. Register Address Byte (RAB)
B7
B6
B5
B4
B3
B2
B1
B0
X
AutoInc
AR[5]
AR[4]
AR[3]
AR[2]
AR[1]
AR[0]
SC from
Master
SD Data Output
By the CH5001
Start
Condition
2
SD Data Output
By Master-Transmitter
1
8
9
not acknowledge
acknowledge
clock pulse for
acknowledgment