PixArt Imaging Inc.
PAS106BCA-323/PAS106BBA-323
CMOS Image Sensor IC
SDA
SCL
DATA
CHANGE
ALLOWED
DATA
STABLE
Fig 5.2 Valid Data
5.2 Data Transfer Format
5.2.1 Master transmits data to slave (write cycle)
§
§
§
§
S : Start
A : Acknowledge by slave
P : Stop
RW : The LSB of 1ST byte to decide whether current cycle is read or write cycle.
RW=1 read cycle, RW=0 write cycle.
§
SUBADDRESS : The address values of PAS106BCA-323/PAS106BBA-323 internal control
registers
(Please refer to PAS106BCA-323/PAS106BBA-323
register description)
1ST BYTE
2ND BYTE
n BYTEs + A
S
SLAVE ID (7 BIT)
RW
A
SUBADDRESS (8 BIT)
A
DATA
A
DATA
A
P
MSB
LSB=0
During write cycle, the master generates start condition and then places the 1st byte data that are combined
slave
address
(7
bits)
with
a
read/write
control
bit
to
SDA
line.
After
nd
slave(PAS106BCA-323/PAS106BBA-323) issues acknowledgment, the master places 2 byte (sub-address)
data on SDA line. Again follow the PAS106BCA-323/PAS106BBA-323 acknowledgment, the master places
the 8 bits data on SDA line and transmit to PAS106BCA-323/PAS106BBA-323 control register (address was
nd
assigned by 2 byte). After PAS106BCA-323/PAS106BBA-323 issue acknowledgment, the master can
generate a stop condition to end of this write cycle. In the condition of multi-byte write, the
PAS106BCA-323/PAS106BBA-323 sub-address is automatically increment after each DATA byte transferred.
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
7/14
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
V2.0, May 2002