Read MIPI YUV422 data

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Read MIPI YUV422 data

1,768件の閲覧回数
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,472件の閲覧回数
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 件の賞賛
返信