Do you support RGB888 format camera?

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

Do you support RGB888 format camera?

1,623 次查看
xiaochaoxu
Contributor I

I am using rgb camera on imx6q.
I am getting "ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0".

Could you please help us & give idea to debug this issue.

The camera interface is mipi & connected to CSI1 & ipu0.

 Do you support RGB888 format camera?

标签 (3)
0 项奖励
回复
4 回复数

1,311 次查看
Aubineau_FAE
NXP Employee
NXP Employee

Hi,

On i.MX6 you can support RGB888 but you need external glue (FPGA/CPLD) to split each transfer in 2 as RGB888 is not supported by the interface natively (RGB565 max, or YUV 20bit max).

regards,

Vincent

0 项奖励
回复

1,311 次查看
xiaochaoxu
Contributor I

thanks!

   LVDS camera 转mipi芯片完成。

   输出1280x480 30fps RGB888 数据

   按照文档检查问题:

 mipi camera选择IPU0 & CIS1,需要将mipi-csi2 virtual channel配置1.默认是配置的是0

  MIPI_CSI_PHY_STATE的值为0x300和0x330

  MIPI_CSI_ERR1/2 的为0

  无任何报错。

  IPU相关寄存器也有查看,设置的没问题

  一直是ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0

   

  问下:

    平台是支持RGB888数据格式camera,请问代码上有支持吗?还是需要相关patch ?

0 项奖励
回复

1,311 次查看
joanxie
NXP TechSupport
NXP TechSupport

你的信息太少了,只能给一些建议,请问你用的是什么版本的BSP? 还有你用过IMX TEST 去测试吗?然后试试用小一点的例如640,480, 也会出错吗? 有的时候I2C配置问题会导致这个问题,你也可以检查下

0 项奖励
回复

1,311 次查看
joanxie
NXP TechSupport
NXP TechSupport

yes, imx6q can support rgb888, 1080p@30, pls check if you set the register correctly. one also can refer to the document as below. hope helpful for you

https://community.nxp.com/docs/DOC-339925 

0 项奖励
回复