This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OPT3101: OPT3101 Auto HDR mode Calibration

Other Parts Discussed in Thread: OPT3101, OPT3101EVM

Hi Team:

        I had a problem testing the automatic HDR mode calibration and I used a single channel configuration;

        

        1:Open the INLAB_STEP_0 conditional compilation instruction in SDK to test whether the calibration distance meets the amplitude condition, but the serial port output contains data in addition to channel 1 and channel 3. Is it correct?

        

      The calibration distances I found in this step are 242mm and 572mm:

       

      

     

    I don't understand why in Auto HDR, calibration step INLAB_STEP_0 has data in CH2 channel

   2:After I find the calibration distance that meets the amplitude condition, turn on the INLAB_STEP_1 conditional compilation, test the amplitude value obtained at the high current or low current  distance in channel 0 is very small, and the final distance is also wrong, why 

   

  • Pengsheng,

      I will ask programmers to see if they can explain.

  • Gordon:


        You can use OPT3101 EVM hardware to test the phenomenon, I also use EVM to show the same phenomenon, waiting for your message;

        Thanks!!!

  • Pengsheng,

    I am waiting on a response. I think I have the answer, but I don't want to be incorrect. I am going to mark this waiting on customer, when I am really waiting on programmers. I will respond ASAP when they get back to me. 

  • Gordon:

          When can I expect a response to this question?

         Thanks!!!

  • Pengsheng,

    My apologies. I have asked them again. 

  • Gordon:

           In my test, MSP-430F5229LP+OPT3101EVM was used for Auto HDR mode test

           

          OPT3101-ConfiguratorTool :

          

          Open SDK conditional compilation INLAB_STEP_0, there is a problem in the serial port print-out data, resulting in an exception in the calibration process;

           

          At this time, my EVM board was fixed, and there was an abnormal data in the middle of the amplitude value printed by the serial port, which caused my calibration failure;

          I added a print LED channel to the SDK print code and configured a single channel, but TX2 appeared in the print information

           

           

            

             I looked again at the OPT3101_configuration.cpp file generated by ConfiguratorTool and found some problems with the configuration produced by the software

            Like this:

            

            In the data manual, configuring TX_SEQ_REG and opening SEL_TX_CH will automatically switch channels, but I only open channel 0, and all TX_SEQ_REG should be 0. After I change the value to 0, the data printed by the serial port is in line with expectations:

            Modified test data:

            

           Maybe you need to update your software!!

            Thanks!!!!