max width resolution for mipi csi receiver on rt1176

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

max width resolution for mipi csi receiver on rt1176

跳至解决方案
844 次查看
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

标签 (1)
标记 (3)
0 项奖励
回复
1 解答
801 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

That is correct.

BR,
Edwin.

在原帖中查看解决方案

4 回复数
809 次查看
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.

806 次查看
RayCali
Contributor II

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

Best

Rayan Cali

0 项奖励
回复
802 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

That is correct.

BR,
Edwin.

646 次查看
RayCali
Contributor II
Hey again. Your solution worked perfectly, Thanks!
0 项奖励
回复