AR0331
34
Figure 34. Example of Changing the Sensor from Context A to Context B
Active Rows
Vertical Blanking
Time
1/60 s
End of Frame
Readout
End of Frame
Readout
Start of Vertical Blanking
Start of Frame
Start of Active Row
Serial SYNC Codes
End of Frame
1/60 s
1928x1088
Frame N
VB
(37 Rows)
HB (136 Pixels/Column)
VB
(37 Rows)
HB (136 Pixels/Column)
VB
(37 Rows)
HB (76 Pixels/Column) )
Write context A to B
during readout of Frame N
Integration time of context
B mode implemented
during readout of frame
N+1
Context B mode is
implemented in frame N+2
1/30 s
End of Frame
Readout
1928x1088
Frame N + 1
2048x1536
Frame N + 2
Combi Mode
To facilitate faster switching between linear and HDR
modes, the AR0331 includes a Combi Mode feature. When
enabled, Combi Mode loads a single (HDR) sequencer.
When switching from HDR to linear modes, the sequencer
remains the same, but only the T1 image is output. While not
optimized for linear mode operation, it allows faster mode
switching as a new sequencer load is not needed. Combi
Mode is enabled by setting bit R0x30BA[8]. See the
AR0331 Developer Guide for more information on Combi
Mode.
Compression
When the AR0331 is configured for linear mode
operation,
the sensor can optionally compress 12-bit data to
10-bit using A-law compression. The compression is
applied after the data pedestal has been added to the data. See
“Pedestals”.
The A-law compression is disabled by default and can be
enabled by setting R0x31D0 from “0” to “1”.
Table 19.
A
−
LAW COMPRESSION TABLE FOR 12
−
10 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
Temperature Sensor
The AR0331 sensor has a built-in PTAT-based
temperature sensor, accessible through registers, that is
capable of measuring die junction temperature.
The temperature sensor can be enabled by writing
R0x30B4[0]=1 and R0x30B4[4]=1. After this, the
temperature sensor output value can be read from
R0x30B2[9:0].
The value read out from the temperature sensor register is
an ADC output value that needs to be converted downstream
to a final temperature value in degrees Celsius. Since the
PTAT device characteristic response is quite linear in the
temperature range of operation required, a simple linear
function in the format of the equation below can be used to
convert the ADC output value to the final temperature in
degrees Celsius.
Temperature
+
slope
R0x30B2[9 : 0]
)
T
0
(eq. 9)
For this conversion, a minimum of two known points are
needed to construct the line formula by identifying the slope
and y-intercept “T
0
”. These calibration values can be read
from registers R0x30C6 and R0x30C8, which correspond to