EasyManua.ls Logo

Cypress EZ-USB FX3 SDK - CX3 MIPI CSI-2 interface

Cypress EZ-USB FX3 SDK
56 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Cypress EZ-USB® FX3™ SDK Quick Start Guide, Version 1.3.1 45
The MIPI CSI-2 interface on the CX3 supports 1 to 4 CSI-2 data lanes and
RAW8/10/12/14, YUV422, and RGB888/666/565 image formats. It reads image
data from the sensor, de-packetizes it and sends it in to the parallel interface of the
fixed-function GPIF II interface on the CX3.
Support for the MIPI CSI-2 interface is provided through a new firmware library
added to the SDK (cyu3mipicsi.a). The APIs provided by the library and the data
structures and enumerations used by this interface are provided through the
cyu3mipicsi.h header file.
7.2 CX3 MIPI CSI-2 interface
7.2.1 Data Lanes
The MIPI CSI-2 interface on the CX3 supports 1 to 4 CSI-2 data lanes each
capable of transfers of up to 1 Gbps. The number of data lanes to be selected for a
CX3 application will depend upon the number of data lanes provided by the Image
Sensor and the total required data transfer rate.
7.2.2 MIPI CSI-2 stream formats supported by the CX3
The MIPI CSI-2 interface on the CX3 supports the following stream formats and
output modes:
Format
and
Mode
CX3 Enumeration Type
Description
CSI-2
Data
Type
Output Stream
RAW8
CY_U3P_CSI_DF_RAW8
Bayer format 8-bits per
pixel data stream.
0x2A
8-Bit Output: RAW[7:0]
RAW10
CY_U3P_CSI_DF_RAW10
Bayer format 10-bits per
pixel data stream.
0x2B
16-Bit Output: 6‟b0, RAW[9:0]
RAW12
CY_U3P_CSI_DF_RAW12
Bayer format 12-bits per
pixel data stream.
0x2C
16-Bit Output: 4‟b0,RAW[11:0]
RAW14
CY_U3P_CSI_DF_RAW14
Bayer format 14-bits per
pixel data stream.
0x2D
16-Bit Output: 2'b0,RAW[13:0]
RGB888
CY_U3P_CSI_DF_RGB888
RGB 888 format 24- bits
per pixel data stream.
0x24
24-Bit Output: R[7:0],G[7:0],B[7:0]
RGB666
Mode 0
CY_U3P_CSI_DF_RGB666_0
RGB 666 format 24- bits
per pixel data stream.
0x23
24-Bit Output:
2‟b0,R[5:0],2b0,G[5:0], 2b0,B[5:0]
RGB666
Mode 1
CY_U3P_CSI_DF_RGB666_1
RGB 666 format 24- bits
per pixel data stream.
0x23
24 Bit Output: 6‟b0,R[5:0],G[5:0],
B[5:0]
RGB565
Mode 0
CY_U3P_CSI_DF_RGB565_0
RGB 565 format 24- bits
per pixel data stream.
0x22
24 Bit Output:
2‟b0,R[4:0],3‟b0,G[5:0],
2‟b0,B[4:0],1‟b0