AN2414 Freescale Semiconductor / Motorola, AN2414 Datasheet

no-image

AN2414

Manufacturer Part Number
AN2414
Description
CMOS Signal Interface (CSI) Module Supplementary Information for MC9328MX1 and MC9328MXL Application Note
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Engineering Draft / Preliminary
Application Note
AN2414/D
Rev. 0, 04/2003
MC9328MX1/MXL
CMOS Signal Interface
(CSI) Module
Supplementary
Information
By Cliff Wong
1 Introduction . . . . . . . . . . 1
2 Operation of
3 Sensor Interface
4 Sensor Interface
5 Statistics. . . . . . . . . . . . . 8
This document contains information on a new product. Specifications and information herein are subject to change
without notice. © Motorola, Inc., 2003. All rights reserved.
FIFOs Clear. . . . . . . . . . . 1
Operation . . . . . . . . . . . . 3
Timing . . . . . . . . . . . . . . . 5
1 Introduction
This document provides information on the architecture of the CSI module in addition to the
datasheet. Programmers should read about this before they write software drivers for sensors.
There are 3 main topics being in concern. (1) Operation of FIFO Clear, (2) Sensor Interface
Operation, (3) Sensor Interface Timing Details & (4) Principles of Statistical Block.
The design changes from rev1.0 to rev2.0 are also described.
2 Operation of FIFOs Clear
The RXFIFO & STATFIFO need to be reset and clear for every frame before the real data
comes in. This is usually done with respect to the Start Of Frame (SOF) interrupt. However
certain degree of control is provided for the user, through setting the FIFO Clear Control
(FCC) bit in the CSI Control Register 1. There are 2 different modes.
2.1 Synchronous FIFO Clear
"SYNC Clear" means FIFO is being reset and cleared at the time when SOF arrives. There is
a bug in MX1 rev1.0. It has been fixed in MX1 v2.0, but the mechanism is a little bit
different.
MX1 v1.0
SYNC Clear works according to the settings of FCC, CLR_RXFIFO & CLR_STATFIFO
bits. Sync mode is selected by setting FCC = ’1’. However FIFO clear would not take place
until CLR_RXFIFO & CLR _STATFIFO bits are set to ’1’. Then FIFO clear operation will
be effective on next SOF. After the operation has been completed, CLR_RXFIFO &
CLR_STATFIFO bits are reset by interal logic, software needs to set them again before next
frame arrives.
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com

Related parts for AN2414

AN2414 Summary of contents

Page 1

... Freescale Semiconductor, Inc. Application Note AN2414/D Rev. 0, 04/2003 MC9328MX1/MXL CMOS Signal Interface (CSI) Module Supplementary Information By Cliff Wong 1 Introduction 1 Introduction . . . . . . . . . . 1 This document provides information on the architecture of the CSI module in addition to the 2 Operation of FIFOs Clear datasheet. Programmers should read about this before they write software drivers for sensors. ...

Page 2

Freescale Semiconductor, Inc. Operation of FIFOs Clear st 1 SOF FIFO clear takes place Write CLR_RXFIFO = ’1’ Write CLR_STATFIFO = ’1’ Write FCC = ’1’ MX1 v2.0 SYNC FIFO Clear is selected by setting FCC bit to ’1’. This ...

Page 3

Freescale Semiconductor, Inc. 2. Set CLR_STATFIFO to ’1’, then STAT FIFO is cleared immediately & kept at reset state. 3. When SOF arrives, STAT FIFO is released from reset state and starts working. 4. Set CLR_RXFIFO to ’1’, then RX ...

Page 4

Freescale Semiconductor, Inc. Sensor Interface Operation HSYNC is an active high signal that encapsulates valid pixel clocks. HSYNC & PIXCLK are passed through a logical-AND operation to generate valid pixel clocks. HSYNC & PIXCLK => Valid PIXCLK So, data is ...

Page 5

Freescale Semiconductor, Inc. 4 Sensor Interface Timing 4.1 Gated Clock Mode, Pixel Clock Rising-Edge Active VSYNC HSYNC PIXCLK DATA[7..0] Parameter PIXCLK Freq PIXCLK High Time PIXCLK Low Time Data Valid to PIXCLK High Tdpd (Setup Time) PIXCLK High to Data ...

Page 6

Freescale Semiconductor, Inc. Sensor Interface Timing 4.2 Gate-Clock Mode, Pixel Clock Falling-Edge Active VSYNC HSYNC PIXCLK DATA[7..0] Tphd Parameter PIXCLK Freq PIXCLK High Time PIXCLK Low Time Data Valid to PIXCLK Low Tdpd (Setup Time) PIXCLK Low to Data Invalid ...

Page 7

Freescale Semiconductor, Inc. 4.3 Non-Gated Clock Mode, Pixel Clock Rising-Edge Active VSYNC Tpvd PIXCLK DATA[7..0] Parameter PIXCLK Freq PIXCLK High Time PIXCLK Low Time Data Valid to PIXCLK High Tdpd (Setup Time) PIXCLK High to Data Invalid Tpdd (Hold Time) ...

Page 8

Freescale Semiconductor, Inc. Statistics 4.4 (4) Non-Gated Clock Mode, Pixel Clock Falling-Edge Active VSYNC Tpvd PIXCLK DATA[7..0] Parameter PIXCLK Freq PIXCLK High Time PIXCLK Low Time Data Valid to PIXCLK Low Tdpd (Setup Time) PIXCLK Low to Data Invalid Tpdd ...

Page 9

Freescale Semiconductor, Inc. 5.1 Live Veiw Resolution Mode (LVRM) The image is divided into square blocks, according to the choice made on the Live View Resolution Mode (LVRM). Statistic data is generated per each block. The output includes 4 16-bit ...

Page 10

Freescale Semiconductor, Inc. Statistics 5.3 Double Resolution Mode (DRM) Double Resolution Mode allows the vertical resolution of image to be enhanced, without increasing the complexity of hardware. User may find this useful when they fine tune the algorithm of white ...

Page 11

Freescale Semiconductor, Inc. MOTOROLA MC9328MX1/MXL Application Note For More Information On This Product, 16 column gap 640 pixels = ( Figure 11. Engineering Draft / Preliminary Go to: www.freescale.com Statistics 8 row gap 11 ...

Page 12

... Motorola and the Stylized M Logo are registered in the U.S. Patent and Trademark Office. All other product or service names are the property of their respective owners. Motorola, Inc Equal Opportunity/Affirmative Action Employer. © Motorola, Inc. 2003 AN2414/D Engineering Draft / Preliminary For More Information On This Product, Go to: www.freescale.com ...

Related keywords