CX3 1080P@60 Project Parameter Issue

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

cross mob
ReA_3297666
Level 2
Level 2
10 replies posted 10 sign-ins 5 replies posted

Hi, I'am new to the CX3 environment and started to build a application for converting 1928*1088 @ 60FPS  RAW10 MIPI to USB 3.0 UVC , we are using the CX3-RDK board from E-CON systems and we are designing our own daughter board. When using the configuration tool iam getting certain errors so need a bit of clarification on it. (Attached screenshots for your reference). In Image sensor configuration the CSI Clock is it referring the MIPI PIXEL Clock coming from the sensor? in that case our sensor gives 90Mhz but providing that value the tool is expecting a minimum value around 316Mhz. Our sensor has speed of 720Mbps per lane and we are using 2 lanes so i guess the output video format can be 16bit output

ReA_3297666_0-1614670711519.png

After giving these settings in image sensor configuration going on to CX3 receiver configuration following errors were occurred

ReA_3297666_1-1614671078404.png

Also tried to change the CSI Clock to the minimum expected value and changed output configuration to 24bit which eliminated the Parallel output error (Explanation on this problem would be great), but still cant achieve output pixel clock properly. 

Is my configuration is proper? if not what iam missing?

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi,

You can use attached configuration. Parallel output is 24 bit.

Make sure to configure the MIPI Transmitter to the CSI clock chosen in the configuration.

Also note that the Hresolution data in bytes needs to be a muliple of 4 bytes. Hence I have changed it to 1920.

You can ignore the error shown at CSI clock in the attached configuration.

Regards,

Hemanth

View solution in original post

0 Likes
9 Replies
lock attach
Attachments are accessible only for community members.
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi,

You can use attached configuration. Parallel output is 24 bit.

Make sure to configure the MIPI Transmitter to the CSI clock chosen in the configuration.

Also note that the Hresolution data in bytes needs to be a muliple of 4 bytes. Hence I have changed it to 1920.

You can ignore the error shown at CSI clock in the attached configuration.

Regards,

Hemanth
0 Likes
ReA_3297666
Level 2
Level 2
10 replies posted 10 sign-ins 5 replies posted

Hello @Hemanth 
We will apply this setting and try it out.
"Make sure to configure the MIPI Transmitter to the CSI clock chosen in the configuration."
Is that means the Sensor MIPI Clock (ie Pixel clock )should be configured to 350Mhz?

Thanks!

0 Likes
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi,

Yes, I meant the sensor MIPI clock.

Regards,

Hemanth
0 Likes
ReA_3297666
Level 2
Level 2
10 replies posted 10 sign-ins 5 replies posted

Hello @Hemanth 
As you can see from below image , Only sensors master clock can vary (12 Mhz to 24 Mhz) , but MIPI Pixel Clock is a constant one at 90Mhz. Correct me if I misunderstood anything.

ReA_3297666_0-1614748478227.png

 

0 Likes
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi,

350MHz MIPI clock from the transmitter to CX3 mipi interface is needed to meet the requirements of above configuration. So it is good to check the same with the sensor vendor.

Regards,

Hemanth
0 Likes
ReA_3297666
Level 2
Level 2
10 replies posted 10 sign-ins 5 replies posted

Hello @Hemanth 
Unfortunately our sensor manufacture told MIPI Pixel clock can be changed and its fixed to 90Mhz, If there any way we can use it with CX3

0 Likes
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi,

In the first post it is mentioned that "Our sensor has speed of 720Mbps per lane". If 90MHz MIPI clock is fixed, then how is it possible to achieve 720Mbps per lane? Can you please clarify this?

If MIPI clock cannot be changed to more than 90MHz, then with the same resolution and data format, 15FPS can be achieved.

Regards,

Hemanth
0 Likes
ReA_3297666
Level 2
Level 2
10 replies posted 10 sign-ins 5 replies posted

Hello @Hemanth 

Its found the pixel clock is 90Mhz and PHY-Serial clock is 720Mhz, so we applied the same setting in the configuration as shown in the below image

ReA_3297666_0-1616493711319.png

ReA_3297666_1-1616494320983.png

 

 

we are still facing error in the clock which says 752.03 is the minimum value and in the output pixel clock which says 12.6.3 is the minimum.
Next we change the i2c read and write address as well as the initial i2c configuration table in cyu3imagesnesor.c file
we are not using any master clock from CX3 , instead we are using external crystal for sensors master clock.

Anything else we need to change? because if we build the following error occurs 

Note: we are also not using any GPIO to control the sensor
"
Description Resource Path Location Type
THS Zero is less than Min Value 752.03 for OH2M_RAW10_FHD cx3config.cycx /OVOH02A10_CX3 Unknown Problem
Output Pixel Clock is less than Min Value126.31680297851562 for OH2M_RAW10_FHD cx3config.cycx /OVOH02A10_CX3 Unknown Problem
 "

0 Likes
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi,

350MHz CSI clock is enough for the above configuration. Is it possible to configure to 350MHz instead of 720MHz?

If it is not possible, you can try testing by ignoring above shown errors (CSI clock min value 752 MHz, Pixel clock 126 MHz)

Regards,

Hemanth
0 Likes