<p style=”text-align: left;”>Hi! I am trying to configure PCF8583 RTC as a event counter to do so we have to write 0x10 in control status register and the data will be stored in the next three address lines i.e., 1, 2 & 3. I am able to write into the status register but unable to know how to retrieve the data from the address locations 1, 2 & 3. After the data is retrieved from that location we have to compare the no .of events with the preset values of the events in the address 9, A & Band if the event counts are more than the preset value then it has to give out an alarm and it should display the counts on the 16 by 2 dot matrix. please try to help me out and I am writing the code in embedded c. I saw your code for PCF8583 which is a programed to work as RTC for which it is ment. I was trying to make out the code out of it but could not be able to do it.</p>
To understand it better you try to refer datasheet of PCF8583 and the code which is available in this website. I am doing it with AT89S8253.