CMOS Sensor Interface Module
Address 0—Red
•
Address 2—Green
•
Address 4—Blue
•
Address 6— Focus
•
31.6.5 Sensor Interface Signals
There are two sensor interface signals used by the CSI module:
BAYER_DATA [7:0]—These eight bits contain the incoming Bayer data.
•
BAYER_DATA_VALID—This signal is used by the CMOS sensor valid bit.
•
31.6.6 Statistic Control Signals
The statistic control signals used by the CSI module are described in the following sections.
31.6.6.1 Start of Frame
The Start of Frame (SOF) signal is a pulse (from low to high and then a high to low) that triggers the
statistic block operation.
31.6.6.2 Auto Focus Spread
For more information on Auto Focus Spread (AFS), see Section 31.5.2, "CSI Control Register 2," on page
31-8.
G1
G2
AFS = 00: G1–G2, G3–G4, G5–G6, G7–G8
AFS = 01: G1–G3, G2–G4, G5–G7, G6–G8
AFS = 1x: G1–G5, G2–G6, G3–G7, G4–G8
31.6.7 Statistic Output and DMA Signals
31.6.7.1 Statistic Data Out
This is the STAT [31:0] field of CSI Statistic FIFO Register 1. The Statistic Data Out
(STATS_DATA_OUT [31:0]) field contains the output data for the red, green, blue, and focus statistic.
The sequence of the data is 32 bits for red (2 bytes) and green pixels (2 bytes) followed by another 4 bytes
for blue and focus in the next cycle.
31.6.7.2 Statistic FIFO Full
The Statistic FIFO Full (STATS_FIFO_FULL) bit indicates that the CSI Statistic FIFO Register 1 is full
and that a DMA request should be initiated.
31.6.7.3 Statistic Data Request
The Statistic Data Request (STATS_DATA_REQ) bit indicates a request to read the statistic data in CSI
Statistic FIFO Register 1.
31-16
G3
G4
G5
G6
Figure 31-5. Auto Focus Spread
MC9328MX1 Reference Manual
G7
G8
Group of green pixels
MOTOROLA