max width resolution for mipi csi receiver on rt1176

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

max width resolution for mipi csi receiver on rt1176

Jump to solution
460 Views
RayCali
Contributor II

Hi!

Firstly, I have seen the problems with the rt1176 not accepting raw10 format. I have found a solution for that which goes like this:
1. make the camera send a data type header for rgb565 instead of raw10 (this was possible with my camera)

2. if you for example make the camera send 1920x1080 frames you tell the csi receiver that the camera actually is sending (1920/1.6)x1080 = 1200x1080p frames. This is because rgb565 has 16bits per pixel while raw10 has 10bits per pixel.

3. you then follow the mipi_csi_rgb example just like normal, then you will just need to do some post processing where you unpack the raw 10 since the pixels will still be in order if you just convert the list to uint8.

If you do this, and then do demosaicing, the image looks perfectly fine!

The problem is that as soon as i make the camera output a width that is above 2048 pixels, i get 1025 byte (820 raw10 pixels) that are missing randomly in each row. The interval that they come in at seems random but the missing lines are always 820 pixels long. it is weird that it happens as soon as the camera outputs more than 2048 pixels that it happens, is there a hardware limit or something?

Thanks in advance
Rayan Cali

Labels (1)
Tags (3)
0 Kudos
Reply
1 Solution
417 Views
EdwinHz
NXP TechSupport
NXP TechSupport

That is correct.

BR,
Edwin.

View solution in original post

4 Replies
425 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @RayCali,

There isn't a specific hardware limit for width (height, or fps) on the RT1170. Rather, the resolution/fps is dictated by the bandwidth that the MIPI CSI supports. If you increase the resolution and you start seeing missing lines, then you have exceeded the bandwidth of the MIPI CSI.

BR,
Edwin.

422 Views
RayCali
Contributor II

Does that mean that lowering the fps will allow for higher resolution?

Best

Rayan Cali

0 Kudos
Reply
418 Views
EdwinHz
NXP TechSupport
NXP TechSupport

That is correct.

BR,
Edwin.

262 Views
RayCali
Contributor II
Hey again. Your solution worked perfectly, Thanks!
0 Kudos
Reply