CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

External Memory

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
AK



Joined: 20 Apr 2004
Posts: 33

View user's profile Send private message

External Memory
PostPosted: Wed Aug 31, 2005 7:47 am     Reply with quote

Hello,

I am looking for suggestions on what I should use for external memory with a current project that I am working on. I need to store about 1300 seven character strings or it may end up being 1300 floating point values (format has not been decided). I would prefer not to use a USART since I am already using the hardware USART to communicate with the LCD. Thanks for the help.

Scott
Ttelmah
Guest







PostPosted: Wed Aug 31, 2005 8:51 am     Reply with quote

Any number of I2C, or SPI memories available. Do the contents need to be saved when power is removed?. How often does the data need to change?. If it needs to be permannent, and the update is not too frequent, with the slow write speed not therefore a problem, an EEPROM, is cheap and easy, with complete libraries already included with the compiler.

Best Wishes
AK



Joined: 20 Apr 2004
Posts: 33

View user's profile Send private message

PostPosted: Wed Aug 31, 2005 9:10 am     Reply with quote

The contents do need to be saved when power is removed. The data for a specific memory location won't change that often. The application basically requires the user to enter data via a touchscreen keypad. The entered data would then be saved. I don't think that speed is a big issue. Is there a specific I2C chip that you would recommend?
Thanks,
Scott
jecottrell



Joined: 16 Jan 2005
Posts: 559
Location: Tucson, AZ

View user's profile Send private message

PostPosted: Wed Aug 31, 2005 1:33 pm     Reply with quote

Take a look at this page. The I2C devices are at the top.

http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=80

They allow for up to 8 devices on the same bus and I think all the different capacities are pin compatible.

I've gotten into the habit of throwing one on to each design, just in case I might need it.

Drivers are available in the examples or in the forums.

Good Luck,

John
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Wed Aug 31, 2005 3:39 pm     Reply with quote

I like the FRAM's from ramtron. FM24C256 is I2C. They hold data in power outage without battery. 8 chips addressable. 32768byte/chip for a total of 265k byte. I use them on hardware I2C using fast setting.
These have a fast write time.(faster than s-eprom)
[[NO WAITING]]

I also throw 1 on the board just in case I need it.
http://www.ramtron.com/lib/literature/datasheets/FM24C256ds_r3.1.pdf
jecottrell



Joined: 16 Jan 2005
Posts: 559
Location: Tucson, AZ

View user's profile Send private message

PostPosted: Wed Aug 31, 2005 7:29 pm     Reply with quote

I looked at the data sheet for the FRAM. 5V only, be careful if you're doing low power stuff.

Also, Couldn't find a source. Then I noticed that there was a recent thread on that topic.

So it looks like FRAM has speed....

And EEPROM has low power and availability.

How does FRAM compare in cost?

Thanks,

John
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Aug 31, 2005 7:53 pm     Reply with quote

What about this chart here ? It says 2.7-3.6v for several chips:
http://www.ramtron.com/doc/Products/serial.asp
jecottrell



Joined: 16 Jan 2005
Posts: 559
Location: Tucson, AZ

View user's profile Send private message

PostPosted: Wed Aug 31, 2005 9:34 pm     Reply with quote

I stand corrected. (I missed the product matrix on the web page.)

How about price? How does it compare?

Thanks,

John
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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