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.

OPT4048DTSEVM: OPT4048

Part Number: OPT4048DTSEVM
Other Parts Discussed in Thread: OPT4048

Tool/software:

Dear Daniel,

I'd like to use an INT input to start a single capture at a time by syncing to a flash of light that illuminates the area to be measured. Any idea for the configuration to be made?

 

Many thanks in advance. 

  • Hello Toufik,

    Just to clarify, you are wanting to change the INT pin to an input as use the MCU to trigger the measurement once the light is turned on? In this case, all you would need to do is change the direction of the int pin to an input in register 0x0B:

    Thanks,
    Daniel

  • Dear Daniel,

    Can I do it in the OPT4048DTSEVM gui ? if yes, where ? in register view window?

    Thanks.

  • I Dear Daniel, 

    I want to work in one shot mode via the IN pin to start the measurements in order to synchronize the measurements with the flash of the LED? Can we do this with the evaluation module? I can control the INT pin via an external command. Need the right config for the OPT4048 EVM.

     Many thanks in advance.

  • Hi Toufik, 

    Apologies for the delay. Yes, you can change the interrupt as an input using the OPT4048EVM. All you would need to do is change the INT_DIR bit to 0 in the 0x0B register. This can be done in the command line of the scripts window:

    Then, you should be able to trigger an interrupt through your external command and that should initiate a one shot measurement.

    Thanks,
    Daniel