Sony CXD5602 User Manual page 292

Table of Contents

Advertisement

I2C0
I2C1
SPI
Within the main loop, when a task of the I2C is called up for example, the I2C task will be executed as long as
the sequencer number assigned to the I2C task is active.
3.9.9.9 MATH_PROC Processing
The SCU internal sequencer writes data to the MATH_PROC when there is a request from the MATH_PROC.
Then, when the data is output from the MATH_PROC, the processing takes place in accordance with the internal
setting.
The presence of a request is judged by reading out the MATH_PROC_EXE register within the
SCU_MATH_PROC_REG by the internal sequencer.
The requests from the MATH_PROC occur under the following conditions. These are all controlled from the
settings of the CPU.
SEQ0 or SEQ1 (decimation filter is used)
When any of the following conditions are "true"
(1) Any of the OFST_GAIN_EN* in the OFST_GAIN_EN{0x5070} of the MATHID within the SCU_REG
is set to "1"
(2) Any from among MATHF_EN0, MAYHF_EN1, and MATHF_EN2 in the MATHFUNC_SEL{0x508c}
of the MATHID within the SCU_REG is set
(3) Any from among N1, N2, and N3 in the DECIMATION_PARAM0/1{0x5084/0x5088} of the MATHID
within the SCU_REG is set to 9 or lower
SEQ2 to SEQ9 (Normal partition)
When one of the two conditions is "true"
(1) Any of the OFST_GAIN_EN* in the OFST_GAIN_EN{0x5070} of the MATHID within the SCU_REG
is set to "1"
(2) Any from among MATHF_EN0, MAYHF_EN1, and MATHF_EN2 in the MATHFUNC_SEL{0x508c}
of the MATHID setting within the SCU_REG is set
When FIFO writing happens because of the event, the internal sequencer writes to the FIFO with the highest
priority.
Figure SCU (Sensor Control Unit)-78 Sequencer Data Flow
-292/1010-
MATH_PROC
Sequencer
Processing
CXD5602 User Manual
FIFO

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents