AR0331
33
CHANGING SENSOR MODES
Register Changes
All register writes are delayed by one 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.
Real-Time Context Switching
In the AR0331, 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.
Table 18.
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
line_length_pck
0x300C
line_length_pck_cb
0x303E
frame_length_lines
0x300A
frame_length_lines_cb
0x30AA
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
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
operation_mode_ctrl
0x3082
operation_mode_ctrl_cb
0x3084
bypass_pix_comb
0x318E[13:12]
bypass_pix_comb_cb
0x318E[15:14]