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.

OPT3001: OPT3001:single shot mode configuration

Part Number: OPT3001

I want to configure opt3001 in single-shot mode which shuts down after the conversion.

what actually is single shot....at what point does the conversion happen?

What is the sequence of configuring and reading the result.

My aim is to reduce the power consumption ...rather than keeping in continuous mode it is better to keep in single shot...am I right?

  • Hi Anagha,

    This is correct. Single shot will conserve power over continuous because the device will go to sleep after completing the conversion. Single shot is initiated when you set the conversion mode to single shot in the config register and the conversion happens at this time. After the single measurement is taken the device goes to sleep and you have to write to the config register again when you want to initiate the next measurement.

    Please refer to the Mode of conversion operation field in Table 10. Configuration Register Field Descriptions (continued) of the datasheet for more details on this.

    Best,

    Alex
  • Hi Alex,

    I have one more doubt on this opt3001.

    I have seen the code of TIDA00488-TIDA00758-Firmware, where the opt3001 is having two modes of configuration: 1)Continuous mode 2)Interrupt mode.
    If the continuous mode is selected ,then the interrupt pin table is defined and only low limit register is configured. and also the mode of conversion is single shot.
    If interrupt mode is selected, then the interrupt pin table is not defined and both high and low limit is configured and the mode of conversion is continuous.

    The above configurations are a bit confusing for me....Could you please explain what interrupt and continuous mean?

    And I want to configure just single shot conversion where I just want to get the lux value when only needed. For that I have to write the config register whenever I need the output. For this is it required to configure high and low limit registers. And if Automatic full-scale setting mode is set...is there a need to set these limit registers?
  • Hi Anagha,

    Is your question about OPT3001 in general or specifically how it is used in the TIDA00488? For OPT3001 in general your can use continuous conversion mode and interrupts at the same time. However, I am not familiar with the workings of the reference design and will have to check on that.

    Best,

    Alex
  • Are the high and low limit registers related to setting interrupt?
  • Yes. More details are also in section 7.4.2 Interrupt Reporting Mechanism Modes of the datasheet. Specifically tables 2,3,4 depending on the mode you are operating in.

    Best,

    Alex