
Confidential
HV7161SPA2
CMOS Image Sensor
With Image Signal Processing
I2C Chip Interface
The serial bus interface consists of the SDA(serial data) and SCK(serial clock) pins. HV7161SP
sensor can operate only as a slave. The SCK only controls the serial interface. However, MCLK
should be supplied and RESET should be high signal during controlling the serial interface. The
Start condition is that logic transition (High to Low) on the SDA pin while the SCK
pin is at high
state. The Stop condition is that logic transition (Low to High) on the SDA pin while the SCK
pin is
at high state. To generate Acknowledge signal, the Sensor drives the SDA low when the SCK pin
is at high state. Every byte consists of 8 bits. Each byte transferred on the bus must be followed by
an Acknowledge. The most significant bit of the byte should always be transmitted first.
Register Write Sequences
One Byte Write
S
22H
A
01H
This document has a general product description and is subject to change without notice.
MagnaChip Semiconductor Ltd. does not assume any responsibility for use of circuits described
and no patent licenses are implied.
- 66 -
2005 MagnaChip Semiconductor Ltd.
A
03H
A
P
*1
*2
*3
*4
*5
*6
*7
*8
Set "Sensor Control A" register into Window mode
*1. Drive: I2C start condition
*2. Drive: 22H(001_0001 + 0) [device address + R/W bit]
*3. Read: acknowledge from sensor
*4. Drive: 01H [sub-address]
*5. Read: acknowledge from sensor
*6. Drive: 03H [Video Mode : SXGA]
*7. Read: acknowledge from sensor
*8. Drive: I2C stop condition
Multiple Byte Write using Auto Address Increment
S
22H
A
76H
A
70H
A
70H
A
P
*1
*2
*3
*4
*5
*6
*7
*8
*9 *10
Set "LuTarget1, LuTarget2" register as 70H, 70H with auto address increment
*1. Drive: I2C start condition
*2. Drive: 22H(001_0001 + 0) [device address + R/W bit]
*3. Read: acknowledge from sensor
1
2
8
9
ACK
MSB
LSB
SDA
SCK
START
1
2
8
9
ACK
STOP