We're trying to use the pcf85263 rtc in stop-watch mode to generate a alarm and level signal on INTA, the INTA flag gets set correctly but we're unable to clear the INTA flag.
We're trying to clear the alarm by sending 0x00 to register 2Bh. Looking at the logic analyzer it gets ACKed and even set but INTA pin remains high.
Our config is as following description(also shown in the rtc.py file):
Apart from not being able to get the INTA pin down everything seems to work.
Question:
Is there something missing or are we doing something wrong? Clearing the INTA flag should set the INTA pin low right?
Thank you in advance
Hi,
I am not sure about this line in your code:
self.__write_data(bytearray([0x27]), bytearray([0x10]))
Please try to modify it to:
self.__write_data(bytearray([0x27]), bytearray([0x02]))
BRs, Tomas