![](templates/subSilver/images/CCSLogo.jpg) |
![CCS C Software and Maintenance Offers](templates/subSilver/images/forumAd6.jpg) |
View previous topic :: View next topic |
Author |
Message |
crystal_lattice
Joined: 13 Jun 2006 Posts: 164
|
EEPROM Help needed, please |
Posted: Tue Jun 13, 2006 12:16 pm |
|
|
Hi, im using a 16f877 pic with a ds1302 RTC.
I want to make a basic datalogger that logs the date & time and a value, say a 16bit value. Using 93LC66 as external eeprom. My plan is to convert the date & time to a 32bit value to save space. my problem is that the two values differ in size, will that complicate the eeprom write?
I am a beginner so take it easy on me.
1) Does any one have a good explanation of how the eeprom is structured so that i can visualize it so i can understand it better? I am new to this eeprom memory and a good explanation will help me alot.
2) Does anyone have a working example of a program that uses the 93LC66 or the 24LC00, just so i can check if all my hardware is working, then i can modify/ experiment in my own time. As in somthing i can take 'as is' and compile it and it works.
Thanx in advance! |
|
![](templates/subSilver/images/spacer.gif) |
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
Re: EEPROM Help needed, please |
Posted: Tue Jun 13, 2006 12:53 pm |
|
|
Quote: | Hi, im using a 16f877 pic with a ds1302 RTC.
I want to make a basic datalogger that logs the date & time and a value, say a 16bit value. Using 93LC66 as external eeprom. My plan is to convert the date & time to a 32bit value to save space. my problem is that the two values differ in size, will that complicate the eeprom write?
|
No. You will only write 8 bits anyways.
Quote: |
1) Does any one have a good explanation of how the eeprom is structured so that i can visualize it so i can understand it better? I am new to this eeprom memory and a good explanation will help me alot.
|
Yes. It is called a datasheet.
Quote: |
2) Does anyone have a working example of a program that uses the 93LC66 or the 24LC00, just so i can check if all my hardware is working, then i can modify/ experiment in my own time. As in somthing i can take 'as is' and compile it and it works.
|
The drivers are in the drivers directly. There are plenty of examples in the examples directory as well as tons of info on this forum. |
|
![](templates/subSilver/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|