??? 04/22/06 06:52 Read: times |
#114734 - How to enable the oscillator in RTC? |
Hi,
Presently, I’m working to interface the DS1307 RTC with microcontroller. I’ve gone through the datasheet and the application notes from DALLAS. They have given the different modes of communication between the master controller and the slave RTC. Also it is given in the datasheet that the oscillator is to be enabled by writing CH=0 to the bit 7 of register 0. I’ve written a code for this interface by referring some of the application notes and examples from the link http://www.esacademy.com/faq/progs/i2c.htm" , which I got from 8052.com search. The code is not working. The SMBus status Register of the controller is in the idle mode during the execution of the program. That is, the SMBus interrupt flag is not getting enabled in the program. Surely, enabling the oscillator will be the first thing to be done in my code. So, for proceeding further, please tell me, how to enable the oscillator? Waiting for your reply, Regards, veena. |
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 |