This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to initialize RTC DS12887A with 80C31

hello,
My address/data bus to interface the RTC is P1,
Chip Select is P3^6
DS is P3^4
AS is P3^3
R/W is P3^5.

How can i use a pointer to access the registers in the RTC (like a pointer that points to the base address of the RTC (0x0A) and i can increment it to point to the other locations of the RTC)?

thanks in advance.

0