| ??? 05/25/11 13:31 Read: times |
#182393 - DS1307 initialization |
My clock has 2x16 LCD & DS1307 RTC around 89S52.
I can set the clock & read it back on LCD. It's working fine. (key setting is not yet incorporated). My code is in C. The main function calls clock_init function after power on. I want to avoid this. Is there any way to know that RTC has been initialized once, so that this call to clock_init function is by-passed. Otherwise this clock_init function again sets the clock to the values written initially, after every power on. [Presently after first programming, I just comment out the clock_init function Somewhere I read about value at 0x3F (DS1307-RAM) is 0x20 after intialization. I tried to use this, but no success. Any guidance will be of great help. Thanks in advance. |
| Topic | Author | Date |
| DS1307 initialization | 01/01/70 00:00 | |
| It's simple, really | 01/01/70 00:00 | |
| Simple really | 01/01/70 00:00 | |
| What I Do With RTC | 01/01/70 00:00 | |
| Sanity check | 01/01/70 00:00 | |
| ARGH>>> You must assign a subject to your message, please... | 01/01/70 00:00 | |
| Indeed. | 01/01/70 00:00 | |
| Broken Time Representations | 01/01/70 00:00 | |
| Very many break years in circulation for 2-digit years | 01/01/70 00:00 | |
| occasionally the government ... | 01/01/70 00:00 | |
| Nice strategy! | 01/01/70 00:00 | |
Write Date Values Once! | 01/01/70 00:00 |



