Read MIPI YUV422 data

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

Read MIPI YUV422 data

1,767 次查看
alexisfronteau
Contributor III

Hi, 

I'm trying to get 4096x2160 YUV422 pixels on mipi with an IMX6Q. I use 4 lanes, data type = 0x1E, virtual channel 1. I set the pixelformat V4L2_PIX_FMT_YUYV but there is a problem with data that I read. I select CSI MEM path.

Bytes are sent as: 

lane 1 : Byte0-----Byter4-----Byter8-------Byter12 ...

lane 2 : Byte1-----Byter5-----Byter9-------Byter13 ...

lane 3 : Byte2-----Byter6-----Byter10-----Byter14...

lane 4 : Byte3-----Byter7-----Byter11-----Byter15 ...

But when I read IDMAC, i have : 

Byte2----Byte3----Byte3----Byte7----Byte10----Byte11----Byte15----Byte9 ...

I have checked ipu registers and they seemed configured well.

Thanks

标签 (2)
0 项奖励
回复
1 回复

1,471 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Alexis

for MIPI YUV422 settings one can check sect.6.1. Use case example—image
capture from sensor to memory AN5305 MIPI–CSI2 Peripheral on i.MX6 MPUs
https://www.nxp.com/docs/en/application-note/AN5305.pdf
and Figure 19-10. YUV422-8 data reception i.MX6DQ Reference Manual
http://www.nxp.com/docs/en/reference-manual/IMX6DQRM.pdf

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复