APPLICATION NOTE
www.onsemi.com
© Semiconductor Components Industries, LLC, 2016
May, 2022 Rev. 2
1 Publication Order Number:
AND9290/D
AR1337 Register & Variable Reference onsemi
Imaging
AND9290/D
Introduction
This reference document describes the AR1337 registers.
Summary and detailed information are presented in separate
sections:
“Register Summary” on page 1
“Register Descriptions” on page 39
How to Access Registers
All the registers can be accessed by the two-wire serial
interface with 16bit addresses and 16bit data.
For more detailed information on the interface protocol of
the twowire serial interface, see the AR1337 data sheet.
Reserved Registers
All the reserved bits should not be changed. The user must
write the original values back when changing the registers.
Bad Frames
A bad frame is a frame where all rows do not have the
same integration time or where offsets to the pixel values
have changed during the frame. Many changes to the sensor
register settings can cause a bad frame. For example, when
line_length_pck (R0x0342–3) is changed, the new register
value does not affect sensor behavior until the next frame
start. However, the frame that would be read out at that frame
start will have been integrated using the old row width, so
reading it out using the new row width would result in a
frame with an incorrect integration time.
By default, bad frames are not masked. In the register
tables, the “Bad Frame” column shows where changing a
register or register field will cause a bad frame. This notation
is used:
NNo. Changing the register value will not produce a
bad frame. YYes. Changing the register value might
produce a bad frame.
YMYes; but the bad frame will be masked out when
mask_corrupted_frames (R0x0105) is set to “1.
Table 1. SMIA CONFIGURATION
Register Dec
(Hex)
Name
Data Format
(Binary)
Default Value Dec
(Hex)
R0
(R0x0000)
chip_version_reg dddd dddd dddd dddd 595
(0x0253)
R2
(R0x0002)
revision_number ???? ???? 0
(0x00)
R3
(R0x0003)
manufacturer_id ???? ???? 6
(0x06)
R4
(R0x0004)
smia_version ???? ???? 10
(0x0A)
R5
(R0x0005)
frame_count ???? ???? 255
(0xFF)
R6
(R0x0006)
pixel_order 0000 00?? 0
(0x00)
R8
(R0x0008)
data_pedestal 0000 00dd dddd dddd 42
(0x002A)
R64
(R0x0040)
frame_format_model_type ???? ???? 1
(0x01)
R65
(R0x0041)
frame_format_model_subtype ???? ???? 18
(0x12)
R66
(R0x0042)
frame_format_descriptor_0 ???? ???? ???? ???? 20592
(0x5070)
R68
(R0x0044)
frame_format_descriptor_1 ???? ???? ???? ???? 4098
(0x1002)
R70
(R0x0046)
frame_format_descriptor_2 ???? ???? ???? ???? 23600
(0x5C30)
AND9290/D
www.onsemi.com
2
Table 1. SMIA CONFIGURATION (continued)
Register Dec
(Hex)
Default Value Dec
(Hex)
Data Format
(Binary)
Name
R72
(R0x0048)
frame_format_descriptor_3 ???? ???? ???? ???? 0
(0x0000)
R74
(R0x004A)
frame_format_descriptor_4 ???? ???? ???? ???? 0
(0x0000)
R76
(R0x004C)
frame_format_descriptor_5 ???? ???? ???? ???? 0
(0x0000)
R78
(R0x004E)
frame_format_descriptor_6 ???? ???? ???? ???? 0
(0x0000)
R80
(R0x0050)
frame_format_descriptor_7 ???? ???? ???? ???? 0
(0x0000)
R82
(R0x0052)
frame_format_descriptor_8 ???? ???? ???? ???? 0
(0x0000)
R84
(R0x0054)
frame_format_descriptor_9 ???? ???? ???? ???? 0
(0x0000)
R86
(R0x0056)
frame_format_descriptor_10 ???? ???? ???? ???? 0
(0x0000)
R88
(R0x0058)
frame_format_descriptor_11 ???? ???? ???? ???? 0
(0x0000)
R90
(R0x005A)
frame_format_descriptor_12 ???? ???? ???? ???? 0
(0x0000)
R92
(R0x005C)
frame_format_descriptor_13 ???? ???? ???? ???? 0
(0x0000)
R94
(R0x005E)
frame_format_descriptor_14 ???? ???? ???? ???? 0
(0x0000)
R128
(R0x0080)
analogue_gain_capability ???? ???? ???? ???? 0
(0x0000)
R132
(R0x0084)
analogue_gain_code_min ???? ???? ???? ???? 2
(0x0002)
R134
(R0x0086)
analogue_gain_code_max ???? ???? ???? ???? 31
(0x001F)
R136
(R0x0088)
analogue_gain_code_step ???? ???? ???? ???? 1
(0x0001)
R138
(R0x008A)
analogue_gain_type ???? ???? ???? ???? 0
(0x0000)
R140
(R0x008C)
analogue_gain_m0 ???? ???? ???? ???? 1
(0x0001)
R142
(R0x008E)
analogue_gain_c0 ???? ???? ???? ???? 0
(0x0000)
R144
(R0x0090)
analogue_gain_m1 ???? ???? ???? ???? 0
(0x0000)
R146
(R0x0092)
analogue_gain_c1 ???? ???? ???? ???? 4
(0x0004)
R192
(R0x00C0)
data_format_model_type ???? ???? 1
(0x01)
R193
(R0x00C1)
data_format_model_subtype ???? ???? 5
(0x05)
R194
(R0x00C2)
data_format_descriptor_0 ???? ???? ???? ???? 2570
(0x0A0A)
R196
(R0x00C4)
data_format_descriptor_1 ???? ???? ???? ???? 2056
(0x0808)
R198
(R0x00C6)
data_format_descriptor_2 ???? ???? ???? ???? 2568
(0x0A08)
R200
(R0x00C8)
data_format_descriptor_3 ???? ???? ???? ???? 2566
(0x0A06)