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

interrupt and weiting data to the 24c08 serial eeprom

In my project,I am trying to write some data in to 24c08 serial eeprom.

Also a timer 1 interupt subrountie may run at every 1ms to count the run time.

Should i set the EA to 0 before access the serial eeprom to prevent data loss.

Moreover, if i do so, i think some interupt will be miss and affect the accuracy of the timer.

How can i solve this problem?

Finally, my programm is code at C. Anyways for me to calculate the system time?

0