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-Q1: Dismissing low-limit and high-limit

Part Number: OPT3001-Q1

Hello all,

My customer wouldn't like to get interruption when the result goes low-limit/high-limit. In this case, what should he set those registers?

Also, low-limit register is C000h and high-limit register is BFFFh at default. Why did you set those values?

Also, there are no statements what happens when LE and HE register is from Ch to Fh. Are these values reserved? What happens if I set those values?

Best regards,
RYO

  • Hi Ryo,

    1) Please refer to section 7.4.2 Interrupt Reporting Mechanism Modes of the datasheet. You will want to use one of the comparison modes listed there depending on your requirements. Config should then be written accordingly.

    2) Low limit should actually be defaulting to 0000h, and yes high is BFFFh. This corresponds to 0 lux and full-scale lux so with default values there will be no interrupts.

    3) If you check those registers in the datasheet you'll see that Ch to Fh are not required to get to full scale. Thus you should not need to use these values. If you did it should just default to the max exponent setting. Let me know if you would like me to confirm this in the design.

    Best,

    Alex