??? 04/24/06 15:06 Read: times |
#114896 - I2C RTC Responding to: ???'s previous message |
By enabeling the oscillator on the 1307 all you have really done is given the 1307 the ability to track time. It will sit there and do that until hell freezes over and do nothing else for as long as the power lasts. The I2C master has to request the information from the RTC before the 1307 will provide it. Now, you could use the SQW output from the 1307 to generate an interrupt to your MAIN program once a second at which time the Master can then request data from the 1307.
The Silabs site has an SMBus application note complete with several samples of driver software, both in ASM or C. But YOU still have to provide the program to deal with the RTC. Hal |
Topic | Author | Date |
How to enable the oscillator in RTC? | 01/01/70 00:00 | |
I2C Code | 01/01/70 00:00 | |
SMBus include SCL and SDA lines | 01/01/70 00:00 | |
derivative or deviate? | 01/01/70 00:00 | |
I2C RTC | 01/01/70 00:00 | |
be careful | 01/01/70 00:00 | |
I2C program and controller | 01/01/70 00:00 | |
since you are using a derivative (F120) | 01/01/70 00:00 | |
I used the Code Architect....Erik Sir, | 01/01/70 00:00 | |
Lost in confusion. | 01/01/70 00:00 | |
the confooosion is ... | 01/01/70 00:00 | |
To display time | 01/01/70 00:00 | |
is reading that tough, evidently it must | 01/01/70 00:00 | |
I2C RTC Interfacing with 8051 | 01/01/70 00:00 | |
horsefeathers | 01/01/70 00:00 | |
My position in this I2C RTC.... | 01/01/70 00:00 | |
yes, after 15 minutes | 01/01/70 00:00 | |
Three issues | 01/01/70 00:00 | |
yes,after 15 minutes... | 01/01/70 00:00 | |
More specifically.... | 01/01/70 00:00 | |
use the debugger | 01/01/70 00:00 | |
Thank you ... | 01/01/70 00:00 | |
Persistance wins again![]() | 01/01/70 00:00 |