Other Parts Discussed in Thread: MSP430FR5869
Hi,
I am trying to get ALS value for MSP430fr5869 from OPT3001 through I2C.
I have set up the I2C communication and have successfully read Device ID from Device ID register in OPT3001.
The problem now is when I try to read ALS result from the result register it returns 0.
I have set the configuration register as 0xcc10 which means automatic full-scale setting, 800ms conversion time, continous-conversions and latched window-style comparison.
Does this means ALS is not initialize properly? Thank you.
Yifan