WAT-910BD H/W MANUAL
(2)SAMPLE WAVEFORM
e.g. Change AGC MODE ( MID -> HI ) by using SPI(3wire) communucation.
*1
*2
*3
*4
*5
Step *1: Send "CAMERA PARAMETER READ1 command" to indirect registers(CAMERA: Address 0x36 - 0x3B)
to get "AGC MODE: Address=0x401" parameter from CAMERA.
Following wave form is above operation by using "SPI write command".
SS →
SCLK →
MOSI/MIS0 →
Step *2: Send "SPI read command" to get and check ST CODE(address:0x3B).
SS →
SCLK →
MOSI/MIS0 →
DO COMMAND
In this example, "ST CODE" is still "0xAA". It means that CAMERA MCU is busy.
Therefore, after about 1(mS) waiting, It needs retrying.
(MSB first)
(LSB first)
(MSB first)
MOSI DATA
(LSB first)
0
0
C
1110
1110
0
0
0101
0
1000
0
0000
0
0
A
A
A
1000
0101
0101
0000
0
1
A
0
0000
0000
0000
0000
0000
0000
0101
0
1
0110
0011
6
7
7
0
0000
0000
0000
0000
MOSI DATA
MISO DATA
- 58 -