Aren't you using the DS1307?, this has internal EEPROM (also called NVRAM) for doing just what you want.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Nigel Goodwin said:Aren't you using the DS1307?, this has internal EEPROM (also called NVRAM) for doing just what you want.
HiteshDR said:yes sir...
i was saying for External EEPROM...
by the way sir, i am trying to save the data in that memory but if i remove the power from MCU then data from memory of DS1307 if lost..
BUT its still in the DS1307 NVRAM 56byte memory.
why it happens can you please tell me..???
Nigel Goodwin said:Check the datasheet......
only India seems to use ......
HiteshDR said:by the way sir, i am trying to save the data in that memory but if i remove the power from MCU then data from memory of DS1307 if lost..
why it happens can you please tell me..???
ericgibbs said:hi,
Its usual to have a battery backed real time clock module, to cover the periods when the external power fails, so that the RTC will keep time...
ALM_STORE EQU 08H ; DS1307 RAM, ALARM STORAGE, BEGINNING.
HiteshDR said:yes sir. i have connected battery too..
altough if i am trying to save data in EEPROM of RTC its lost if i am removing power from MCU...
its the command where i have try to use the NVROM of RTC.
please tell me whether its write or wrong...???
simrantogether said:Hi Sir Hitesh..
The pdf version of application note given by sir eric gibbs is very fine...
You take one more day extra to understand the interface...
This is very good pdf what i can suggest to you...
Regards,
Simran..