I send data from 87C52+DS12887 (6818 RTC) via serial port to a PC.
Data string contains date and time as follows.
DD-MM-YYYY,HH:MM:SS.
I want to send data every 0.1s or 0.01seconds.How to genrate interrupts every 0.1s or 0.01s using DS12887?
DD-MM-YYYY, HH:MM:SS.XX
The DS12887 can not directly generate 0.01 or 0.1s interrupt ..
The closest you can get is ≈977µs (Periodic Interrupt Rate RS0=0, RS1=1, RS2=1 and RS3=0) ..
If you count this interrupt for 10 times you will end up with 0.00977s, or if the count is 103 the result is 0.1006s .. is it good enough?