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: DATA_RDY is asserted at different time when switching subframes

Part Number: OPT3101

I have a question about the behavior of the OPT3101 monoshot mode.I perform monoshot mode measurements at a sample rate of 360Hz and switching between 2 or 4 subframes during sampling.

When switching subframes, the time from writing MONOSHOT_BIT = 1 until DATA_RDY is asserted differs as shown below.

Switching subframes from 2 to 4: about 1.5 milliseconds.

Switching subframes from 4 to 2: about 1000 milliseconds.

No subframes switching: about 1.5 milliseconds.

Could you give me some idea why there is a difference in the time?

Best Regards,

  • Tateishi-san,

    Changing subframes in between mono shots is not a normal use case. The normal use is to setup monoshot during initialization then trigger monoshot as needed. 

    It is possible that when the counter for the sub-frame counter is 2 then changed to 4 it increments until it gets to 4. If the counter is 4 and changes to 2, it increments until it wraps around to 2. I believe this is a counter that increments only. there is no direct access as a register.