STC-C42A/C43A
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])
C42A: 31
C43A: 29
-
01H
Read
Hardware versi
on (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 (32bit: 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
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 adjusted gain offset value (Backup Data) (8bit: D[7…0])
The factory
adjusted value
0 to 63
10H
Reserved (Please do not use this)
-
-
11H
Read / Write
X
The camera function mode 2 (8bit: D[7…0])
0
12H
Read / Write
X
The camera functio
n mode 3 (8bit: D[7…0])
0
13H
Reserved (Please do not use this)
-
-
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 electronic shutter (16
bit: D[7…0])
0
0 to 313
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 907
23H
Read / Write
X
The exposure time (CLK) of t
he electronic shutter (16bit: D[15…8])
24 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
-
32H
Read / Write
X
The gain
offset (6bit: D[5…0])
The value of
0FH address
-
33 to 37H
Reserved (Please do not use these)
-
-
38H
Read / Write
X
The clamp level (8bit: D[7…0])
4
0 to 31
39 to 5FH
Reserved (Please do not use these)
-
-
Application Manual
8 of 13
Rev1.0