I can read and modify seconds and years but I can not access and modify minutes, hours, days and months.
Seconds count from 0-59 and then there is no change in miutes, hours and so on.
The system is working in standard configuration with 8051 microcontroller/RS232-PC.
What can be the reason?
Thanks.
DrWho
You have take into account this:
The DS12887 like its predessesor, the 6818, periodically updates all time and date registers ..
If you attempt to read them during the update procedure, they may be not accessible, hence, you will read "nothing" ..
Try to sense the UPI (update-in-progrss) bit and read/write the RTC when it is permissible ..
Regards,
IanP