AR0134CS
www.onsemi.com
10
Table 4. PIN DESCRIPTIONS − 48-PIN ILCC PACKAGE, PARALLEL (continued)
Pin Number DescriptionTypeName
10 D
OUT
10 Output Parallel pixel data output
11 D
OUT
11 Output Parallel pixel data output (MSB)
12 V
DD
_IO Power I/O supply power
13 PIXCLK Output Pixel clock out. D
OUT
is valid on rising edge of this clock
14 V
DD
Power Digital power
15 S
CLK
Input Two-Wire Serial clock input
16 S
DATA
I/O Two-Wire Serial data I/O
17 RESET_BAR Input Asynchronous reset (active LOW). All settings are restored to factory default
18 V
DD
_IO Power I/O supply power
19 V
DD
Power Digital power
20 NC No connection
21 NC No connection
22 STANDBY Input Standby-mode enable pin (active HIGH)
23 OE_BAR Input Output enable (active LOW)
24 S
ADDR
Input Two-Wire Serial address select
25 TEST Input Manufacturing test enable pin (connect to D
GND
)
26 FLASH Output Flash output control
27 TRIGGER Input Exposure synchronization input
28 FRAME_VALID Output Asserted when D
OUT
frame data is valid
29 LINE_VALID Output Asserted when D
OUT
line data is valid
30 D
GND
Power Digital ground
31 Reserved N/A Reserved (do not connect)
32 Reserved N/A Reserved (do not connect)
33 Reserved N/A Reserved (do not connect)
34 V
AA
Power Analog power
35 A
GND
Power Analog ground
36 V
AA
Power Analog power
37 V
AA
_PIX Power Pixel power
38 V
AA
_PIX Power Pixel power
39 A
GND
Power Analog ground
40 V
AA
Power Analog power
41 NC No connection
42 NC No connection
43 NC No connection
44 D
GND
Power Digital ground
45 D
OUT
0 Output Parallel pixel data output (LSB)
46 D
OUT
1 Output Parallel pixel data output
47 D
OUT
2 Output Parallel pixel data output
48 D
OUT
3 Output Parallel pixel data output
AR0134CS
www.onsemi.com
11
TWO-WIRE SERIAL REGISTER INTERFACE
The two-wire serial interface bus enables read/write
access to control and status registers within the AR0134CS.
The interface protocol uses a master/slave model in which
a master controls one or more slave devices. The sensor acts
as a slave device. The master generates a clock (S
CLK
) that
is an input to the sensor and is used to synchronize transfers.
Data is transferred between the master and the slave on
a bidirectional signal (S
DATA
). S
DATA
is pulled up to
V
DD
_IO off-chip by a 1.5 kW resistor. Either the slave or
master device can drive S
DATA
LOW − the interface protocol
determines which device is allowed to drive S
DATA
at any
given time.
The protocols described in the two-wire serial interface
specification allow the slave device to drive S
CLK
LOW; the
AR0134CS uses S
CLK
as an input only and therefore never
drives it LOW.
Protocol
Data transfers on the two-wire serial interface bus are
performed by a sequence of low-level protocol elements:
1. a (repeated) start condition
2. a slave address/data direction byte
3. an (a no) acknowledge bit
4. a message byte
5. a stop condition
The bus is idle when both S
CLK
and S
DATA
are HIGH.
Control of the bus is initiated with a start condition, and the
bus is released with a stop condition. Only the master can
generate the start and stop conditions.
Start Condition
A start condition is defined as a HIGH-to-LOW transition
on S
DATA
while S
CLK
is HIGH. At the end of a transfer, the
master can generate a start condition without previously
generating a stop condition; this is known as a “repeated
start” or “restart” condition.
Stop Condition
A stop condition is defined as a LOW-to-HIGH transition
on S
DATA
while S
CLK
is HIGH.
Data Transfer
Data is transferred serially, 8 bits at a time, with the MSB
transmitted first. Each byte of data is followed by an
acknowledge bit or a no-acknowledge bit. This data transfer
mechanism is used for the slave address/data direction byte
and for message bytes.
One data bit is transferred during each S
CLK
clock period.
S
DATA
can change when S
CLK
is LOW and must be stable
while S
CLK
is HIGH.
Slave Address/Data Direction Byte
Bits [7:1] of this byte represent the device slave address
and bit [0] indicates the data transfer direction. A “0” in
bit [0] indicates a WRITE, and a “1” indicates a READ.
The default slave addresses used by the AR0134CS are 0x20
(write address) and 0x21 (read address) in accordance with
the specification. Alternate slave addresses of 0x30 (write
address) and 0x31 (read address) can be selected by enabling
and asserting the S
ADDR
input.
An alternate slave address can also be programmed
through R0x31FC.
Message Byte
Message bytes are used for sending register addresses and
register write data to the slave device and for retrieving
register read data.
Acknowledge Bit
Each 8-bit data transfer is followed by an acknowledge bit
or a no-acknowledge bit in the S
CLK
clock period following
the data transfer. The transmitter (which is the master when
writing, or the slave when reading) releases S
DATA
.
The receiver indicates an acknowledge bit by driving S
DATA
LOW. As for data transfers, S
DATA
can change when S
CLK
is LOW and must be stable while S
CLK
is HIGH.
No-Acknowledge Bit
The no-acknowledge bit is generated when the receiver
does not drive S
DATA
LOW during the S
CLK
clock period
following a data transfer. A no-acknowledge bit is used to
terminate a read sequence.
Typical Sequence
A typical READ or WRITE sequence begins by the
master generating a start condition on the bus. After the start
condition, the master sends the 8-bit slave address/data
direction byte. The last bit indicates whether the request is
for a read or a write, where a “0” indicates a write and a “1”
indicates a read. If the address matches the address of the
slave device, the slave device acknowledges receipt of the
address by generating an acknowledge bit on the bus.
If the request was a WRITE, the master then transfers the
16-bit register address to which the WRITE should take
place. This transfer takes place as two 8-bit sequences and
the slave sends an acknowledge bit after each sequence to
indicate that the byte has been received. The master then
transfers the data as an 8-bit sequence; the slave sends an
acknowledge bit at the end of the sequence. The master stops
writing by generating a (re)start or stop condition.
If the request was a READ, the master sends the 8-bit write
slave address/data direction byte and 16-bit register address,
the same way as with a WRITE request. The master then
generates a (re)start condition and the 8-bit read slave
address/data direction byte, and clocks out the register data,
eight bits at a time. The master generates an acknowledge bit
after each 8-bit transfer. The slave’s internal register address
is automatically incremented after every 8 bits are
transferred. The data transfer is stopped when the master
sends a no-acknowledge bit.
AR0134CS
www.onsemi.com
12
Single READ from Random Location
This sequence (Figure 8) starts with a dummy WRITE to
the 16-bit address that is to be used for the READ. The
master terminates the WRITE by generating a restart
condition. The master then sends the 8-bit read slave
address/data direction byte and clocks out one byte of
register data. The master terminates the READ by
generating a no-acknowledge bit followed by a stop
condition. Figure 8 shows how the internal register address
maintained by the AR0134CS is loaded and incremented as
the sequence proceeds.
Figure 8. Single READ from Random Location
Previous Reg Address, N Reg Address, M M+1
S0 1 PASr
Slave Ad-
dress
Reg
Address[15:8]
Reg
Address[7:0]
Slave Address
S = Start Condition
P = Stop Condition
Sr = Restart Condition
A = Acknowledge
A
= No-acknowledge
Slave to Master
Master to Slave
A A A A Read Data
Single READ from Current Location
This sequence (Figure 9) performs a read using the
current value of the AR0134CS internal register address.
The master terminates the READ by generating
a no-acknowledge bit followed by a stop condition.
The figure shows two independent READ sequences.
Figure 9. Single READ from Current Location
Previous Reg Address, N Reg Address, N+1 N+2
S1Slave Address
A Read Data S1 PSlave Address AARead DataPA
Sequential READ, Start from Random Location
This sequence (Figure 10) starts in the same way as the
single READ from random location (Figure 8). Instead of
generating a no-acknowledge bit after the first byte of data
has been transferred, the master generates an acknowledge
bit and continues to perform byte READs until “L” bytes
have been read.
Figure 10. Sequential READ, Start from Random Location
Previous Reg Address, N Reg Address, M
S0Slave Address
A AReg Address[15:8]
PA
M+1
A A A1SrReg Address[7:0] Read DataSlave Address
M+LM+L−1M+L−2M+1 M+2 M+3
ARead Data A Read Data ARead Data Read Data

AR0134CSSM25SUEAH3-GEVB

Mfr. #:
Manufacturer:
ON Semiconductor
Description:
Optical Sensor Development Tools 1.2MP 1/3 CIS MONO2
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union