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: Replacing Components

Part Number: OPT3101

Hey,

Pre-question

-- I want to run through the calibration of the OPT3101, but the values aren't changing (like ) is this because it has already been calibrated? I just want to make sure I understand how to calibrate before I do anything.

Main Questions,

I had a couple questions about the OPT3101, so I am planning on replacing the LED and photodiode.

1. Should I replace the components then start modifying the calibration/config code or can I do that before I replace it.

2. How would I structure the configuration? I know to use the configurator tool, but I'm not quite sure where to find the values necessary for my implementation to put in the boxes.

3. After creating the code for calibration/config do I just comment out the previous main method (the main method being one that I created) and then running Latte?

Thanks

  • Hi Mesgana,

    1) You have to calibrate the finished board so all modifications need to be done before calibration. However, I would advise understanding the full process first and doing a dry run to understand the steps before modifying as calibration is a bit intensive.

    2) For structuring configuration please refer to either the datasheet or our system design doc posted on the OPT3101 page online

    3) To do calibration you should use the SDK also posted online. Latte does not have any calibration functionality built in.

    Best,

    Alex

  • Hi Alex,

    Thanks for the reply

    When I do the dry run should the values (FREQ_COUNT_READ_REG, FREQ_COUNT_REG, etc.) stay the same or should I see some change?

    Also,

    Looking at the SDK Documentation online I see that it stated that I could just code in the calibration,

    "SDK provides a simpler abstraction to the register interface and also provides all the calibration functions as methods."

    instead of doing all the steps listed in the calibration document.

    Would it be more beneficial to go through the calibration like it does in the document since I am changing the components?

    Thanks,

    Mesgana

  • Resolving further questions over email.

    Best,

    Alex