CX3 connect to sensor with YUV422-10bit issue

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

Hello,
I am working on a YUV422-10bit sensor connecting to CX3 with YUV2 output. The sensor resolution is 1280x720@30fps, I find that MIPI CSI-2 transfer YUV422-10 as 2 pixel with 5 bytes, so I think I could still configure CX3 as YUV422-8 input, but configure resolution to 1600x720. In this way, CX3 still can receive complete sensor data I think(if this is wrong, please correct me). And I actually done a test, but the result is quite abnormal. I print CX3 debug log, and found CX3 have received sensor data with different frame size, the frequency is also unequal, and preview all black image with AMcap. So if anybody could help me?

Attachment is MIPI interface configuration and debug log.屏幕截图 2022-03-23 175935.png屏幕截图 2022-03-23 180159.png

0 Likes
1 Solution
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

As the data from the sensor is in YUV422 -10 bit, please use that as the input format instead of the YUV422 - 8-bit format. Also, please use the same video resolution (1280 * 720) in the MIPI configuration tool.

Please confirm if REFCLK on the CX3 board is 24 MHz. To debug the problem, we would suggest keeping the pre-divider value as 3 and tune the other fields to get the PCLK - 100MHz

Please refer to this KBA  Steps to Setup up MIPI CSI Camera Solution with CX... - Infineon Developer Community  for generating the firmware using the CX3 MIPIReceiver  configuration tool

Regards,
Rashi

View solution in original post

0 Likes
1 Reply
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

As the data from the sensor is in YUV422 -10 bit, please use that as the input format instead of the YUV422 - 8-bit format. Also, please use the same video resolution (1280 * 720) in the MIPI configuration tool.

Please confirm if REFCLK on the CX3 board is 24 MHz. To debug the problem, we would suggest keeping the pre-divider value as 3 and tune the other fields to get the PCLK - 100MHz

Please refer to this KBA  Steps to Setup up MIPI CSI Camera Solution with CX... - Infineon Developer Community  for generating the firmware using the CX3 MIPIReceiver  configuration tool

Regards,
Rashi
0 Likes