i.MX RT1176 MIPI-CSI2 input example Question

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

i.MX RT1176 MIPI-CSI2 input example Question

Jump to solution
879 Views
Hamish1
Contributor II

I have a question about the MIPI-CSI example from SDK.

And, I study the data sheet about the MIPI-CSI.

The camera inputs from the MIPI-CSI and the format is YUV422(8bits).

Following the datasheet, the image data will be packaged to the 16bits data. (Ref datasheet 46.3.3)

Hamish1_0-1658928267708.png

 

Then, the data will send to CMOS Sensor Interface(CSI).

I read the example code. But, the input of CSI data is set to 24 bits data. (Ref. example csi_mipi_yuv_cm7)

Hamish1_1-1658928291836.png

 

Why the CSI input data bus does not match the MIPI-CSI outputs format.

 

Labels (2)
Tags (3)
0 Kudos
1 Solution
850 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @Hamish1 ,

This is because  the VIDEO MUX can only output 24bit data. You can refer to this post for more detail.

https://community.nxp.com/t5/i-MX-RT/iMXRT1176-MIPI-CSI2-to-UVC-reducing-the-frame-buffer-s-size/m-p...

 

Regards,

Jing

View solution in original post

0 Kudos
3 Replies
867 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @Hamish1 ,

The CSI will convert input pixel format from YUYV to XYUV.

 

Regards,

Jing

0 Kudos
863 Views
Hamish1
Contributor II

Hi Jing,

      Thanks for your reply.

      The problem does not descript in the datasheet or TRM. 

      In addition, as you say, which MIPI-CSI format supports, I can input it to the microcontroller.

      In my project, my camera cannot change our CSI sequence for us.

      Could I change the register to adjust the input sequence in my project? 

      Thanks.

0 Kudos
851 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @Hamish1 ,

This is because  the VIDEO MUX can only output 24bit data. You can refer to this post for more detail.

https://community.nxp.com/t5/i-MX-RT/iMXRT1176-MIPI-CSI2-to-UVC-reducing-the-frame-buffer-s-size/m-p...

 

Regards,

Jing

0 Kudos