Hi,
I have strange behavior with INT:
I used this video and downloaded library in comment. Then I start porting library to STM32L0 (in C). I think there is a mistake in table 22 for bits 3, 4, 5, 6 the enable level should be 1. The field names are also wrong in table 16 (6/5<->4/3 - already pointed in another thread with updated datasheet expected end 2017).
My issue is that only the HIGH temperature threshold makes the INT pin go HIGH. I can see in 0x04 (INT_STATUS) register that the low temp or humidity thresholds excess are well seen but doesn't "reflect" on the INT pin ;(
My reg CFG:
0x07 : 0x78
0x0E : 0x57
0x0F : 0x00
When 0x04 = 10 (humidity threshold high int) the INT pin is still read LOW.
When 0x04 = 50 (humidity and temperature threshold high int) the INT pin goes HIGH (as expected). It's like the INT pin reflects the 0x04 bit 6 instead of expected logical OR between bits 3, 4, 5 and 6.
Any idea?