Sony CXD5602 User Manual page 805

Table of Contents

Advertisement

3.9.12.11.8 SEQ_INSTRUCTION_n
OFFSET: 0x0264 + n x 0x02 (n = 0, ..., 127)
NAME
SEQ_INSTRUCTION_n
This parameter cannot be rewritten when the corresponding sequencer is in operation.
The following table shows the instruction formats.
(the value in the first row indicates the bit position)
Table SCU (Sensor Control Unit)-691 Sequencer Instruction Formats
INST.
15
14
NAME
TX_RX
0
REPEAT_COUNT
I2C_SLAVE
1
0
WAIT
1
1
RESERVED
1
1
TX_RX
Instructions for Tx or Rx transfer
REPEAT_COUNT is the number of times the instruction is repeated. The actual number of repeats - 1 is
set.
When TERMINATE is "1", the sequencer is completed within the main loop being executed after the
data transfer has been completed. After confirming the data, the sequencer executes instructions from
the next instruction after TERMINATE during the next execution.
[Caution]When I2C command is executed only writing or the last command of I2C command strings is
"write", you cannot set TERMINATE to "1".
When RESTART is "1", the transfer starts by the RESTART condition (this is ignored in SPI transfers).
When STOP is "1", STOP of I2C is executed after the transfer (this is ignored in SPI transfers).
When RESTART and STOP are both "1", the transfer starts at RESTART and completes at STOP.
When IS_READ is "1", this indicates Rx transfer, when "0", it indicates Tx transfer.
WDATA is writing data.
I2C_SLAVE
Instructions that set the I2C slave address (this is ignored in SPI transfers).
When IS_10_BITS is "1", this indicates the 10 bit addressing mode.
Table SCU (Sensor Control
Field Name
INSTRUCTION
13
12
11
TERMIN
ATE
0
IS_10_BITS
0
0
0
1
Reserved
-805/1010-
Unit)-690)
Bit
RW
Description
[15:0]
RW
Sequencer instructions
10
9
8
RESTA
STOP
IS_READ
RT
SLAVE_ADDRESS
CXD5602 User Manual
7
6
5
4
3
2
1
WDATA
WAIT_COUNT
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents