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
Solved! Go to Solution.
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.
Does that mean that lowering the fps will allow for higher resolution?
Best
Rayan Cali
That is correct.
BR,
Edwin.