WAT-910BD H/W MANUAL
Camera CTL-COMMAND is executed by inside MCU on camera DSP.
"CTL-COMMAND processing" is doing by "indirect parameter accessing".
Camera MCU check the indirect registers to fetch CTL-COMMAND, and execute it immediately.
Thus, to control camera and/or to read/write camera parameter, external MCU should send command, address,
parameter value, check-sum and status CODE to indirect registers by using SPI write method.
Indirect registers to use SPI communications are shown in following table.
The value of ST(0x3B) register shows the status of the end of normal execution / error of CTL-COMMAND,
and turns into one of the following values.
Execution of camera CTL-COMMAND is specifically expressed at the following steps.
Description
DO COMMAND (This status code is written by EXT.MCU only.)
EXEC.NORMALLY (This status code is written by CAM MCU only.)
EXEC.ERROR (This status code is written by CAM MCU only.)
3
A5
No.
CODE
1
AA
2
55
6
ST
0x003B
status CODE
5
CS
0x003A
Check sum (C1+C2+ADR+DAT)
0x0038
3
Parameter Address
0x0039
4
Parameter Data
ADR
DAT
(Fig.6-8) Indirect Registers for SPI Control
(Fig.5.2-9) ST register CODE
Symbol
2
Command2
C1
C2
Command1
0x0037
6.2 CTL-COMMAND PROTOCOL
Address
No.
Description
0x0036
1
- 28 -