CX3 24-bit GPIF used for YUV422_8

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
LeoChen
Level 3
Level 3
25 replies posted 50 sign-ins 10 replies posted

Hi all,

Now I'm using CX3 24-bit GPIF II for YUV422_8 sensor image, how the YUV422_8 pixel will be packed in 24-bit parallel bus? I found a description in CX3 TRM as below, it shown that the upper bits are padded with 0s, is this right or is there other packing format? If I want to use 24-bit GPIF buf for YUV422_8 with none padding, is this can be done? And how to do?

屏幕截图 2022-04-08 175917.png

0 Likes
1 Solution
Biren_R
Moderator
Moderator
Moderator
First question asked First like given 250 sign-ins

Hello,

Please check this KBA224387 KBA for details and let us know if you still face any challenges. 

Best Regards,
Biren

View solution in original post

0 Likes
3 Replies
Biren_R
Moderator
Moderator
Moderator
First question asked First like given 250 sign-ins

Hello,

Please check this KBA224387 KBA for details and let us know if you still face any challenges. 

Best Regards,
Biren

0 Likes

Hi Biren,

I have read this KBA, but still confused that if sensor output data is YUV422_8, and CX3 use 24-bit GPIF bus to transfer data, how do YUV422_8 packed to 24-bit parallel data? I guess there are 2 option:

1. 8'b0+8'[U]+8'[Y]->24-bit parallel data

    8'b0+8'[V]+8'[Y]->24-bit parallel data

2.8'[U]+8'[Y]+8'[V]->24-bit parallel data

   8'[Y]+8'[U]+8'[Y]->24-bit parallel data

Which one is right, or above are all wrong?

0 Likes

Hello,

The second option will be correct when you are using 24 bit as output data format. Please refer to the following snapshot from MIPI Alliance Specification for Camera Serial Interface 2.

JayakrishnaT_76_0-1649652166953.png

Best Regards,
Jayakrishna
0 Likes