No. 17S142-00
STC-HD853HDMI
Product specifications and User’s guide
58/81
8.3 Camera control commands
All data in this section is described in “Hexadecimal format (HEX)”.
The command list for the communication
Command
(HEX)
Command details
4A
The command to read / write to IC (EEPROM, uCOM or DSP) on camera.
In the case of writing, if 256 bytes data must be written, data must be written eight times separately since
maximum number of addresses can be written at once is 32 addresses.
[SLV]:
Slave address (Please refer “Slave address list”)
[START_H] x 16 + [START_L]:
Start address (0000 to 0DFF)
[END_H] x 16 + [END_L]:
End address (0000 to 0DFF)
[Data (i)]:
Data on address I
[DataLenH]:
Upper Byte of “[END_H] x16 + [END_L]” –
“[START_H] x 16 + [START_L]” + 6
[DataLenL]:
Lower Byte of “[END_H] x16 + [END_L]” –
“[START_H] x 16 + [START_L]” + 6
The format for reading from IC on camera
・
Sending 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]”
・
Receiving data
02, 4A, [DataLenH], [DataLenL], [SLV], [START_H], [START_L], [END_H], [END_L], [DATA (START)],
[DATA (START + 1)], … , [DATA (END)], [CHK], 03
[CHK] = Lower 8bits of “4A + [DataLenH] + [DataLenL] + [SLV] + [START_H] + [START_L] + [END_H]
+
[END_L] + [DATA (START)] + [DATA (START + 1)] + … + [DATA (END)]”
e.g. Sending command read data from 0000 to 03FF addresses of IC (Slave address: 21[h])
(02, 4A, 00, 05, 21, 00, 00, 03, FF, 72, 03)