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.

OPT3101EVM: Source code

Part Number: OPT3101EVM
Other Parts Discussed in Thread: OPT3101,

Hello,

I want to ask, if the source code of the EVM3101EVM firmware is widely available?

I have downloaded OPT3101 SDK but it is not obvious for me, if I can compile and load that code?

And will it be exactly the same firmware that is loaded in OPT3101EVM by default?

Thank you in advance.

  • Hi,

    The firmware on the EVM is not posted online. It is specific for communicating with the latte software and separate from the SDK. The EVM does work with the default values in the SDK if the SDK is running on a PC and the EVM connected with a USB cable. The SDK can also be loaded onto an MSP430 as well and used to configure and calibrate the OPT3101.

    If you would like to follow up with more details on what you are trying to do I may be able to provide some more feedback as well here.

    Best,

    Alex
  • Hi,

    Thanks for the fast response!

    We are developing our custom device, which should include ToF sensor. And we selected OPT3101 as it satisfies us with the behavior seen on the OPT3101EVM. We want to be sure that, we will be able to repeat the behavior of OPT3101 if we adapt the EVM's design on our custom board. So we need to clearly understand how OPT3101 is configured on EVM. And there are some still unknown things:
    1. Does MSP430 is used for configuration and control? Or it acts as USB/I2C bridge only and everything is done on PC running Latte?
    2. Processing like ambient ant temperature compensation is run on the OPT3101 itself or it is done on the host PC/MCU?
    3. Can we get full configuration of OPT3101 which is used on EVM? Let's say if we can know values of all OPT3101 internal registers?
    4. If there is some processing or control done on host PC/MCU, can these routines and parameters be accessed in form of source code?
    To tell it simpler: we want to know if there are some hidden parameters or processing algorithms or everything is known? Simplest answer for these questions would be the source code.

    Best regards,
    Vladislavas
  • Hi Vladislavas,

    Please see my answers in line below

    1. Does MSP430 is used for configuration and control? Or it acts as USB/I2C bridge only and everything is done on PC running Latte?
    The firmware is an i2c bridge and also provides the ability to load calibration settings stored in the MSP430 flash onto the device registers.
    On power up the latte software will initialize the device by sending the i2c writes to the MCU on the EVM. It will also load calibration settings stored on the MCU flash that are specific to each EVM.
    2. Processing like ambient ant temperature compensation is run on the OPT3101 itself or it is done on the host PC/MCU?
    ambient and temp compensation is determined at a system level (same for all EVM boards). You can see these values in the variableSetup script within latte.
    The EVM users guide and this video show how to access the more advanced parts of the Latte EVM software training.ti.com/ti-latte-training-opt3101evm
    3. Can we get full configuration of OPT3101 which is used on EVM? Let's say if we can know values of all OPT3101 internal registers?
    This is all in latte. It will also show all the register writes in the log window.
    4. If there is some processing or control done on host PC/MCU, can these routines and parameters be accessed in form of source code?
    There is not much processing done for getting the data, but all the code is exposed in the latte software.

    Best,

    Alex