PixArt Imaging Inc.
PAS106BCA-323/PAS106BBA-323
CMOS Image Sensor IC
The data and
A cycles is repeat until last byte write. Every control registers value inside
PAS106BCA-323/PAS106BBA-323 can be programming via this way. (Please refer to Fig 5.3.)
5.2.2 Slave transmits data to master (read cycle)
§
§
§
§
The sub-address was taken from previous write cycle
The sub-address is automatically increment after each byte read
Am : Acknowledge by master
Note there is no acknowledgment from master after last byte read
1ST BYTE
2ND BYTE
n BYTE
Am
SLAVE ADDRESS
(7 BITS)
S
RW
A
DATA (8 BIT)
Am DATA
DATA
1
P
NO ACK IN LAST
BYTE
During read cycle, the master generates start condition and then place the 1st byte data that are combined
slave address (7 bits) with a read/write control bit to SDA line. After issue acknowledgment, 8 bits DATA was
also placed on SDA line by PAS106BCA-323/PAS106BBA-323. The
8 bit data was read from
PAS106BCA-323/PAS106BBA-323 internal control register that address was assigned by previous write cycle.
Follow the master acknowledgment, the PAS106BCA-323/PAS106BBA-323 place the next 8 bits data (address
is increment automatically) on SDA line and then transmit to master serially. The DATA and Am cycles is repeat
until the last byte read. After last byte read, Am is no longer generated by master but instead by keep SDA line
high. The slave (PAS106BCA-323/PAS106BBA-323) must releases SDA line to master to generate STOP
condition. (Please refer to Fig 5.3.)
SDA
SCL
1-7
8
9
1-7
8
9
1-7
8
9
P
S
ACK
from
Receiver
ACK
from
Receiver
ACK
from
Receiver
Stop
Condition
Address
R/W
Data
Data
Start
Condition
Fig 5.3 Data Transfer Format
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
8/14
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
V2.0, May 2002