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?
Solved! Go to Solution.
USB Superspeed Peripherals
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?
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.