© Semiconductor Components Industries, LLC, 2012
January, 2019 Rev. 8
1Publication Order Number:
AR0330CS/D
AR0330CS
AR0330CS and AR0330SR
1/3-Inch CMOS Digital
Image Sensor
General Description
The AR0330CS can be operated in its default mode or programmed
for frame size, exposure, gain, and other parameters. The default mode
output is a 2304 x 1296 image at 30 frames per second (fps). The
sensor outputs 10 or 12bit raw data, using either the parallel or serial
(MIPI) output ports.
The ON Semiconductor AR0330CS is a 1/3inch CMOS digital
image sensor with an activepixel array of 2304 (H) x1536 (V). It can
support 3.15 megapixel (2048H x 1536 V) digital still image capture
and a 1080p30 +20%EIS (2304H x 1296 V) digital video mode. It
incorporates sophisticated onchip camera functions such as
windowing, mirroring, column and row subsampling modes, and
snapshot modes.
Table 1. KEY PARAMETERS
Parameter Typical Value
Optical Format 1/3inch (6.0 mm)
Entire Array: 6.09 mm
Still Image: 5.63 mm (4:3)
HD Image: 5.82 mm (16:9)
Active Pixels 2304(H) x 1536(V): (Entire Array):
5.07 mm (H) x 3.38 mm (V)
2048(H) x 1536(V) (4:3, Still Mode)
2304(H) x 1296(V) (16:9, sHD Mode)
Pixel Size 2.2 mm x 2.2 mm
Color Filter Array RGB Bayer
Shutter Type ERS and GRR
Input Clock Range 6 – 27 MHz
Output Clock Maximum
(CLK_OP)
98 Mp/s (Parallel, MIPI)
Responsivity 2.0 V/luxsec
Power Consumption 1080P30 MIPI Mode: 282 mW
1080P30 Parallel Mode: 252 mW
SNRMAX 39 dB
Dynamic Range 69.5 dB
Supply
Voltage
I/O/Digital 1.7–1.9 V (1.8 V Nominal) or
2.4–3.1 V (2.8 V Nominal)
Digital 1.7–1.9 V (1.8 V Nominal)
Analog 2.76–2.9 V
Operating Temperature
(junction) TJ
–30°C to + 70° C
Package Options 6.28 mm x 6.65 mm CSP
11.43 mm x 11.43 mm PLCC
www.onsemi.com
See detailed ordering and shipping information on page 2 of
this data sheet.
ORDERING INFORMATION
PLCC48
11.43x11.43
CASE 776AM
Features (continued)
2.2 mm Pixel with ON Semiconductor
APix technology
Superior Lowlight Performance
3.5 Mp Active Array, 2.9 Mp (16:9) Video
3.4 Mp (3:2) and 3.15 Mp (4:3) Still Images
Support for External Mechanical Shutter
Support for External LED or Xenon Flash
Data Interfaces: Twolane Serial MIPI or
Parallel Interface
Onchip phaselocked Loop (PLL)
Oscillator
Integrated Positionbased Color and Lens
Shading Correction
Simple Twowire Serial Interface
Auto Black Level Calibration
12to10 bit Output ALaw Compression
Slave Mode for Precise Framerate Control
and for Synchronizing Two Sensors
Applications
1080P30 Highdefinition Digital Video
Camcorder
Web Cameras and Video Conferencing
Cameras
Security
ODCSP64
6.278x6.648
CASE 570BH
AR0330CS
www.onsemi.com
2
ORDERING INFORMATION
Table 2. AVAILABLE PART NUMBERS
Part Number Product Description Orderable Product Attribute Description
AR0330CS1C12SPKA0CP 3.5 MP, 1/3inch, 12 Deg CRA, Parallel, MIPI, CSP Tray, Protective Film
AR0330CS1C12SPKA0CR 3.5 MP, 1/3inch, 12 Deg CRA, Parallel, MIPI, CSP Tray, No Protective Film
AR0330CSSC12SPBA0DR 3.5 MP, 1/3inch, 12 Deg CRA, Parallel, PLCC Tray, No Protective Film
AR0330SR1C00SUKA0CP 3.5 MP, 1/3inch, 0 Deg CRA, Parallel, CSP Tray, Protective Film
AR0330SR1C00SUKA0CR 3.5 MP, 1/3inch, 0 Deg CRA, Parallel, CSP Tray, No Protective Film
AR0330CS1C12SPKAH3GEVB 3.5 MP, 1/3 inch, 12 Deg CRA, Parallel, MIPI, CSP Evaluation board
FUNCTIONAL OVERVIEW
The AR0330CS is a progressivescan sensor that
generates a stream of pixel data at a constant frame rate. It
uses an onchip, phaselocked loop (PLL) that can generate
all internal clocks from a single master input clock running
between 6 and 27 MHz. The maximum CLK_OP is 98 Mp/s
using MIPI serial interface and 98 Mp/s using the parallel
interface.
and
Control
Timing
Figure 1. Block Diagram
Compression (optional)
12bit
12bit
12bit 12bit 8, 10, or
12bit
Ma x 98 Mp/s
Parallel I/O:
PIXCLK, FV,
LV, DOUT [11:0]
MIPI I/O:
CLK P/N,
1. Two lane data paths
only 2. 98 Mp/sec
Digital Core
Row Noise Correction
Black Level Correction
Lens Shading Correction
Digital Gain
Data Pedestal
Test Pattern
Generator
Output DataPath
Analog Core
Ext
Clock
Column
Amplifiers
Pixel Array
Row Drivers
PLL
Registers
Twowire serial I/F
ADC
Max CLK_OP 98 Mp/s
User interaction with the sensor is through the twowire
serial bus, which communicates with the array control,
analog signal chain, and digital signal chain. The core of the
sensor is a 3.5 Mp active pixel sensor array. The timing and
control circuitry sequences through the rows of the array,
resetting and then reading each row in turn. In the time
interval between resetting a row and reading that row, the
pixels in the row integrate incident light. The exposure is
controlled by varying the time interval between reset and
readout. Once a row has been read, the signal from the
column is amplified in a column amplifier and then digitized
in an analogtodigital converter (ADC). The output from
the ADC is a 12bit value for each pixel in the array. The
ADC output passes through a digital processing signal chain
(which provides further data path corrections and applies
digital gain).
AR0330CS
www.onsemi.com
3
WORKING MODES
The AR0330CS sensor working modes are specified from
the following aspect ratios:
Table 3. AVAILABLE ASPECT RATIOS IN THE AR0330CS SENSOR
Aspect Ratio Sensor Array Usage
3:2 Still Format #1 2256(H) x 1504(V)
4:3 Still Format #2 2048 (H) x 1536 (V)
16:10 Still Format #3 2256 (H) x 1440 (V)
16:9 FHD Format 2304 (H) x 1296 (V)
The AR0330CS supports the following working modes.
To operate the sensor at full speed 98Mp/s the sensor must
use 2Lane MIPI or parallel interface. The sensor will
operate at fullspeed (98 Mp/s) when using the parallel
interface.
Table 4. AVAILABLE WORKING MODES IN THE AR0330CS SENSOR
Mode Aspect Ratio
Active
Readout
Window
Sensor Output
Resolution
FPS
(2 lane MIPI,
12 bit)
FPS (Parallel
Interface) Subsampling FOV
1080p + EIS 16:9 2304 x 1296 2304 x 1296 30 30 100%
3M Still 4:3 2048 x 1536 2048 x 1536 30 25 100%
3:2 2256 x 1504 2256 x 1504 30 25 100%
WVGA + EIS 16:9 2304 x 1296 1152 x 648 60 60 2 x 2 100%
AR0330CS
www.onsemi.com
4
Figure 2. Typical Configuration: Serial MIPI
1. All power supplies must be adequately decoupled. ON Semiconductor recommends having 10 mF and 0.1 mF decoupling capacitors for
every power supply. If space is a concern, then priority must be given in the following order: VAA, VAA_PIX, VDD_PLL, VDD_MIPI, VDD_IO,
and VDD. Actual values and results may vary depending on layout and design considerations.
2. To allow for space constraints, ON Semiconductor recommends having 0.1 mF decoupling capacitor inside the module as close to the
pads as possible. In addition, place a 10 mF capacitor for each supply offmodule but close to each supply.
3. ON Semiconductor recommends a resistor value of 1.5 kW, but a greater value may be used for slower twowire speed.
4. The pullup resistor is not required if the controller drives a valid logic level on SCLK at all times.
5. ON Semiconductor recommends that analog power planes are placed in a manner such that coupling with the digital power planes is
minimized.
6. TEST pin must be tied to DGND for the MIPI configuration.
7. ON Semiconductor recommends that GND_MIPI be tied to DGND.
8. VDD_MIPI is tied to VDD_PLL in the CSP package. ON Semiconductor strongly recommends that VDD_MIPI must be connected to a
VDD_PLL in a module design since VDD_PLL and VDD_MIPI are tied together in the die.
9. The package pins or die pads used for the parallel interface must be left floating.
10.If the SHUTTER or FLASH pins or pads are not used, then they must be left floating.
11. If the TRIGGER or OE_BAR pin or pad is not used, then it should be tied to DGND.
VDD_IO VDD_PLLVDD VAA
VDD VAA VAA_PIX
Master clock
(6–27MHz)
SCLK
SDATA
RESET_BAR
TEST
EXTCLK
DGND AGND
Digital
ground
Analog
ground
Digital
Core
power1
Analog
power1
To
controller
(MIPI serial interface)
From
controller
VDD_IO
VDD _PLL
PLL
power1
Digital
I/O
power1
1.5kΩ3, 4
1.5kΩ3, 4
Analog
power1
VAA_PIX
CLK_N
CLK_P
DATA1_P
DATA1_N
DATA2_P
DATA2_N
FLASH
SHUTTER
0.1 μF10 μF0.1 μF10 μF10 μF0.1 μF0.1 μF10 μF0.1 μF
10 μF
SADDR
TRIGGER
VDD_MIPI
AR0330CS
www.onsemi.com
5
Figure 3. Typical Configuration: Parallel Pixel Data Interface
VDD
Master clock
(6–27 MHz)
SADDR
SCLK
TEST
FRAME_VALID
DOUT [11:0]
EXTCLK
DGND
Digital
ground
Analog
ground
Digital
core
power1
To
controller
From
Controller
LINE_VALID
PIXCLK
RESET_BAR
VDD_IO
Digital
I/O
power1
1.5k3, 4
1.5k3, 4
VAA VAA_PIX
Analog
power1
VDD_PLL
PLL
power1Analog
power1
VAA_PIX
VDD_IO VDD_PLLVDD VAA
AGND
TRIGGER
SHUTTER
FLASH
10 μF10 μF10 μF10 μF10 μF0.1 μF0.1 μF0.1 μF0.1 μF0.1 μF
SDATA
VDD_MIPI
OE_BAR
12.All power supplies must be adequately decoupled. ON Semiconductor recommends having 10 mF and 0.1 mF decoupling capacitors for
every power supply. If space is a concern, then priority must be given in the following order: VAA, VAA_PIX, VDD_PLL, VDD_IO, and VDD.
Actual values and results may vary depending on layout and design considerations.
13.To allow for space constraints, ON Semiconductor recommends having 0.1 mF decoupling capacitor inside the module as close to the
pads as possible. In addition, place a 10 mF capacitor for each supply offmodule but close to each supply.
14.ON Semiconductor recommends a resistor value of 1.5 kW, but a greater value may be used for slower twowire speed.
15.The pullup resistor is not required if the controller drives a valid logic level on SCLK at all times.
16.ON Semiconductor recommends that analog power planes are placed in a manner such that coupling with the digital power planes is
minimized.
17.TEST pin should be tied to the ground.
18.The data and clock package pins or die pads used for the MIPI interface must be left floating.
19.The VDD_MIPI package pin and sensor die pad should be connected to a 2.8 V supply as it is tied to the VDD_PLL supply both in the
package routing and also within the sensor die itself.
20.If the SHUTTER or FLASH pins or pads are not used, then they must be left floating.
21.If the TRIGGER or OE_BAR pin or pad is not used, then it should be tied to DGND.
AR0330CS
www.onsemi.com
6
PIN DESCRIPTIONS
Table 5. PIN DESCRIPTIONS
Name Type Description
RESET_BAR Input Asynchronous reset (active LOW). All settings are restored to factory default
EXTCLK Input Master input clock, range 6 27 MHz
TRIGGER Input Receives slave mode VD signal for frame rate synchronization and trigger to start a GRR frame
SADDR Input Twowire serial address select
SCLK Input Twowire serial clock input
TEST Input Enable manufacturing test modes. Tie to DGND for normal sensor operation
OE_BAR Input Parallel port output enable, active low
SDATA I/O Twowire serial data I/O
PIXCLK Output Pixel clock out. DOUT is valid on rising edge of this clock
DOUT[11:0] Output Parallel pixel data output
FLASH Output Flash output. Synchronization pulse for external light source. Can be left floating if not used
FRAME_VALID Output Asserted when DOUT data is valid
LINE_VALID Output LINE_VALID output asserted when DOUT data is valid
SHUTTER Output Control for external mechanical shutter. Can be left floating if not used
DATA1_P Output MIPI serial data, lane 1, differential P
DATA1_N Output MIPI serial data, lane 1, differential N
DATA2_P Output MIPI serial data, lane 2, differential P
DATA2_N Output MIPI serial data, lane 2, differential N
CLK_P Output Output MIPI serial clock, differential P
CLK_N Output Output MIPI serial clock, differential N
VDD_MIPI Power MIPI power supply
VAAHV_NPIX Power Power supply pin used to program the sensor OTPM (onetime programmable memory). This pin
should be open if OTPM is not used
VDD Power Digital power
VDD_IO Power IO supply power
VDD_PLL Power PLL power supply
DGND Power Digital GND
VAA Power Analog power
VAA_PIX Power Pixel power
AGND Power Analog GND
AR0330CS
www.onsemi.com
7
Table 6. AR0330CS CSP (PARALLEL/MIPI) PACKAGE PINOUT
1 2 3 4 5 6 7 8
AVAA VAAHV_NPIX AGND NC VAA_PIX VAA VDD_IO VDD
BVDD SDATA FRAME_VALID DGND AGND DGND TEST SHUTTER
CSADDR FLASH LINE_VALID DGND DGND DGND TRIGGER RESET_BAR
DSCLK VDD_IO DOUT10 DGND VDD_IO VDD_IO EXTCLK DATA_N
EPIXCLK DOUT11 DOUT9 DOUT7 VDD_IO DGND CLK_N DATA_P
F DOUT8 DOUT6 DOUT4 VDD_IO CLK_P VDD_PLL
GDGND VDD DOUT5 DOUT3 DOUT1 DOUT0 DATA2_N VDD
H DGND DGND DOUT2 VDD_IO VDD_MIPI DATA2_P VDD_MIPI
22.NC = Do not connect. For manufacturing test purpose only.
Table 7. AR0330SR CSP (PARALLEL) PACKAGE PINOUT
1 2 3 4 5 6 7 8
AVAA VAAHV_NPIX AGND NC VAA_PIX VAA VDD_IO VDD
BVDD SDATA FRAME_VALID DGND AGND DGND TEST SHUTTER
CSADDR FLASH LINE_VALID DGND DGND DGND TRIGGER RESET_BAR
DSCLK VDD_IO DOUT10 DGND VDD_IO VDD_IO EXTCLK
EPIXCLK DOUT11 DOUT9 DOUT7 VDD_IO DGND
F DOUT8 DOUT6 DOUT4 VDD_IO VDD_PLL
GDGND VDD DOUT5 DOUT3 DOUT1 DOUT0 VDD
H DGND DGND DOUT2 VDD_IO VDD_PLL VDD_PLL
23.NC = Do not connect. For manufacturing test purpose only.
AR0330CS
www.onsemi.com
8
Figure 4. PLCC Pinout
1 V DD _PLL
2 DGND
3 VDD
5 DGND
4 VDD
6 DGND
48 A GND
47 A GND
43 A GND
42 AGND
39 AGND
38 AGND
46 VAA
45 VAA
44 VAA
41 VAA_PIX
40 VAA_PIX
36 VAA HV_NPIX
34 VDD
32 OE_BAR
31 TEST
33 TRIGGER
35 NC
37 NC
RESET_BAR 30
TOP VIEW
NC 29
DOUT 0 28
DOUT 1 27
DOUT 2 26
DOUT 3 25
DOUT 4 24
DOUT 5 23
DOUT 6 22
DOUT 7 21
DOUT 8 20
DOUT 9 19
DOUT 10 18
DOUT 11 17
LINE_VALID 16
FRAME_VALID 15
SDATA 14
FLASH 13
PIXCLK 12
EXTCLK 11
SADDR 10
SCLK 9
VDD_IO 8
VDD_IO 7
Table 8. AR0330CS PLCC PACKAGE THERMAL RESISTANCE
Using JEDEC 1S0P Board Using JEDEC 2S2P Board
Junction to ambient air thermal resistance (qJA) (°C/W) 51.47 36.92
Junction to board thermal resistance (qJB) (°C/W) 22.16 21.73
AR0330CS
www.onsemi.com
9
SENSOR INITIALIZATION
PowerUp Sequence
The recommended powerup sequence for the
AR0330CS is shown in Figure 5. The available power
supplies (VDD_IO, VDD_PLL, VDD_MIPI, VAA, VAA_PIX)
must have the separation specified below.
1. Turn on VDD_PLL and VDD_MIPI power supplies
2. After 100 μs, turn on VAA and VAA_PIX power
supply
3. After 100 μs, turn on VDD power supply
4. After 100 μs, turn on VDD_IO power supply
5. After the last power supply is stable, enable
EXTCLK
6. Assert RESET_BAR for at least 1ms
7. Wait 150,000 EXTCLKs (for internal initialization
into software standby
8. Write R0x3052 = 0xA114 to configure the internal
register initialization process
9. Write R0x304A = 0x0070 to start the internal
register initialization process
10. Wait 150,000 EXTCLK periods
11. Configure PLL, output, and image settings to
desired values
12. Wait 1 ms for the PLL to lock
13. Set streaming mode (R0x301A[2] = 1)
Figure 5. Power Up
24.A software reset (R0x301A[0] = 1) is not necessary after the procedure described above since a Hard Reset will automatically triggers
a software reset. Independently executing a software reset, should be followed by steps seven through thirteen above
25.The sensor must be receiving the external input clock (EXTCLK) before the reset pin is toggled. The sensor will begin an internal
initialization sequence when the reset pin toggle from LOW to HIGH. This initialization sequence will run using the external input clock.
Power on default state is software standby state, need to apply twowire serial commands to start streaming. Above power up sequence
is a general power up sequence. For different interface configurations, MIPI, and Parallel, some power rails are not needed. Those not
needed power rails should be ignored in the general power up sequence..
EXTCLK
VAA
AA (2.8)
VDD_IO (1.8/2.8)
VDD (1.8)
VDD
DD_MIPI (2.8) t0
t1
t2
t3
t4t5
tXSoftware
Standby PLL Clock
Streaming
RESET_BAR t6
Table 9. POWERUP SEQUENCE
Definition Symbol Min Typ Max Unit
VDD_PLL, VDD_MIPI to VAA/VAA_PIX
(Note 28)
t0 0 100 ms
VAA/VAA_PIX to VDD t1 0 100 ms
VDD to VDD_IO t2 0 100 ms
External clock settling time tx 30 (Note 26) ms
Hard Reset t3 1 (Note 27) ms
Internal Initialization t4 150000 EXTCLKs
Internal Initialization t5 150000 EXTCLKs
PLL Lock Time t6 1 ms
AR0330CS
www.onsemi.com
10
26.External clock settling time is componentdependent, usually taking about 10 – 100 ms.
27.Hard reset time is the minimum time required after power rails are settled. In a circuit where Hard reset is held down by RC circuit, then the
RC time must include the all power rail settle time and Xtal settle time.
28.It is critical that VDD_PLL is not powered up after the other power supplies. It must be powered before or at least at the same time as the
others. If the case happens that VDD_PLL is powered after other supplies then sensor may have functionality issues and will experience high
current draw on this supply.
29.VDD_MIPI is tied to VDD_PLL in the CSP package and must be powered to 2.8 V.
PowerDown Sequence
The recommended powerdown sequence for the
AR0330CS is shown in Figure 6. The available power
supplies (VDD_IO, VDD_PLL, VDD_MIPI., VAA, VAA_PIX)
must have the separation specified below.
1. Disable streaming if output is active by setting
standby R0x301a[2] = 0
2. The soft standby state is reached after the current
row or frame, depending on configuration, has
ended
3. Turn off VDD_IO
4. Turn off VDD
5. Turn off VAA/VAA_PIX
6. Turn off VDD_PLL, VDD_MIPI
Figure 6. Power Down
EXTCLK
VDD
DD_MIPI (2.8)
VDD_IO (1.8/2.8)
VDD
DD_HiSPi (1.8)
VDD_HiSPi_TX (0.4)
t0
Power Down until Next
Power Up Cycle
t1
t2
t3
t4
VAA_PIX, VAA (2.8)
Table 10. POWERDOWN SEQUENCE
Definition Symbol Minimum Typical Maximum Unit
VDD_IO t0 0 ms
VDD_IO to VDD t1 0 ms
VDD to VAA/VAA_PIX t2 0 ms
VAA/VAA_PIX to VDD_PLL t3 0 ms
PwrDn until Next PwrUp Time t4 100 ms
30.t4 is required between power down and next power up time; all decoupling caps from regulators must be completely discharged.
AR0330CS
www.onsemi.com
11
STANDBY MODE
Soft Standby
1. Disable streaming by setting standby R0x301a[2]
= 0
2. Delay 10 ms
3. Stop EXTCLK; pull EXTCLK pin LOW
Hard Standby
1. Disable streaming by setting standby R0x301a[2]
= 0
2. Delay 10 ms
3. Pull RESET_BAR to LOW
ELECTRICAL CHARACTERISTICS
Table 11. DC Electrical Definitions and Characteristics (MIPI Mode)
fEXTCLK = 24 MHz; VDD = 1.8 V; VDD_IO = 1.8 V; VAA = 2.8 V; VAA_PIX = 2.8 V;
VDD_PLL = 2.8 V; Output load = 68.5 pF; TJ = 60°C; Data Rate = 588 Mbps; DLL set to 0; 2304 x 1296 at 30 fps
Definition Symbol Min Typ Max Unit
Core digital voltage VDD 1.7 1.8 1.9 V
I/O digital voltage VDD_IO 1.7 1.8 1.9 V
2.4 2.8 3.1 V
Analog voltage VAA 2.76 2.8 2.9 V
Pixel supply voltage VAA_PIX 2.76 2.8 2.9 V
PLL supply voltage VDD_PLL 2.7 2.8 2.9 V
MIPI supply voltage VDD_MIPI 2.7 2.8 2.9 V
Digital operating current 114 mA
I/O digital operating current 0mA
Analog operating current 41 mA
Pixel supply current 9.9 mA
PLL supply current 15 mA
MIPI digital operating current 35 mA
Table 12. DC Electrical Definitions and Characteristics (Parallel Mode)
fEXTCLK = 24 MHz; VDD = 1.8 V; VDD_IO = 1.8 V; VAA = 2.8 V; VAA_PIX = 2.8 V;
VDD_PLL = 2.8 V; Output load = 68.5 pF; TJ = 60°C; 2304 x 1296 at 30 fps
Definition Symbol Min Typ Max Unit
Core digital voltage VDD 1.7 1.8 1.9 V
I/O digital voltage VDD_IO 1.7 1.8 1.9 V
2.4 2.8 3.1 V
Analog voltage VAA 2.76 2.8 2.9 V
Pixel supply voltage VAA_PIX 2.76 2.8 2.9 V
PLL supply voltage VDD_PLL 2.7 2.8 2.9 V
Digital operating current I(VDD) 66.5 75 mA
I/O digital operating current I(VDD_IO) 24 35 mA
Analog operating current I(VAA) 36 44 mA
Pixel supply current I(VAA_PIX) 10.5 18 mA
PLL supply current I(VDD_PLL) 6 11 mA
AR0330CS
www.onsemi.com
12
Table 13. STANDBY POWER
fEXTCLK = 24 MHz; VDD = 1.8 V; VDD_IO = 1.8 V; VAA = 2.8 V; VAA_PIX = 2.8 V;
VDD_PLL = 2.8 V; Output load = 68.5 pF; TJ = 60°C
Power Typical Max Unit
Hard Standby (CLK OFF) Digital 19.8 35.8 mA
Analog 5.8 7.0 mA
Soft Standby (CLK OFF) Digital 23.5 39.7 mA
Analog 5.4 5.9 mA
Soft Standby (CLK ON) Digital 15700 16900 mA
Analog 5.5 5.7 mA
Table 14. ABSOLUTE MAXIMUM RATINGS
Symbol Definition Min Max Unit
VDD_MAX Core digital voltage –0.3 2.4 V
VDD_IO_MAX I/O digital voltage –0.3 4 V
VAA_MAX Analog voltage –0.3 4 V
VAA_PIX Pixel supply voltage –0.3 4 V
VDD_PLL PLL supply voltage –0.3 4 V
VDD_MIPI MIPI supply voltage –0.3 4 V
tST Storage temperature –40 85 °C
Stresses exceeding those listed in the Maximum Ratings table may damage the device. If any of these limits are exceeded, device functionality
should not be assumed, damage may occur and reliability may be affected.
31.Exposure to absolute maximum rating conditions for extended periods may affect reliability.
Figure 7. TwoWire Serial Bus Timing Parameter
DATA
SCLK
Write Start ACK
SDATA
SCLK
Read Start ACK
tr_clk tf_clk
90%
10%
tf_sdattr_sdat
90%
10%
tSDH tSDS tSHAW tAHSW ttSTPH
STPS
Register Address
Bit 7
Write Address
Bit 0
Register Value
Bit 0
Register Value
Bit 7
Read Address
Bit 0
Register Value
Bit 0
Write Address
Bit 7
Read Address
Bit 7
tSHAR tSDSR
tSDHR
tAHSR
tSRTH tSCLK
AR0330CS
www.onsemi.com
13
Table 15. TWOWIRE SERIAL BUS CHARACTERISTICS
fEXTCLK = 27 MHz; VDD = 1.8 V; VDD_IO = 2.8 V; VAA = 2.8 V; VAA_PIX = 2.8 V; VDD_PLL = 2.8 V; TA = 25°C
Parameter Symbol
Standard Mode Fast Mode
Unit
Min Max Min Max
SCLK Clock Frequency fSCL 0 100 0 400 KHz
Hold time (repeated) START condition
After this period, the first clock pulse is
generated
tHD;STA 4.0 0.6 ms
LOW period of the SCLK clock tLOW 4.7 1.3 ms
HIGH period of the SCLK clock tHIGH 4.0 0.6 ms
Setup time for a repeated START condi-
tion
tSU;STA 4.7 0.6 ms
Data hold time tHD;DAT 043.455060.95ms
Data setup time tSU;DAT 250 1006ns
Rise time of both SDATA and SCLK signals tr 1000 20 + 0.1Cb7300 ns
Fall time of both SDATA and SCLK signals tf 300 20 + 0.1Cb7300 ns
Setup time for STOP condition tSU;STO 4.0 0.6 ?s
Bus free time between a STOP and START
condition
tBUF 4.7 1.3 ?s
Capacitive load for each bus line Cb 400 400 pF
Serial interface input pin capacitance CIN_SI 3.3 3.3 pF
SDATA max load capacitance CLOAD_SD 30 30 pF
SDATA pullup resistor RSD 1.5 4.7 1.5 4.7 K?
32.This table is based on I2C standard (v2.1 January 2000). Philips Semiconductor.
33.Twowire control is I2Ccompatible.
34.All values referred to VIHmin = 0.9 VDD and VILmax = 0.1VDD levels. Sensor EXCLK = 27 MHz.
35. A device must internally provide a hold time of at least 300 ns for the SDATA signal to bridge the undefined region of the falling edge of SCLK.
36.The maximum tHD;DAT has only to be met if the device does not stretch the LOW period (tLOW) of the SCLK signal.
37.A Fastmode I2Cbus device can be used in a Standardmode I2Cbus system, but the requirement tSU; DAT 250 ns must then be met.
This will automatically be the case if the device does not stretch the LOW period of the SCLK signal. If such a device does stretch the LOW
period of the SCLK signal, it must output the next data bit to the SDATA line tr max + tSU;DAT = 1000 + 250 = 1250 ns (according to the
Standardmode I2Cbus specification) before the SCLK line is released.
38.Cb = total capacitance of one bus line in pF.
Table 16. I/O PARAMETERS
fEXTCLK = 24 MHz; VDD = 1.8V; VAA = 2.8 V; VAA_PIX = 2.8 V; VDD_PLL = 2.8 V; Output load = 68.5 pF; TJ = 60°C; CLK_OP = 98 MPixel/s
Symbol Definition Conditions Min Max Units
VIH Input HIGH voltage VDD_IO = 1.8 V 1.4 VDD_IO + 0.3
V
VDD_IO = 2.8 V 2.4
VIL Input LOW voltage VDD_IO = 1.8 V GND – 0.3 0.4
VDD_IO = 2.8 V GND – 0.3 0.8
IIN Input leakage current No pullup resistor; VIN = VDD OR DGND –20 20 mA
VOH Output HIGH voltage At specified IOH VDD_IO 0.4V V
VOL Output LOW voltage At specified IOL 0.4 V
IOH Output HIGH current At specified VOH –12 mA
IOL Output LOW current At specified VOL 9 mA
IOZ Tristate output leakage current 10 mA
AR0330CS
www.onsemi.com
14
Figure 8. I/O Timing Diagram (Parallel Mode)
Data[11:0]
R
AME_VALID/
LINE_VALID FRAME_VALID leads LINE_VALID by 609 PIXCLKs. FRAME_VALID trails
LINE_VALID by 16 PIXCLKs.
PIXCLK
*PLL disabled for tCP
EXTCLK
tCP
tR
tEXTCLK
tFtRP tFP
tPD
tPD
tPFH
tPLH
tPFL
tPLL
Pxl _ 0 Pxl _ 1 Pxl _ 2 Pxl _ n
90 %
10 %
90 %
10 %
Table 17. I/O TIMING
fEXTCLK = 24 MHz; VDD = 1.8 V; VDD_IO = 1.8 V; VAA = 2.8 V; VAA_PIX = 2.8 V; VDD_PLL = 2.8 V;
Output load = 68.5 pF; TJ = 60°C; CLK_OP = 98 MPixel/s
Symbol Definition Conditions Min Typ Max Units
fEXTCLK Input clock frequency PLL enabled 6 24 27 MHz
tEXTCLK Input clock period PLL enabled 166 41 20 ns
tR Input clock rise time 0.1 1 V/ns
tF Input clock fall time 0.1 1 V/ns
Clock duty cycle 45 50 55 %
tJITTER Input clock jitter 0.3 ns
Output pin slew Fastest CLOAD = 15 pF 0.7 V/ns
fPIXCLK PIXCLK frequency Default 80 MHz
tPD PIXCLK to data valid Default 3 ns
tPFH PIXCLK to FRAME_VALID HIGH Default 3 ns
tPLH PIXCLK to LINE_VALID HIGH Default 3 ns
tPFL PIXCLK to FRAME_VALID LOW Default 3 ns
tPLL PIXCLK to LINE_VALID LOW Default 3 ns
Table 18. PARALLEL I/O RISE SLEW RATE
fEXTCLK = 24 MHz; VDD = 1.8 V; VAA = 2.8 V; VAA_PIX = 2.8 V; VDD_PLL = 2.8 V; Output load = 68.5 pF;
TJ = 60°C; CLK_OP = 98 MPixel/s
VDD_IO
Parallel Slew Rate (R0x306E[15:13])
Units
0 1 2 3 4 5 6 7
1.70V 0.069 0.115 0.172 0.239 0.325 0.43 0.558 0.836 V/ns
1.80V 0.078 0.131 0.195 0.276 0.375 0.507 0.667 1.018
1.95V 0.093 0.156 0.233 0.331 0.456 0.62 0.839 1.283
2.50V 0.15 0.252 0.377 0.539 0.759 1.07 1.531 2.666
2.80V 0.181 0.305 0.458 0.659 0.936 1.347 1.917 3.497
3.10V 0.212 0.361 0.543 0.78 1.114 1.618 2.349 4.14
AR0330CS
www.onsemi.com
15
ELECTRICAL DEFINITIONS
Figure 9 is the diagram defining differential amplitude
VOD, VCM, and rise and fall times. To measure VOD and
VCM use the DC test circuit shown in Figure 10 and set the
MIPI PHY to constant Logic 1 and Logic 0. Measure Voa,
Vob and VCM with voltmeters for both Logic 1 and Logic 0.
Figure 9. SingleEnded and Differential Signals
Vo a
Vo b
Singleended signal
Differential signal
VO D =
|Vo a – Vo b |
VOD =
|Vo b – V o a|
VC M = (Vo a + Vo b) / 2
V
O D
0 V
8 0%
tR
tF
2 0%
VO D_ A C
Vdiff _ pkpk
Vdiff
Figure 10. DC Test Circuit
V
V
5 0 Ω
5 0 Ω
Vo a
Vo b
VC M
VOD(m) +ŤVoa(m) *Vob(m) Ťwhere ȀmȀis either 1for logic 1 or 0for logic 0 (eq. 1)
VOD +VOD(1) )VOD(0)
2(eq. 2)
Vdiff +VOD(1) )VOD(0) (eq. 3)
DVOD +ŤVOD(1) *VOD(0)Ť(eq. 4)
VCM +VCM(1) )VCM(0)
2(eq. 5)
AR0330CS
www.onsemi.com
16
DVCM +ŤVCM(1) *VCM(0)Ť(eq. 6)
Both VOD and VCM are measured for all output channels.
The worst case DVOD is defined as the largest difference in
VOD between all channels regardless of logic level. And the
worst case DVCM is similarly defined as the largest
difference in VCM between all channels regardless of logic
level.
Timing Definitions
1. Timing measurements are to be taken using the
Square Wave test mode
2. Rise and fall times are measured between 20% to
80% positions on the differential waveform, as
shown in Figure 9: “SingleEnded and Differential
Signals”
3. Mean ClocktoData skew should be measured
from the 0V crossing point on Clock to the 0V
crossing point on any Data channel regardless of
edge, as shown in Figure 11. This time is
compared with the ideal Data transition point of
0.5UI with the difference being the ClocktoData
Skew (see Equation 7)
Figure 11. ClocktoData Skew Timing Diagram
tpw
1 UI
0.5 UI
t
tCHSKEW
Clock
Data
tCHSKEW(ps) +Dt*tpw
2(eq. 7)
tCHSKEW(UI) +Dt
tpw *0.5 (eq. 8)
4. The differential skew is measured on the two
singleended signals for any channel. The time is
taken from a transition on Voa signal to
corresponding transition on Vob signal at VCM
crossing point
Figure 12. Differential Skew
tDIFFSKEW
VCM
VCM
VCM_AC
VCM_AC
Commonmode AC Signal
AR0330CS
www.onsemi.com
17
Figure 12 also shows the corresponding AC VCM
commonmode signal. Differential skew between the Voa
and Vob signals can cause spikes in the commonmode,
which the receiver needs to be able to reject. VCM_AC is
measured as the absolute peak deviation from the mean DC
VCM commonmode.
Transmitter Eye Mask
Figure 13. Transmitter Eye Mask
Normalized Time
0 0.2 0.37 0.5 0.63 10.8
*1.3 * V
OD
*V
OD
*0.7 * V
OD
0
0.7 * VOD
VOD
1.3 * VOD
Differential Amplitude
Eye Width
Eye Height
tPRE tPOST
Figure 13 defines the eye mask for the transmitter. 0.5 UI
point is the instantaneous crossing point of the Clock. The
area in white shows the area Data is prohibited from crossing
into. The eye mask also defines the minimum eye height, the
data tpre and tpost times, and the total jitter pkpk +mean
skew (tTJSKEW) for Data.
Clock Signal
tHCLK is defined as the high clock period, and tLCLK is
defined as the low clock period as shown in Figure 14. The
clock duty cycle DCYC is defined as the percentage time the
clock is either high (tHCLK) or low (tLCLK) compared with
the clock period T.
Figure 14. Clock Duty Cycle
tHCLK
tLCLK
Clock
DCYC(1) +tHCLK
T(eq. 9)
DCYC(0) +tLCLK
T(eq. 10)
tpw +T
2(i.e, 1 UI) (eq. 11)
Bitrate +1
tpw (eq. 12)
AR0330CS
www.onsemi.com
18
Figure 15 shows the definition of clock jitter for both the
period and the cycletocycle jitter.
Figure 15. Clock Jitter
tLCLK
tHCLK
tpw
tCKJIT (RMS)
Period Jitter (tCKJIT) is defined as the deviation of the
instantaneous clock tPW from an ideal 1UI. This should be
measured for both the clock high period variation DtHCLK,
and the clock low period variation DtLCLK taking the RMS
or 1sigma standard deviation and quoting the worse case
jitter between DtHCLK and DtLCLK.
If pkpk jitter is also measured, this should be limited to
±3sigma.
SEQUENCER
The sequencer digital block determines the order and
timing of operations required to sample pixel data from the
array during each row period. It is controlled by an
instruction set that is programmed into RAM from the
sensor OTPM (One Time Programmable Memory). The
OTPM is configured during production.
The instruction set determines the length of the sequencer
operation that determines the “ADC Readout Limitation”
(Equation 5) listed in the Sensor FrameRate section. The
instruction set can be shortened through register writes in
order to achieve faster frame rates. Instructions for
shortening the sequencer can be found in the AR0330CS
Developer Guide.
The sequencer digital block can be reprogrammed using
the following instructions:
Program a new sequencer.
1. Place the sensor in standby
2. Write 0x8000 to R0x3088 (“seq_ctrl_port”)
3. Write each instruction incrementally to R0x3086
Each write must be 16bit consisting of two bytes
{Byte[N], Byte[N+1]}
4. If the sequencer consists of an odd number of
bytes, set the last byte to “0”
Read the instructions stored in the sequencer.
1. Place the sensor in standby
2. Write 0xC000 to R0x3088 (“seq_ctrl_port”)
3. Sequentially read 2bytes at a time from R0x3086
AR0330CS
www.onsemi.com
19
SENSOR PLL
VCO
Figure 16. Relationship Between Readout Clock and Peak Pixel Rate
EXTCLK
(627 MHz)
pre_pll_clk_div
2 (164) pll_multiplier
58 (32384) FVCO
The sensor contains a phaselocked loop (PLL) that is
used for timing generation and control. The required VCO
clock frequency is attained through the use of a prePLL
clock divider followed by a multiplier. The multiplier is
followed by set of dividers used to generate the output clocks
required for the sensor array, the pixel analog and digital
readout paths, and the output parallel and serial interfaces.
Dual Readout Paths
There are two readout paths within the sensor digital
block.
Figure 17. Sensor Dual Readout Paths
Pixel Array
All Digital
Blocks
S erial Output
CLK_PIX
CLK_PIX
Pixel Rate = 2 x CLK_PIX
= # data lanes x CLK_OP
(Parallel or MIPI)
= CLK_OP (Parallel)
(MIPI or Parallel)
All Digital
Blocks
The sensor row time calculations refers to each datapath
individually. For example, the sensor default configuration
uses 1248 clocks per row (line_length_pck) to output 2304
active pixels per row. The aggregate clocks per row seen by
the receiver will be 2496 clocks (1248 x 2 readout paths).
Parallel PLL Configuration
Figure 18. PLL for the Parallel Interface
pre_pll_clk_div
2 (164) 1 ( 1, 2, 4, 6, 8,
10, 12, 14, 16) 6 (416)
E X T C L K
( 627 MHz)
FV C O
CLK_OP
1/2 CLK_PIX
(Max 49 MPixels/s)
(Max 98 MPixel/s)
pll_multiplier
58 (32 384)
vt_sys_clk_div vt_pix_clk_div
AR0330CS
www.onsemi.com
20
The maximum output of the parallel interface is 98
Mpixel/s (CLK_OP). This will limit the readout clock
(CLK_PIX) to 49 MHz. The sensor will not use the FSERIAL,
FSERIAL_CLK when configured to use the parallel interface.
Table 19. PLL PARAMETERS FOR THE PARALLEL INTERFACE
Parameter Symbol Min Max Unit
External Clock EXTCLK 6 27 MHz
VCO Clock FVCO 384 768 MHz
Readout Clock CLK_PIX 49 MHz
Output Clock CLK_OP 98 Mpixel/s
Table 20. EXAMPLE PLL CONFIGURATION FOR THE PARALLEL INTERFACE
Parameter Value Output
FVCO 588 MHz (Max)
vt_sys_clk_div 1
vt_pix_clk_div 6
CLK_PIX 49 MHz (CLK_OP/2)
CLK_OP 98 Mpixel/s (= 588 MHz / 6)
Output pixel rate 98 MPixel/s
Serial PLL Configuration
Figure 19. PLL for the Serial Interface
FS E R IA L
E X T C L K
( 627 MHz)
FV C O
FV C O
C L K_P IX
C L K _O P
1/2 FS E R IA L _C L K
pre_pll_clk_div pll_multiplier vt_sys_clk_div vt_pix_clk_div
2 (164) 1 ( 1, 2, 4, 6, 8,
10, 12, 14, 16) 6 (416)
58 (32 384)
op_sys_clk_div
(constant = 1)
op_pix_clk_div
12 (8, 10, 12)
The sensor will use op_sys_clk_div and op_pix_clk_div
to configure the output clock per lane (CLK_OP). The
configuration will depend on the number of active lanes (1
or 2) configured. To configure the sensor protocol and
number of lanes, refer to “Serial Configuration”.
AR0330CS
www.onsemi.com
21
Table 21. PLL PARAMETERS FOR THE SERIAL INTERFACE
Parameter Symbol Min Max Unit
External Clock EXTCLK 6 27 MHz
VCO Clock FVCO 384 768 MHz
Readout Clock CLK_PIX 98 MHz
Output Clock CLK_OP 98 Mpixel/s
Output Serial Data Rate Per Lane FSERIAL 384 (MIPI) 768 (MIPI) Mbps
Output Serial Clock Speed Per Lane FSERIAL_CLK 192 (MIPI) 384 (MIPI) MHz
The serial output should be configured so that it adheres
to the following rules:
The maximum datarate per lane (FSERIAL) is
768 Mbps/lane (MIPI)
The output pixel rate per lane (CLK_OP) should be
configured so that the sensor output pixel rate matches
the peak pixel rate (2 x CLK_PIX)
2lane: 2 x CLK_OP = 2 x CLK_PIX = Pixel Rate
1lane: 1 x CLK_OP = 2 x CLK_PIX = Pixel Rate
Table 22. EXAMPLE PLL CONFIGURATIONS FOR THE SERIAL INTERFACE
Parameter
2lane 1lane
Notes
12bit 10bit 12bit 10bit 8bit
FVCO 768 760 768 768 768 MHz
vt_sys_clk_div 2 2 4 4 4
vt_pix_clk_div 6 5 6 5 4
op_sys_clk_div 1 1 1 1 1
op_pix_clk_div 12 10 12 10 8
FSERIAL 768 760 768 768 768 MHz
FSERIAL_CLK 384 380 384 384 384 MHz
CLK_PIX 64 76 32 38.4 48 MHz
CLK_OP 64 76 64 76.8 96 Mpixel/s
Pixel Rate 128 144 64 76.8 96 Mpixel/s
PIXEL OUTPUT INTERFACES
Parallel Interface
The parallel pixel data interface uses these outputonly
signals:
FV
LV
PIXCLK
DOUT[11:0]
The parallel pixel data interface is disabled by default at
power up and after reset. It can be enabled by programming
R0x301A. Table 24 shows the recommended settings.
When the parallel pixel data interface is in use, the serial
data output signals can be left unconnected. Set
reset_register[12] to disable the serializer while in parallel
output mode.
Output Enable Control
When the parallel pixel data interface is enabled, its
signals can be switched asynchronously between the driven
and HighZ under pin or register control, as shown in
Table 23.
AR0330CS
www.onsemi.com
22
Table 23. OUTPUT ENABLE CONTROL
OE_BAR Pin Drive Signals R0x301A–B[6] Description
Disabled 0 Interface HighZ
Disabled 1 Interface driven
1 0 Interface HighZ
X 1 Interface driven
0 X Interface driven
Configuration of the Pixel Data Interface
Fields in R0x301A are used to configure the operation of
the pixel data interface. The supported combinations are
shown in Table 23.
Table 24. CONFIGURATION OF THE PIXEL DATA INTERFACE
Serializer
Disable
R0x301
A–B[12]
Parallel
Enable
R0x301A–B[7]
Standby
EndofFrame
R0x301A–B[4] Description
0 0 1 Power up default.
Serial pixel data interface and its clocks are enabled. Transitions to soft
standby are synchronized to the end of frames on the serial pixel data
interface
1 1 0 Parallel pixel data interface, sensor core data output. Serial pixel data interface
and its clocks disabled to save power. Transitions to soft standby are
synchronized to the end of the current row readout on the parallel pixel data
interface
1 1 1 Parallel pixel data interface, sensor core data output. Serial pixel data interface
and its clocks disabled to save power. Transitions to soft standby are
synchronized to the end of frames in the parallel pixel data interface
MIPI Interface
The serial pixel data interface uses the following
outputonly signal pairs:
DATA1_P
DATA1_N
DATA2_P
DATA2_N
CLK_P
CLK_N
The signal pairs use both singleended and differential
signaling, in accordance with the the MIPI Alliance
Specification for DPHY v1.00.00. The serial pixel data
interface is enabled by default at power up and after reset.
The DATA0_P, DATA0_N, DATA1_P, DATA1_N,
CLK_P and CLK_N pads are set to the Ultra Low Power
State (ULPS) if the serial disable bit is asserted
(R0x301AB[12] = 1) or when the sensor is in the hardware
standby or soft standby system states.
When the serial pixel data interface is used, the
LINE_VALID, FRAME_VALID, PIXCLK and
DOUT[11:0] signals (if present) can be left unconnected.
Serial Configuration
The serial format should be configured using R0x31AC.
This register should be programmed to 0x0C0C when using
the parallel interface.
The R0x01123 register can be programmed to any of the
following data format settings that are supported:
0x0C0C – Sensor supports RAW12 uncompressed data
format
0x0C0A – The sensor supports RAW12 compressed
format (10bit words) using 1210 bit ALAW
Compression. See “Compression”
0x0A0A – Sensor supports RAW10 uncompressed data
format. This mode is supported by discarding all but the
upper 10 bits of a pixel value
0x0808 – Sensor supports RAW8 uncompressed data
format. This mode is supported by discarding all but the
upper 8 bits of a pixel value (MIPI only)
The serial_format register (R0x31AE) register controls
which serial interface is in use when the serial interface is
AR0330CS
www.onsemi.com
23
enabled (reset_register[12] = 0). The following serial
formats are supported:
0x0201 – Sensor supports singlelane MIPI operation
0x0202 – Sensor supports duallane MIPI operation
The MIPI timing registers must be configured differently
for 10bit or 12bit modes. These modes should be
configured when the sensor streaming is disabled. See
Table 25.
0x0A0A – Sensor supports RAW10 uncompressed data
format. This mode is supported by discarding all but the
upper 10 bits of a pixel value
0x0808 – Sensor supports RAW8 uncompressed data
format. This mode is supported by discarding all but the
upper 8 bits of a pixel value (MIPI only)
The serial_format register (R0x31AE) register controls
which serial interface is in use when the serial interface is
enabled (reset_register[12] = 0). The following serial
formats are supported:
0x0201 – Sensor supports singlelane MIPI operation
0x0202 – Sensor supports duallane MIPI operation
The MIPI timing registers must be configured differently
for 10bit or 12bit modes. These modes should be
configured when the sensor streaming is disabled. See
Table 25.
Table 25. RECOMMENDED MIPI TIMING CONFIGURATION
Register
Configuration
Description
10bit, 490 Mbps/lane 12bit, 588 Mbps/lane
Clocking: Continuous
0x31B0 40 36 Frame Preamble
0x31B2 14 12 Line Preamble
0x31B4 0x2743 0x2643 MIPI Timing 0
0x31B6 0x114E 0x114E MIPI Timing 1
0x31B8 0x2049 0x2048 MIPI Timing 2
0x31BA 0x0186 0x0186 MIPI Timing 3
0x31BC 0x8005 0x8005 MIPI Timing 4
0x31BE 0x2003 0x2003 MIPI Config Status
PIXEL SENSITIVITY
Figure 20. Integration Control in ERS Readout
Row Integration
(TINTEGRATION)
Row Reset
(Start of integration)
Row Readout
A pixel’s integration time is defined by the number of
clock periods between a row’s reset and read operation. Both
the read followed by the reset operations occur within a row
period (TROW) where the read and reset may be applied to
different rows. The read and reset operations will be applied
to the rows of the pixel array in a consecutive order.
The integration time in an ERS frame is defined as:
TINTEGRATION +TCOARSE *TFINE (eq. 13)
The coarse integration time is defined by the number of
row periods (TROW) between a row’s reset and the row read.
The row period is the defined as the time between row read
operations (see Sensor Frame Rate).
TCOARSE +TROW coarse_inegration_time (eq. 14)
AR0330CS
www.onsemi.com
24
Figure 21. Example of 8.33 ms Integration in 16.6 ms Frame
Vertical Blanking
Read
Reset
Vertical Blanking
Horizontal Blanking
TFRAME
= frame_length_lines x TROW
16.6 ms = 1308 rows x 12.7 ms/row
TCOARSE = coarse_integration_time x TROW
8.33 ms = 654 rows x 12.7 ms/row
Time
The fine integration is then defined by the number of pixel
clock periods between the row reset and row read operation
within TROW. This period is defined by the
fine_integration_time register.
Figure 22. Row Read and Row Reset Showing Fine Integration
Start of Read Row N
and Reset Row K
Start of Read Row N + 1
and Reset Row K + 1
TFINE
= fine_integration _time x (1/CLK_PIX)
TROW = line_length _pck x (1/CLK_PIX)
Read Row N Reset Row K
TFINE +fine_inegration_timeńclk_pix (eq. 15)
The maximum allowed value for fine_integration_time is
line_length_pck 1204.
ON Semiconductor recommends that the
fine_integration_time in the AR0330CS be left at zero.
Figure 23. The Row Integration Time is Greater Than the Frame Readout Time
TCOARSE ROW
Time
Read
Pointer
Shutter
Pointer
TFRAME ROW
4.1 ms
Vertical Blanking
Horizontal Blanking
Image
Vertical Blanking
Extended Vertical Blanking
Horizontal Blanking
Image
16.6 ms = 1308 rows x 12.7 ms/row
20.7 ms = 1634 rows x 12.7 ms/row
= frame_length_lines x T
= coarse_integration_time x T
AR0330CS
www.onsemi.com
25
The minimum frametime is defined by the number of
row periods per frame and the row period. The sensor
frametime will increase if the coarse_integration_time is
set to a value equal to or greater than the frame_length_lines.
The maximum integration time can be limited to the frame
time by setting R0x30CE[5] to 1.
AR0330CS
www.onsemi.com
26
GAIN STAGES
The analog gain stages of the AR0330CS sensor are
shown in Figure 24. The sensor analog gain stage consists of
column amplifiers and a variable ADC reference. The sensor
will apply the same analog gain to each color channel.
Digital gain can be configured to separate levels for each
color channel.
Figure 24. Gain Stages in AR0330CS Sensor
ADC
Reference
Digital Gain
with Dithering
Coarse Gain:
1x, 2x, 4x, 8x
Fine Gain:
12x: 16 steps
24x: 8 steps
48x: 4 steps
1x to 15.992x
(128 steps per 6dB)
“xxxx.Yyyy”
xxxx(150)
yyyyyyy( 127/128 to 0)
The level of analog gain applied is controlled by the
coarse_gain and fine_gain registers. The analog readout can
be configured differently for each gain level. The
recommended gain tables are listed in Table 26. It is
recommended that these registers are configured before
streaming images.
Table 26. RECOMMENDED SENSOR ANALOG GAIN TABLES
COARSE_GAIN FINE_GAIN Total Gain COARSE_GAIN FINE_GAIN Total Gain
R0x3060
[5:4]
Gain
(x) R0x3060[3:0]
Gain
(x) (x) (dB) R0x3060 [5:4]
Gain
(x)
R0x3060
[3:0]
Gain
(x) (x) (dB)
0 1 0 1.00 1.00 0.00 0 1x 15 1.88 1.88 5.49
0 1 1 1.03 1.03 0.26 1 2x 0 1.00 2.00 6.00
0 1 2 1.07 1.07 0.56 1 2x 2 1.07 2.13 6.58
0 1 3 1.10 1.10 0.86 1 2x 4 1.14 2.29 7.18
0 1 4 1.14 1.14 1.16 1 2x 6 1.23 2.46 7.82
0 1 5 1.19 1.19 1.46 1 2x 8 1.33 2.67 8.52
0 1 6 1.23 1.23 1.80 1 2x 10 1.45 2.91 9.28
0 1 7 1.28 1.28 2.14 1 2x 12 1.60 3.20 10.10
0 1 8 1.33 1.33 2.50 1 2x 14 1.78 3.56 11.02
0 1 9 1.39 1.39 2.87 2 4x 0 1.00 4.00 12.00
0 1 10 1.45 1.45 3.25 2 4x 4 1.14 4.57 13.20
0 1 11 1.52 1.52 3.66 2 4x 8 1.33 5.33 14.54
0 1 12 1.60 1.60 4.08 2 4x 12 1.60 6.40 16.12
0 1 13 1.68 1.68 4.53 3 8x 0 1.00 8.00 18.00
0 1 14 1.78 1.78 5.00
Each digital gain can be configured from a gain of 0 to
15.992. The digital gain supports 128 gain steps per 6dB of
gain. The format of each digital gain register is
“xxxx.yyyyyyy” where “xxxx” refers an integer gain of 1 to
15 and “yyyyyyy” is a fractional gain ranging from 0/128 to
127/128.
The sensor includes a digital dithering feature to reduce
quantization resulting from using digital gain can be
implemented by setting R0x30BA[5] to 1. The default value
is 0. Refer to “RealTime Context Switching” for the analog
and digital gain registers in both context A and context B
modes.
AR0330CS
www.onsemi.com
27
Refer to “RealTime Context Switching” for the analog
and digital gain registers in both context A and context B
modes.
AR0330CS
www.onsemi.com
28
DATA PEDESTAL
The data pedestal is a constant offset that is added to pixel
values at the end of datapath. The default offset is 168 and
is a 12bit offset. This offset matches the maximum range
used by the corrections in the digital readout path.
The data pedestal value can be changed if the lock register
bit (R0x301A[3]) is set to “0”. This bit is set to “1” by
default.
SENSOR READOUT
Image Acquisition Modes
The AR0330CS supports two image acquisition modes:
1. Electronic rolling shutter (ERS) mode
This is the normal mode of operation. When the
AR0330CS is streaming; it generates frames at a
fixed rate, and each frame is integrated (exposed)
using the ERS. When the ERS is in use, timing
and control logic within the sensor sequences
through the rows of the array, resetting and then
reading each row in turn. In the time interval
between resetting a row and subsequently reading
that row, the pixels in the row integrate incident
light. The integration (exposure) time is controlled
by varying the time between row reset and row
readout. For each row in a frame, the time between
row reset and row readout is the same, leading to a
uniform integration time across the frame. When
the integration time is changed (by using the
twowire serial interface to change register
settings), the timing and control logic controls the
transition from old to new integration time in such
a way that the stream of output frames from the
AR0330CS switches cleanly from the old
integration time to the new while only generating
frames with uniform integration. See “Changes to
Integration Time” in the AR0330CS Register
Reference
2. Global reset mode
This mode can be used to acquire a single image at
the current resolution. In this mode, the end point
of the pixel integration time is controlled by an
external electromechanical shutter, and the
AR0330CS provides control signals to interface to
that shutter.
The benefit of using an external electromechanical
shutter is that it eliminates the visual artifacts
associated with ERS operation. Visual artifacts
arise in ERS operation, particularly at low frame
rates, because an ERS image effectively integrates
each row of the pixel array at a different point in
time
Window Control
The sequencing of the pixel array is controlled by the
x_addr_start, y_addr_start, x_addr_end, and y_addr_end
registers. The x_addr_start equal to 6 is the minimum setting
value. The y_addr_start equal to 6 is the minimum setting
value. Please refer to Table 27 and Table 28 for details.
Table 27. PIXEL COLUMN CONFIGURATION
Column Address Number Type Notes
0–5 6 Active Border columns
6–2309 2304 Active Active columns
2310–2315 6 Active Border columns
Table 28. PIXEL ROW CONFIGURATION
Row Address Number Type Notes
2–5 4 Active Not used in case of “edge effects”
6–1549 1544 Active Active rows
1550–1555 6 Active Not used in case of “edge effects”
AR0330CS
www.onsemi.com
29
Readout Modes
Horizontal Mirror
When the horizontal_mirror bit (R0x3040[14]) is set in
the image_orientation register, the order of pixel readout
within a row is reversed, so that readout starts from
x_addr_end + 1and ends at x_addr_start. Figure 25 shows a
sequence of 6 pixels being read out with R0x3040[14] = 0
and R0x3040[14] = 1. Changing R0x3040[14] causes the
Bayer order of the output image to change; the new Bayer
order is reflected in the value of the pixel_order register.
Figure 25. Effect of Horizontal Mirror on Readout Order
LINE_VALID
horizontal_mirror = 0
DOUT[11:0]
horizontal_mirror = 1
DOUT[11:0]
G0[11:0] R0[11:0] G1[11:0] R1[11:0] G2[11:0] R2[11:0]
G3[11:0] R2[11:0] G2[11:0] R1[11:0] G1[11:0] R0[11:0]
Vertical Flip
When the vertical_flip bit (R0x3040[15]) is set in the
image_orientation register, the order in which pixel rows are
read out is reversed, so that row readout starts from
y_addr_end and ends at y_addr_start. Figure 30 shows a
sequence of 6 rows being read out with R0x3040[15] = 0 and
R0x3040[15] = 1. Changing this bit causes the Bayer order
of the output image to change; the new Bayer order is
reflected in the value of the pixel_order register.
Figure 26. Effect of Vertical Flip on Readout Order
FRAME_VALID
vertical_flip = 0
DOUT[11:0]
vertical_flip = 1
DOUT[11:0]
Row0[11:0] Row1[11:0] Row2[11:0] Row3[11:0] Row4[11:0] Row5[11:0]
Row6[11:0] Row5[11:0] Row4[11:0] Row3[11:0] Row2[11:0] Row1[11:0]
SUBSAMPLING
The AR0330CS supports subsampling. Subsampling
allows the sensor to read out a smaller set of active pixels by
either skipping or binning pixels within the readout window.
The working modes described in the data sheet that use
subsampling are configured to use either 2x2 or 3x3
subsampling.
Figure 27. Horizontal Binning in the AR0330CS Sensor
Isb
Isb
Horizontal binning is achieved either in the pixel readout
or the digital readout. The sensor will sample the combined
2x or 3x adjacent pixels within the same color plane.
AR0330CS
www.onsemi.com
30
Figure 28. Vertical Row Binning in the AR0330CS Sensor
e*
e*
Vertical row binning is applied in the pixel readout. Row
binning can be configured of 2x rows within the same color
plane.
Pixel skipping can be configured up to 2x and 3x in both
the xdirection and ydirection. Skipping pixels in the
xdirection will not reduce the row time. Skipping pixels in
the ydirection will reduce the number of rows from the
sensor effectively reducing the frame time. Skipping will
introduce image artifacts from aliasing.
The sensor increments its x and y address based on the
x_odd_inc and y_odd_inc value. The value indicates the
addresses that are skipped after each pair of pixels or rows
has been read.
The sensor will increment x and y addresses in multiples
of 2. This indicates that a GreenR and Red pixel pair will be
read together. As well, that the sensor will read a GrR row
first followed by a BGb row.
x subsampling factor +1)x_odd_inc
2(eq. 16)
y subsampling factor +1)y_odd_inc
2(eq. 17)
A value of 1 is used for x_odd_inc and y_odd_inc when
no pixel subsampling is indicated. In this case, the sensor is
incrementing x and y addresses by 1 + 1 so that it reads
consecutive pixel and row pairs. To implement a 2x skip in
the x direction, the x_odd_inc is set to 3 so that the x address
increment is 1 + 3, meaning that sensor will skip every other
GrR pair.
Table 29. CONFIGURATION FOR HORIZONTAL SUBSAMPLING
x_odd_inc Restrictions:
No subsampling x_odd_inc = 1
skip = (1 + 1) ×0.5 = 1x
The horizontal FOV must be programmed to meet the following rule:
x_addr_end *x_addr_start )1
(x_odd_inc )1)ń2+even number
Skip 2x x_odd_inc = 3
skip = (1 + 3) ×0.5 = 2x
Skip 3x x_odd_inc = 5
skip = (1 + 5) × 0.5 = 3x
Analog Bin 2x x_odd_inc = 3
skip = (1 + 3) × 0.5 = 2x
col_sf_bin_en = 1
Digital Bin 2x x_odd_inc = 3
skip = (1+3) × 0.5 = 2x
col_bin = 1
Digital Bin 3x x_odd_inc = 5
skip = (1 + 5) ×0.5 = 3x
col_bin = 1
AR0330CS
www.onsemi.com
31
Table 30. CONFIGURATION FOR VERTICAL SUBSAMPLING
y_odd_inc Restrictions:
No subsampling y_odd_inc = 1
skip = (1 + 1) × 0.5 = 1x
row_bin = 0
The horizontal FOV must be programmed to meet the following rule:
y_addr_end *y_addr_start )1
(y_odd_inc )1)ń2+even number
Skip 2x y_odd_inc = 3
skip = (1 + 3) × 0.5 = 2x
row_bin = 0
Skip 3x y_odd_inc = 5
skip = (1 + 5) × 0.5 = 3x
row_bin = 0
Analog Bin 2x y_odd_inc = 3
skip = (1 + 3) × 0.5 = 2x
row_bin = 1
AR0330CS
www.onsemi.com
32
SENSOR FRAME RATE
The time required to read out an image frame (TFRAME)
can be derived from the number of clocks required to output
each image and the pixel clock.
The framerate is the inverse of the frame period.
fps +1ńTFRAME (eq. 1)
The number of clocks can be simplified further into the
following parameters:
The number of clocks required for each sensor row
(line_length_pck)
This parameter also determines the sensor row period
when referenced to the sensor readout clock.
(TROW = line_length_pck x 1/CLK_PIX)
The number of row periods per frame
(frame_length_lines)
An extra delay between frames used to achieve a
specific output frame period (extra_delay)
TFRAME +1ń(CLK_PIX) [frame_length_lines line_lenght_pck )extra_delay) (eq. 2)
Figure 29. Frame Period Measured in Clocks
Vertical Blanking (VB)
Active Rows
Active Columns
Horizontal
Blanking
(HB)
frame_length_lines = Active Rows + VB
Row Period (TROW)
The line_length_pck will determine the number of clock
periods per row and the row period (TROW) when combined
with the sensor readout clock. The line_length_pck includes
both the active pixels and the horizontal blanking time per
row. The sensor utilizes two readout paths, as seen in
Figure 17, allowing the sensor to output two pixels during
each pixel clock.
The minimum line_length_pck is defined as the
maximum of the following three equations:
ADC Readout Limitation:
1204(ADC_HIGH_SPEED) +0
(eq. 3)
1116(ADC_HIGH_SPEED) +1(0)
or
Options to modify this limit, as mentioned in the
“Sequencer” section, can be found in the AR0330CS
Developer Guide.
Digital Readout Limitation:
1
3 ƪx_addr_end *x_addr_start
(x_odd_inc )1) 0.5 ƫ(eq. 4)
Output Interface Limitations:
1
2 ƪx_addr_end *x_addr_start
(x_odd_inc )1) 0.5 ƫ(eq. 5)
Row Periods Per Frame
The frame_length_lines determines the number of row
periods (TROW) per frame. This includes both the active and
blanking rows. The minimum_vertical_blanking value is
defined by the number of OB rows read per frame, two
embedded data rows, and two blank rows.
Minimumframe_length_lines +y_addr_end *y_addr_start
(y_odd_inc )1)ń2)minimum_vertical_blanking (eq. 6)
The sensor is configured to output frame information in
two embedded data rows by setting R0x3064[8] to 1
(default). If R0x3064[8] is set to 0, the sensor will instead
output two blank rows. The data configured in the two
embedded rows is defined in MIPI CSI2 Specification
V1.00.
AR0330CS
www.onsemi.com
33
Table 31. Minimum Vertical Blanking Configuration
R0x3180[0x00F0] OB Rows minimum_vertical_blanking
0x8 (Default) 8 OB Rows 8 OB + 4 = 12
0x4 4 OB Rows 4 OB + 4 = 8
0x2 2 OB Rows 2 OB + 4 = 6
The locations of the OB rows, embedded rows, and blank
rows within the frame readout are identified in Figure 30:
“Slave Mode Active State and Vertical Blanking” .
AR0330CS
www.onsemi.com
34
SLAVE MODE
The slave mode feature of the AR0330CS supports
triggering the start of a frame readout from a VD signal that
is supplied from an external ASIC. The slave mode signal
allows for precise control of frame rate and register change
updates. The VD signal is input to the trigger pin. Both the
GPI_EN (R0x301A[8]) and the SLAVE_MODE
(R0x30CE[4]) bits must be set to “1” to enable the slave
mode.
Figure 30. Slave Mode Active State and Vertical Blanking
OBRows (2, 4, or
8
rows)
Embedded Data Row(2 rows)
Active Data Rows
Frame Valid VD Signal
Start of frame N
Blank Rows (2 rows)
Extra Vertical Blanking
(frame_length_lines min_frame_length_lines) The period between the
rising edge of the VD signal
and the slave mode ready
Extra Delay (clocks)
Slave Mode Active State
End of frame N
Start of frame N+1
state is TFRAME 16 clocks.
Time
If the slave mode is disabled, the new frame will begin
after the extra delay period is finished.
The slave mode will react to the rising edge of the input
VD signal if it is in an active state. When the VD signal is
received, the sensor will begin the frame readout and the
slave mode will remain inactive for the period of one frame
time minus 16 clock periods (TFRAME (16 / CLK_PIX)).
After this period, the slave mode will reenter the active
state and will respond to the VD signal.
AR0330CS
www.onsemi.com
35
Figure 31. Slave Mode Example with Equal Integration and Frame Readout Periods
Active
Row 0
Row N
Inactive
Rising
Edge
Rising
Edge
Row Readout
Programmed Integration
Integration due to
Slave Mode Delay
Slave Mode
Trigger
Rising edge of VD
signal triggers the start
of the frame readout.
Row Reset
(start of integration)
Frame
Valid
VD Signal
Rising
Edge
The Slave Mode will become
“Active” after the last row period.
Both the row reset and row read
operations will wait until the rising
edge of the VD signal. .
Row reset and read
operations begin
after the rising edge
of the VD signal.
ActiveInactive
The integration of the last row is therefore started before
the end of the programmed integration for the first row.
The row shutter and read operations will stop when the
slave mode becomes active and is waiting for the VD signal.
The following should be considered when configuring the
sensor to use the slave mode:
1. The frame period (TFRAME) should be configured
to be less than the period of the input VD signal.
The sensor will disregard the input VD signal if it
appears before the frame readout is finished
2. If the sensor integration time is configured to be
less than the frame period, then the sensor will not
have reset all of the sensor rows before it begins
waiting for the input VD signal. This error can be
minimized by configuring the frame period to be
as close as possible to the desired frame rate
(period between VD signals)
AR0330CS
www.onsemi.com
36
Figure 32. Slave Mode Example Where the Integration Period is Half of the Frame Readout Period
Inactive Active
Row 0
Row N
Inactive Active
Rising
Edge
Rising
Edge
Row Readout
Programmed Integration
Integration due to
Slave Mode Delay
Slave Mode
Trigger
Row Reset
(start of integration)
Frame
Valid
VD Signal
Rising
Edge
Reset operation is
held during slave
mode “Active” state.
Row reset and read
operations begin after
the rising edge of the
Vd signal.
8.33 ms 8.33 ms
The sensor read pointer will have paused at row 0 while
the shutter pointer pauses at row N/2. The extra integration
caused by the slave mode delay will only be seen by rows 0
to N/2. The example below is for a frame readout period of
16.6 ms while the integration time is configured to 8.33 ms.
When the slave mode becomes active, the sensor will
pause both row read and row reset operations.
NOTE: The row integration period is defined as the
period from row reset to row read.
When the AR0330CS is working in slave mode, the
external trigger signal VD must have accurately controlled
timing to avoid uneven exposure in the output image. The
VD timing control should make the slave mode “wait
period” less than 32 pixel clocks.
To avoid uneven exposure, programmed integration time
cannot be larger than VD period. To increase integration
time more than current VD period, the AR0330CS must be
configured to work at a lower frame rate and read out image
with new VD to match the new timing.
The period between slave mode pulses must also be
greater than the frame period. If the rising edge of the VD
pulse arrives while the slave mode is inactive, the VD pulse
will be ignored and will wait until the next VD pulse has
arrived.
AR0330CS
www.onsemi.com
37
FRAME READOUT
The sensor readout begins with vertical blanking rows
followed by the active rows. The frame readout period can
be defined by the number of row periods within a frame
(frame_length_lines) and the row period (line_length_pck).
The sensor will read the first vertical blanking row at the
beginning of the frame period and the last active row.
Table 32. SERIAL SYNC CODES INCLUDED WITH EACH PROTOCOL INCLUDED WITH THE AR0330CS SENSOR
Interface/Protocol
Start of Vertical
Blanking Row
(SOV)
Start of Frame
(SOF)
Start of Active
Line (SOA)
End of Line
(EOL)
End of Frame
(EOF)
Parallel Parallel interface uses FRAME VALID(FV) and LINE VALID (LV) outputs to denote start and end of line and frame.
MIPI No SYNC Code Yes Yes Yes Yes
Figure illustrates how the sensor active readout time can
be minimized while reducing the frame rate.
CHANGING SENSOR MODES
Register Changes
All register writes are delayed by 1x frame. A register that
is written to during the readout of frame n will not be updated
to the new value until the readout of frame n + 2. This
includes writes to the sensor gain and integration registers.
RealTime Context Switching
In the AR0330CS, the user may switch between two full
register sets A and B by writing to a context switch change
bit in R0x30B0[13]. When the context switch is configured
to context A the sensor will reference the “Context A
Registers”. If the context switch is changed from A to B
during the readout of frame n, the sensor will then reference
the context B coarse_integration_time registers in frame
n+ 1 and all other context B registers at the beginning of
reading frame n + 2. The sensor will show the same behavior
when changing from context B to context A.
AR0330CS
www.onsemi.com
38
Table 33. LIST OF CONFIGURABLE REGISTERS FOR CONTEXT A AND CONTEXT B
Context A Context B
Register Description Address Register Description Address
Coarse_integration_time 0x3012 Coarse_integration_time_CB 0x3016
Fine_integration_time 0x3014 Fine_integration_time_CB 0x3018
Line_length_pck 0x300C Line_length_pck_CB 0x303E
Frame_length_lines 0x300A Frame_length_lines_CB 0x30AA
COL_SF_BIN_EN 0x3040[9] COL_SF_BIN_EN_CB 0x3040[8]
ROW_BIN 0x3040[12] ROW_BIN_CB 0x3040[10]
COL_BIN 0x3040[13] COL_BIN_CB 0x3040[11]
FINE_GAIN 0x3060[3:0] FINE_GAIN_CB 0x3060[11:8]
COARSE_GAIN 0x3060[5:4] COARSE_GAIN_CB 0x3060[13:12]
x_addr_start 0x3004 x_addr_start_CB 0x308A
y_addr_start 0x3002 y_addr_start_CB 0x308C
x_addr_end 0x3008 x_addr_end_CB 0x308E
y_addr_end 0x3006 y_addr_end_CB 0x3090
Y_odd_inc 0x30A6 Y_odd_inc_CB 0x30A8
X_odd_inc 0x30A2 X_odd_inc_CB 0x30AE
ADC_HIGH_SPEED 0x30BA[6] ADC_HIGH_SPEED_CB 0x30BA[7]
GREEN1_GAIN 0x3056 GREEN1_GAIN_CB 0x30BC
BLUE_GAIN 0x3058 BLUE_GAIN_CB 0x30BE
RED_GAIN 0x305A RED_GAIN_CB 0x30C0
GREEN2_GAIN 0x305C GREEN2_GAIN_CB 0x30C2
GLOBAL_GAIN 0x305E GLOBAL_GAIN_CB 0x30C4
39.ON Semiconductor recommends leaving fine_integration_time at 0.
Figure 33. Example of Changing the Sensor from Context A to Context B
Active Rows
Vertical Blanking
Time
1/60s
End of Frame
Readout
End of Frame
Readout
Start of Vertical Blanking
Start of Frame
Start of Active Row
End of Line
Serial SYNC Codes
End of Frame
Row Reset Row ReadRow Reset Row Read
1/60s
Row Reset Row ReadRow Reset Row Read
2304 x 1296 2304 x 1296
HB (192 Pixels/Column) HB (192 Pixels/Column)
VB
(12 Rows)
VB
(12 Rows)
AR0330CS
www.onsemi.com
39
COMPRESSION
The sensor can optionally compress 12bit data to 10bit
using Alaw compression. The compression is applied after
the data pedestal has been added to the data. See Figure 1:
“Block Diagram”.
The Alaw compression is disabled by default and can be
enabled by setting R0x31D0 from “0” to “1”.
Table 34. ALAW COMPRESSION TABLE FOR 1210 BITS
Input Range
Input Values Compressed Codeword
11 10 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
0 to 127 0 0 0 0 0 a b c d e f g 0 0 0 a b c d e f g
128 to 255 0 0 0 0 1 a b c d e f g 0 0 1 a b c d e f g
256 to 511 0 0 0 1 a b c d e f g X 0 1 0 a b c d e f g
512 to 1023 0 0 1 a b c d e f g X X 0 1 1 a b c d e f g
1024 to 2047 0 1 a b c d e f g h X X 1 0 a b c d e f g h
2048 to 4095 1 a b c d e f g h X X X 1 1 a b c d e f g h
TEST PATTERNS
The AR0330CS has the capability of injecting a number
of test patterns into the top of the datapath to debug the
digital logic. With one of the test patterns activated, any of
the datapath functions can be enabled to exercise it in a
deterministic fashion. Test patterns are selected by
Test_Pattern_Mode register (R0x3070). Only one of the test
patterns can be enabled at a given point in time by setting the
Test_Pattern_Mode register according to Table 35. When
test patterns are enabled the active area will receive the value
specified by the selected test pattern and the dark pixels will
receive the value in Test_Pattern_Green (R0x3074 and
R0x3078) for green pixels, Test_Pattern_Blue (R0x3076)
for blue pixels, and Test_Pattern_Red (R0x3072) for red
pixels.
Table 35. Test Pattern Modes
Test_Pattern_Mode Test Pattern Output
0No test pattern (normal operation)
1Solid Color
2100% Vertical Color Bars
3FadetoGray Vertical Color Bars
256 Walking 1s test pattern (12bit)
Solid Color
When the color field mode is selected, the value for each
pixel is determined by its color. Green pixels will receive the
value in Test_Pattern_Green, red pixels will receive the
value in Test_Pattern_Red, and blue pixels will receive the
value in Test_Pattern_Blue.
Vertical Color Bars
When the vertical color bars mode is selected, a typical
color bar pattern will be sent through the digital pipeline.
Walking 1 s
When the walking 1s mode is selected, a walking 1 s
pattern will be sent through the digital pipeline. The first
value in each row is 1.
TWOWIRE SERIAL REGISTER INTERFACE
The twowire serial interface bus enables read/write
access to control and status registers within the AR0330CS.
This interface is designed to be compatible with the
electrical characteristics and transfer protocols of the I2C
specification.
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 (SCLK) 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 (SDATA). SDATA is pulled up to VDD_IO
offchip by a 1.5 kW resistor. Either the slave or master
device can drive SDATA LOWthe interface protocol
determines which device is allowed to drive SDATA at any
given time.
AR0330CS
www.onsemi.com
40
The protocols described in the twowire serial interface
specification allow the slave device to drive SCLK LOW; the
AR0330CS uses SCLK as an input only and therefore never
drives it LOW.
Protocol
Data transfers on the twowire serial interface bus are
performed by a sequence of lowlevel 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 SCLK and SDATA 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 HIGHtoLOW
transition on SDATA while SCLK 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 LOWtoHIGH transition
on SDATA while SCLK 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 noacknowledge bit. This data transfer
mechanism is used for both the slave address/data direction
byte and for message bytes.
One data bit is transferred during each SCLK clock period.
SDATA can change when SCLK is LOW and must be stable
while SCLK 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 AR0330CS sensor are
0x20 (write address) and 0x21 (read address). Alternate
slave addresses of 0x30 (WRITE address) and 0x31 (READ
address) can be selected by asserting the SADDR signal (tie
HIGH).
Alternate slave addresses 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 8bit data transfer is followed by an acknowledge bit
or a noacknowledge bit in the SCLK clock period following
the data transfer. The transmitter (which is the master when
writing, or the slave when reading) releases SDATA. The
receiver indicates an acknowledge bit by driving SDATA
LOW. As for data transfers, SDATA can change when SCLK
is LOW and must be stable while SCLK is HIGH.
NoAcknowledge Bit
The noacknowledge bit is generated when the receiver
does not drive SDATA LOW during the SCLK clock period
following a data transfer. A noacknowledge 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 8bit 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
16bit register address to which the WRITE should take
place. This transfer takes place as two 8bit 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 8bit 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 8bit
write slave address/data direction byte and 16bit register
address, the same way as with a WRITE request. The master
then generates a (re)start condition and the 8bit 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 8bit 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 noacknowledge bit.
Single READ From Random Location
This sequence (Figure 34) starts with a dummy WRITE to
the 16bit address that is to be used for the READ. The
master terminates the WRITE by generating a restart
condition. The master then sends the 8bit read slave
address/data direction byte and clocks out one byte of
register data. The master terminates the READ by
generating a noacknowledge bit followed by a stop
condition. Figure 34 shows how the internal register address
maintained by the AR0330CS is loaded and incremented as
the sequence proceeds.
AR0330CS
www.onsemi.com
41
Figure 34. Single READ From Random Location
Previous Reg Address, N Reg Address, M M+1
S0 1 P
ASr Slave Address
S = Start Condition
P = Stop Condition
Sr = Restart Condition
A = Acknowledge
A = Noacknowledge
Slave to Master
Master to Slave
A A A A Read Data
Single READ From Current Location
This sequence (Figure 35) performs a read using the
current value of the AR0330CS internal register address.
The master terminates the READ by generating a
noacknowledge bit followed by a stop condition. The
figure shows two independent READ sequences.
Figure 35. Single READ From Current Location
Previous Reg Address, N Reg Address, N+1 N+2
S1 PSlave Address AA Read Data S1 PSlave Address AA Read Data
AA
Sequential READ, Start From Random Location
This sequence (Figure 36) starts in the same way as the
single READ from random location (Figure 34). Instead of
generating a noacknowledge 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 36. Sequential READ, Start From Random Location
Previous Reg Address, N Reg Address, M
S0 Slave Address A AReg Address[15:8]
PA
M+1
A A A1SrReg Address[7:0] Read DataSlave Address
M+L
M+L*1M+L*2
M+1 M+2 M+3
ARead Data A Read Data ARead Data Read Data
Sequential READ, Start From Current Location
This sequence (Figure 37) starts in the same way as the
single READ from current location (Figure 35). Instead of
generating a noacknowledge 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 37. Sequential READ, Start From Current Location
N+L
N+L*1
N+2N+1Previous Reg Address, N
PAS 1 Read DataASlave Address Read DataRead Data Read DataAAA
Single WRITE to Random Location
This sequence (Figure 38) begins with the master
generating a start condition. The slave address/data
direction byte signals a WRITE and is followed by the HIGH
then LOW bytes of the register address that is to be written.
The master follows this with the byte of write data. The
WRITE is terminated by the master generating a stop
condition.
AR0330CS
www.onsemi.com
42
Figure 38. Single WRITE to Random Location
SPECTRAL CHARACTERISTICS
Figure 39. Bare Die Quantum Efficiency
AR0330CS
www.onsemi.com
43
Table 36. CHIEF RAY ANGLE (CRA) 12 5
0
1
2
3
4
5
6
7
8
9
1 0
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
2 0
0 1 02 03 04 05 06 07 08 09 01 0 01 1
0
Image Height (%)
CRA (deg)
Image Height CRA
% mm deg.
0 0 0
5 0.152 .80
10 0.305 1.66
15 0.457 2.54
20 0.609 3.42
25 0.761 4.28
30 0.914 5.11
35 1.066 5.94
40 1.218 6.75
45 1.371 7.57
50 1.523 8.37
55 1.675 9.16
60 1.828 9.90
65 1.980 10.58
70 2.132 11.15
75 2.284 11.57
80 2.437 11.80
85 2.589 11.78
90 2.741 11.48
95 2.894 10.88
100 3.046 9.96
40. The CRA listed in the advanced data sheet described the 2048x1536 field of view (2.908 mm image height). This information was sufficient
for configuring the sensor to read both the 4:3 (2048x1536) and 16:9 (2304x1296) aspect ratios. The CRA information listed in the data sheet
has now been updated to represent the entire pixel array (2304x1536).
AR0330CS
www.onsemi.com
44
PACKAGE ORIENTATION IN CAMERA DESIGN
In a camera design, the package should be placed in a PCB
so that the first clear pixel is located at the bottom left of the
package (look at the package). This orientation will ensure
that the image captured using a lens will be oriented
correctly.
Figure 40. Image Orientation With Relation To Camera Lens
APix is trademarks of Semiconductor Components Industries, LLC (SCILLC) or its subsidiaries in the United States and/or other countries.
ODCSP61 6.3x6.6
CASE 570BF
ISSUE A
DATE 18 OCT 2019
MECHANICAL CASE OUTLINE
PACKAGE DIMENSIONS
ON Semiconductor and are trademarks of Semiconductor Components Industries, LLC dba ON Semiconductor or its subsidiaries in the United States and/or other countries.
ON Semiconductor reserves the right to make changes without further notice to any products herein. ON Semiconductor makes no warranty, representation or guarantee regarding
the suitability of its products for any particular purpose, nor does ON Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically
disclaims any and all liability, including without limitation special, consequential or incidental damages. ON Semiconductor does not convey any license under its patent rights nor the
rights of others.
98AON94058F
DOCUMENT NUMBER:
DESCRIPTION:
Electronic versions are uncontrolled except when accessed directly from the Document Repository.
Printed versions are uncontrolled except when stamped “CONTROLLED COPY” in red.
PAGE 1 OF 1
ODCSP61 6.3x6.6
© Semiconductor Components Industries, LLC, 2018 www.onsemi.com
PLCC48 11.43x11.43
CASE 776AM
ISSUE O
DATE 30 DEC 2014
MECHANICAL CASE OUTLINE
PACKAGE DIMENSIONS
ON Semiconductor and are trademarks of Semiconductor Components Industries, LLC dba ON Semiconductor or its subsidiaries in the United States and/or other countries.
ON Semiconductor reserves the right to make changes without further notice to any products herein. ON Semiconductor makes no warranty, representation or guarantee regarding
the suitability of its products for any particular purpose, nor does ON Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically
disclaims any and all liability, including without limitation special, consequential or incidental damages. ON Semiconductor does not convey any license under its patent rights nor the
rights of others.
98AON93135F
DOCUMENT NUMBER:
DESCRIPTION:
Electronic versions are uncontrolled except when accessed directly from the Document Repository.
Printed versions are uncontrolled except when stamped “CONTROLLED COPY” in red.
PAGE 1 OF 1
PLCC48 11.43X11.43
© Semiconductor Components Industries, LLC, 2019 www.onsemi.com
www.onsemi.com
1
ON Semiconductor and are trademarks of Semiconductor Components Industries, LLC dba ON Semiconductor or its subsidiaries in the United States and/or other countries.
ON Semiconductor owns the rights to a number of patents, trademarks, copyrights, trade secrets, and other intellectual property. A listing of ON Semiconductor’s product/patent
coverage may be accessed at www.onsemi.com/site/pdf/PatentMarking.pdf. ON Semiconductor reserves the right to make changes without further notice to any products herein.
ON Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does ON Semiconductor assume any liability
arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation special, consequential or incidental damages.
Buyer is responsible for its products and applications using ON Semiconductor products, including compliance with all laws, regulations and safety requirements or standards,
regardless of any support or applications information provided by ON Semiconductor. “Typical” parameters which may be provided in ON Semiconductor data sheets and/or
specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including “Typicals” must be validated for each customer
application by customer’s technical experts. ON Semiconductor does not convey any license under its patent rights nor the rights of others. ON Semiconductor products are not
designed, intended, or authorized for use as a critical component in life support systems or any FDA Class 3 medical devices or medical devices with a same or similar classification
in a foreign jurisdiction or any devices intended for implantation in the human body. Should Buyer purchase or use ON Semiconductor products for any such unintended or unauthorized
application, Buyer shall indemnify and hold ON Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and
expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such
claim alleges that ON Semiconductor was negligent regarding the design or manufacture of the part. ON Semiconductor is an Equal Opportunity/Affirmative Action Employer. This
literature is subject to all applicable copyright laws and is not for resale in any manner.
PUBLICATION ORDERING INFORMATION
TECHNICAL SUPPORT
North American Technical Support:
Voice Mail: 1 8002829855 Toll Free USA/Canada
Phone: 011 421 33 790 2910
LITERATURE FULFILLMENT:
Email Requests to: orderlit@onsemi.com
ON Semiconductor Website: www.onsemi.com
Europe, Middle East and Africa Technical Support:
Phone: 00421 33 790 2910
For additional information, please contact your local Sales Representative