STC-A33A
User Guide
27
Rev 1.0
D.
The Camera Control Command
1. The Camera Command List
Notes:
The data unit of each command is 1 byte (8bit).
The data can be saved to the EEPROM if there is “X” in the “Save to EEPROM” column in the below list.
The camera initializes based on the stored data in the EEPROM when the power is applied.
Command
No.
Read / Write
Save to
EEPROM
Function
Initial
Data
Data
Range
00H
Read
Product code (8bit: D[7…0])
17
-
01H
Read
Hardware version (8bit: D[7…0])
ROMdata
-
02H
Read
Firmware version (16bit: D[15…8])
D[15…12]: The integer, D[11…8]: 1
st
place of the decimal
ROMdata
-
03H
Read
Firmware version 16bit D[7…0])
D[7…4]: 2
nd
place of the decimal,
D[3…0]: 3
rd
place of the decimal
04H
Read / Write
X
Serial number (32bi
t: D[31…24])
D[31…28]: 0, D[27…24]: 7
th
figure
The factory
set value
-
05H
Read / Write
X
Serial number (32bit: D[23…16])
D[23…20]: 6
th
figure, D[19…16]: 5
th
figure
06H
Read / Write
X
Serial number (32bit: D[15…8])
D[15…12]: 4
th
figure, D[11…8]: 3
rd
figure
07H
Read / Write
X
Serial number (32bit: D[8…0])
D[7…4]: 2nd figure, D[3…0]: 1
st
figure
08H
Read / Write
X
Customer Code (8bit: D[7…0])
0
-
09 to 0CH
Read / Write
Reserved (Please do not use these)
-
-
0DH
Read / Write
X
The factory adjusted DAC reference voltage value (Back up Data)
(8bit: D[7…0])
The factory
adjusted value
0EH
Read / Write
X
The factory adjusted the digital gain value (Backup data) (8bit: D[7…0])
The factory
adjusted value
0 to 255
0FH
Read / Write
X
The factory adjuste
d gain offset value (Backup Data) (8bit: D[7…0])
The factory
adjusted value
0 to 63
10H
Read / Write
X
The camera function mode 1 (8bit: D[7…0])
1
11H
Read / Write
X
The camera function mode 2 (8bit: D[7…0])
0
12H
Read / Write
X
The camera function mo
de 3 (8bit: D[7…0])
0
13H
Read / Write
X
The camera function mode 4 (8bit: D[7…0])
0
14H
Read / Write
X
The communication mode (8bit: D[7…0])
0
15 to 1FH
Reserved (Please do not use these)
-
-
20H
Read / Write
X
The exposure time (H) of the electr
onic shutter (16bit: D[7…0])
0
0 to
4095
21H
Read / Write
X
The exposure time (H) of the electronic shutter (16bit: D[15…8])
22H
Read / Write
X
The exposure time (CLK) of the electronic shutter (16bit: D[7…0])
0
0 to
779
23H
Read / Write
X
The exposur
e time (CLK) of the electronic shutter (16bit: D[15…8])
24H
Read / Write
X
The start line of the variable partial scanning (16bit: D[7…0])
0
0 to
493
25H
Read / Write
X
The start line of the variable partial scanning (16bit: D[15…8])
26H
Read / Write
X
The effective lines of the variable partial scanning 916bit: D[7…0])
494
0 to
494
27H
Read / Write
X
The effective lines of the variable partial scanning (16bit: D[15…8])
28H
Read / Write
X
The delay time of the trigger (8bit: D[7…0])
0
0 to 31
29 to 2FH
Reserved (Please do not use these)
-
-
30H
Read / Write
X
CDS gain (8bit: D[7…0])
0
0 to 255
31H
Read / Write
X
The digital gain (8bit: D[7…0])
The value of
0EH address
-