AR0130CS
www.onsemi.com
13
REALTIME CONTEXT SWITCHING
In the AR0130, the user may switch between two full
register sets (listed in Table 6) by writing to a context switch
change bit in R0x30B0[13]. This context switch will change
all registers (no shadowing) at the frame start time and have
the new values apply to the immediate next exposure and
readout time.
Table 6. REALTIME CONTEXTSWITCHABLE REGISTERS
Register Description
Register Number
Context A Context B
Y_Addr_Start R0x3002 R0x308C
X_Addr_Start R0x3004 R0x308A
Y_Addr_End R0x3006 R0x3090
X_Addr_End R0x3008 R0x308E
Coarse_Integration_Time R0x3012 R0x3016
Fine_Integration_Time R0x3014 R0x3018
Y_Odd_Inc R0x30A6 R0x30A8
Green1_Gain (GreenR) R0x3056 R0x30BC
Blue_Gain R0x3058 R0x30BE
Red_Gain R0x305A R0x30C0
Green2_Gain (GreenB) R0x305C R0x30C2
Global_Gain R0x305E R0x30C4
Analog Gain R0x30B0[5:4] R0x30B0[9:8]
Frame_Length_Lines R0x300A R0x30AA
Digital_Binning R0x3032[1:0] R0x3032[5:4]
AR0130CS
www.onsemi.com
14
FEATURES
See the AR0130 Register Reference for additional details.
Reset
The AR0130 may be reset by using RESET_BAR (active
LOW) or the reset register.
Hard Reset of Logic
The RESET_BAR pin can be connected to an external RC
circuit for simplicity. The recommended RC circuit uses a
10 kW resistor and a 0.1 mF capacitor. The rise time for the
RC circuit is 1 ms maximum.
Soft Reset of Logic
Soft reset of logic is controlled by the R0x301A Reset
register. Bit 0 is used to reset the digital logic of the sensor
while preserving the existing twowire serial interface
configuration. Furthermore, by asserting the soft reset, the
sensor aborts the current frame it is processing and starts a
new frame. This bit is a selfresetting bit and also returns to
“0” during twowire serial interface reads.
Clocks
The AR0130 requires one clock input (EXTCLK).
PLLGenerated Master Clock
The PLL contains a prescaler to divide the input clock
applied on EXTCLK, a VCO to multiply the prescaler
output, and two divider stages to generate the output clock.
The clocking structure is shown in Figure 12. PLL control
registers can be programmed to generate desired master
clock frequency.
NOTE: The PLL control registers must be programmed
while the sensor is in the software Standby state.
The effect of programming the PLL divisors
while the sensor is in the streaming state is
undefined.
Figure 12. PLLGenerated Master Clock PLL Setup
Pre PLL
Div
(PFD)
Pre_pll_clk_div
EXTCLK
PLL
Multiplier
(VCO)
PLL Output
Div 1
SYSCLK
PIXCLK
vt_pix_clk_divvt_sys_clk_div
PLL Input
Clock
PLL Output
Clock
PLL Output
Div 2
pll_multiplier
The PLL is enabled by default on the AR0130.
To Configure and Use the PLL:
1. Bring the AR0130 up as normal; make sure that
f
EXTCLK is between 6 and 50MHz and ensure the
sensor is in software standby (R0x301A[2]= 0).
PLL control registers must be set in software
standby.
2. Set pll_multiplier, pre_pll_clk_div,
vt_sys_clk_div, and vt_pix_clk_div based on the
desired input (f
EXTCLK
) and output (f
PIXCLK
)
frequencies. Determine the M, N, P1, and P2
values to achieve the desired f
PIXCLK
using this
formula:
f
PIXCLK
= (f
EXTCLK
× M) / (N × P1 x P2)
where
M = PLL_Multiplier (R0x3030)
N = Pre_PLL_Clk_Div (R0x302E)
P1 = Vt_Sys_Clk_Div (R0x302C)
P2 = Vt_PIX_Clk_Div (R0x302A)
3. Wait 1 ms to ensure that the VCO has locked.
4. Set R0x301A[2]=1 to enable streaming and to
switch from EXTCLK to the PLLgenerated
clock.
NOTES:
1. The PLL can be bypassed at any time (sensor will
run directly off EXTCLK) by setting
R0x30B0[14]=1. However, only the parallel data
interface is supported with the PLL bypassed. The
PLL is always bypassed in software standby mode.
To disable the PLL, the sensor must be in standby
mode (R0x301A[2] = 0)
2. The following restrictions apply to the PLL tuning
parameters:
32 M 255
1 N 63
1 P1 16
4 P2 16
Additionally, the VCO frequency, defined as
f
VCO
= f
EXTCLK
× M / N
must be within 384 768 MHz and the EXTCLK
AR0130CS
www.onsemi.com
15
must be within 2 MHz f
EXTCLK
/ N 24 Mhz
The user can utilize the Register Wizard tool
accompanying DevWare to generate PLL settings
given a supplied input clock and desired output
frequency.
SpreadSpectrum Clocking
To facilitate improved EMI performance, the external
clock input allows for spread spectrum sources, with no
impact on image quality. Limits of the spread spectrum input
clock are:
5% maximum clock modulation
35 KHz maximum modulation frequency
Accepts triangle wave modulation, as well as sine or
modified triangle modulations.
Stream/Standby Control
The sensor supports two standby modes: Hard Standby
and Soft Standby. In both modes, external clock can be
optionally disabled to further minimize power consumption.
If this is done, then the “PowerUp Sequence” on page 44
must be followed.
Soft Standby
Soft Standby is a low power state that is controlled
through register R0x301A[2]. Depending on the value of
R0x301A[4], the sensor will go to standby after completion
of the current frame readout (default behavior) or after the
completion of the current row readout. When the sensor
comes back from Soft Standby, previously written register
settings are still maintained.
A specific sequence needs to be followed to enter and exit
from Soft Standby.
To Enter Soft Standby:
1. R0x301A[12] = 1 if serial mode was used
2. Set R0x301A[2] = 0
3. External clock can be turned off to further
minimize power consumption (Optional)
To Exit Soft Standby:
1. Enable external clock if it was turned off
2. R0x301A[2] = 1
3. R0x301A[12] = 0 if serial mode is used
Figure 13. Enter Standby Timing
E X T C L K
S T AN DB Y
F V
50 E X T C L K s
S DAT A
750 E X T C L K s
Register Writes Valid
Register Writes Not Valid

AR0130CSSM00SUFAH-GEVB

Mfr. #:
Manufacturer:
ON Semiconductor
Description:
BOARD EVAL 1.2 MP 1/3" CIS HB
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union