3 Replies Latest reply on May 18, 2020 12:57 AM by JayakrishnaT_76

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

    NoAr_1540581

      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

        • 1. Re: About the THS-Prepare and THS-Zero values for CX3?
          JayakrishnaT_76

          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

          • 2. Re: About the THS-Prepare and THS-Zero values for CX3?
            NoAr_1540581

            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

            • 3. Re: About the THS-Prepare and THS-Zero values for CX3?
              JayakrishnaT_76

              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