how to config the CSI0 to make it work on CSI0_DAT[12-19] and receive 16bit/color data.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to config the CSI0 to make it work on CSI0_DAT[12-19] and receive 16bit/color data.

782 Views
raynard_wang
Contributor I

Hello, Dear Commity,

          I am trying to config CSI0 register for imx6 dual (MCIMX6D5EYM10AD).

          I need use CSI0 to capture YUV422(YUYV) sensor data. Detail is listed below:

         1.pin :                      CSI0_DAT[12-19]  8bit

         2.timing protocol:    Gated mode

         3.YUV color:  YUV422  16bit/color

         And then,with <i.MX 6Dual6Quad Applications Processor Reference Manual>,I config IPU0_CSI0_SENS_CONF register like this:  0x0400C900,  but it received data from CSI0_DAT[4-19]. For example,send aa 55,but the data it received is 00 aa and 00 55.

         So the question is how I config the CSI0 to make it work on CSI0_DAT[12-19]  and receive 16bit/color data.

         Thanks!

Tags (1)
0 Kudos
5 Replies

662 Views
raynard_wang
Contributor I

Thanks very much for your reply!

But I want to get yuv 16bit in two cycle with port IPUx_CSI_12 to IPUx_CSI_19.

Can it be available?

0 Kudos

662 Views
joanxie
NXP TechSupport
NXP TechSupport

yes, it's correct

0 Kudos

662 Views
raynard_wang
Contributor I

Got it. Thanks for your reply.

0 Kudos

662 Views
joanxie
NXP TechSupport
NXP TechSupport

since you want to get yuv 16bits one cycle, pls connect IPUx_CSI_4 to IPUx_CSI_19

for more detailed information, pls refer to the Table 62. Camera Input Signal Cross Reference, Format, and Bits Per Cycle of data sheet

https://www.nxp.com/docs/en/data-sheet/IMX6DQCEC.pdf 

0 Kudos

662 Views
raynard_wang
Contributor I

Thanks very much for your reply!

But I want to get yuv 16bit in two cycle with port IPUx_CSI_12 to IPUx_CSI_19.

Can it be available?

0 Kudos