I have the OPT3006 light sensor currently in use via polling. I am investigating using this via the latched interrupt mode so that I receive an interrupt when the LUX value leaves the area of interest.
The way I read the documentation is that I receive the interrupt and the pin will remain high until I read the R1 status register. That should clear the int pin as well as the FL bit in the register.
I do this operation.
What I am seeing is that once the interrupt occurs, subsequent I2C read requests of R0 are returned with a NAK response. I'm clearly able to talk to the device beforehand, yet after that interrupt, nada.
Thank you