About the THS-Prepare and THS-Zero values for CX3?

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

cross mob
NoAr_1540581
Level 5
Level 5
Distributor - Macnica (Japan)
5 solutions authored 250 sign-ins 100 replies posted

Hello

The following is described in 5.5.1 CX3 MIPI Receiver Configuration of AN90369.

>

>Currently, the tool does not use THS-Prepare and THS-Zero value fields. To modify the THS-Prepare and Zero values, the SDK supports an API >‘CyU3PMipicsiSetPhyTimeDelay’. See the FX3 SDK API guide for details on this API. A PHY Time Delay of 9 (2nd argument of above API) works with most >sensors/ISPs.

>

Q1) Does it mean that it is not necessary to set the THS-Prepare and THS-Zero values? Or does it have to be set with CyU3PMipicsiSetPhyTimeDelay instead of the MIPI  configuration tool?And What happens when nothing is set?

Q2)If THS-Prepare and THS-Zero have MAX and MIN values, which value is required?Please tell me about the rules at the time of setting, if there is a relationship with other setting values.

Best Regards

Arai

0 Likes
1 Solution

Hello,

Any value for THS-Prepare that is in between the MAX value and MIN value reported by the MIPI configuration Utility can be used. Similarly a value greater than the MIN value specified by the MIPI configuration utility can be used for THS-Zero. But the sensor should be configured to output data with the same values for THS-Prepare and THS-Zero as configured using the MIPI configuration utility.

Best Regards,

Jayakrishna

Best Regards,
Jayakrishna

View solution in original post

0 Likes
3 Replies
JayakrishnaT_76
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

Hello,

Please find my comments for your questions below:

1. Yes, it is necessary to set the THS-Prepare and THS-Zero values in the MIPI Configuration Utility. After setting these values, the tool will generate a PHY time delay value. This value should be used as the argument when the API CyU3PMipicsiSetPhyTimeDelay() is called inside the application. This API can be called immediately after calling the API CyU3PMipicsiSetIntfParams() inside cycx3_uvc.c file.

2. THS-Zero and THS-Prepare values varies with the image sensor used. Please contact the image sensor vendor to understand the exact value of THS-Zero and THS-Prepare for that sensor. Once these values are determined, you can use it in the MIPI configuration Utility as such.

Best Regards,

Jayakrishna

Best Regards,
Jayakrishna
0 Likes
NoAr_1540581
Level 5
Level 5
Distributor - Macnica (Japan)
5 solutions authored 250 sign-ins 100 replies posted

Hello Jayakrishna san

>>2. THS-Zero and THS-Prepare values varies with the image sensor used. Please contact the >image sensor vendor to understand the exact value of THS-Zero and THS-Prepare for that >sensor.

>

As a result of inquiring with the sensor vendor, they are confirming whether to set the MAX value or the MIN value in MIPI IF of CX3?

Best Regards

Arai

0 Likes

Hello,

Any value for THS-Prepare that is in between the MAX value and MIN value reported by the MIPI configuration Utility can be used. Similarly a value greater than the MIN value specified by the MIPI configuration utility can be used for THS-Zero. But the sensor should be configured to output data with the same values for THS-Prepare and THS-Zero as configured using the MIPI configuration utility.

Best Regards,

Jayakrishna

Best Regards,
Jayakrishna
0 Likes