STC-C42A/C43A
Command No.
Command Descriptions
20H:
SVR[7…0]
21H:
SVR[15…8]
[The exposure time (H) of the electronic shutter]
Initial data: SVR[15…0] = 0, data range: 0 to 313
This and SHR[15…0] set the preset shutter speed (or CCD exposure time) for the electronic shutter.
The preset shutter speed is defined by the following formula:
Preset Shutter Speed = SVR[15…0] x (1H cycle time) + SHR[15…0] x (1CLK cycle time)
Notes:
1. The data in 20H through 23H reflects to the present shutter speed.
2. The camera works with the shutter off (maximum shutter speed) when both SVR[] and SHR[] are set to 0.
3. The camera works with the minimum shutter speed when this value is set to 0 and SHR[] is set between 1
and 142.
4. The value replaces by 313 automatically when this value is set to greater than 313.
22H:
SHR[7…0]
23:
SHR[15…8]
[The exposure time (CLK) of the electronic shutter]
Initial data: SHR [15…0] = 0, data range: 0 to 907
This and SVR[15…0] set the preset shutter speed (or CCD exposure time) for the electronic shutter.
The preset shutter speed is defined by the following formula:
Preset Shutter Speed = SVR[15…0] x (1H cycle time) + SHR[15…0] x (1CLK cycle time)
Notes:
1. The data in 20H through 23H reflects to the preset shutter speed.
2. The camera works with the shutter off (maximum shutter speed) when both SVR[] and SHR[] are set at 0.
3. The camera works with the minimum shutter speed when this value is set between 1 and 142 and SHR[] is
set to 0.
4. The value replaces by 907 automatically when this value is set to greater than 907.
30H:
PGA[7…0]
[The CDS gain] Initial data; PGA[7…0] = , data range: 0 to 255
This sets the CDS gain, which is the programmable gain.
CDS gain is defined by the following formula:
CDS Gain = 3.64 + 0.132 x (PGA[7…0] + GOFS[7…0]) (Unit is dB)
The analog gain of CCD output is defined by the DCS gain as shown below:
Analog gain = pre-amp (6 dB) + CDS gain (Unit is dB)
31H:
DGB[7…0]
[The digital gain] Initial data: DGB[7…0] = The value in the address 0EH, data range: 0 to 255.
This sets the digital gain.
The video output level is defined by the following formula:
Video output level = (Input video level
–CLAMP[7…0] x (1 + (DGB[7…0] / 128) + CLAMP [7…0])
Notes:
1. GOFS[7…0]: The gain offset, which is the value in the address 32H.
2. CLAMP[
7…0]: The clamp level, which is the value in the address 38H.
32H:
GOFS[7…0]
[The gain offset] Initial data: GOFS[7…0] = The value in the address 0FH, data range: 0 to 63
This sets the gain offset.
38H:
CLAMP[7…0]
[The clamp level] Initial data: CLA
MP[7…0] = The value in the address 0FH, data range: 0 to 63.
This sets the gain offset.
Application Manual
11 of 13
Rev1.0