No. 13S054-10
STC-HD203DV / STC-HD203DV-CS / STC-HD203SDI / STC-HD203SDI-CS
Product Specifications and Users Guide
35/78
7.3 Camera control commands
All data in this section is described in Hexadecimal format (HEX).
The command list for the communication
Command
(HEX)
Details
4A The format for reading data to the camera IC’s is as follows:
In the case of writing, since maximum number of addresses can be written at once is 32
addresses,
data must be written 8 times separately if 256 bytes data must be written.
[SLV]: Slave Address
(Please refer to the Slave address for the ICs (8 bits) list)
[START_H] x 16 + [START_L]: Star Address (0000 to 03FF)
[END_H] x 16 + [END_L]: End Address (0000 to 03FF)
[Data (i)]: Data on Address i
[DataLenH]: Upper Byte of
[END_H] x 16 + [END_L] - [START_H] x 16 + [START_L] + 6
[DataLenL]: Lower Byte of
[END_H] x 16 + [END_L] - [START_H] x 16 + [START_L] + 6
The format for reading data to the camera IC’s is as follows:
Send data
02, 4A, 00, 05, [SLV], [START_H], [START_L], [END_H], [END_L], [CHK], 03
[CHK] = Lower 8bits of
“4A + 00 + 05 + [SLV] + [START_H] + [START_L] + [END_H] + [END_L]”
Receive Data
02, 4A, [DataLenH], [DataLenL], [SLV], [START_H], [START_L], [END_H], [END_L],
[DATASTART], [DATASTART + 1], … , [DATAEND], [CHK], 03
[CHK] = Lower 8bits of
“4A + [DataLenH] + [DataLenL] + [SLV] + [START_H] + [START_L] + [END_H] +
[END_L] + [DATASTART] + [DATASTART + 1] + … + [DATAEND]”
*An example of sending a command to read out all data (address 0000 to 07FF) from the IC
(IC slave address is 50) is as follows:
(02, 4A, 00, 03, 50, 00, 00, 07, FF, A3, 03)