A Thinking about Project using this IC Chip DS1220AB 16k Nonvolatile SRAM Has
sam_sam_sam
Posts: 2,286
·Dose· any one have a Demo code for this type of chip
Feed back need
Thank to any one that can help
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any··that you may have and all of your time finding them
·
·
·
·
Sam
Feed back need
Thank to any one that can help
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any··that you may have and all of your time finding them
·
·
·
·
Sam
Comments
I have used this chip in the early nineties, as well as the DS1225AB. These chips are not serial in nature and are not intended for use with microcontrollers. They have a parallel 3-bus interface and are intended for use with a CPU such as the Z80 (which is what I have used them with). They contain a parallel address bus, data bus and a control bus. I think what you need is an NV solution with a serial interface.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
50 72 6F 6A 65 63 74 20 53 69 74 65
·
Are there any that are· serial interface that like the DS1302 Time Chip that a back up battery or cap hold the memory
I want write to it every second an do not want to wear it out
Thanks for your help
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any··that you may have and all of your time finding them
·
·
·
·
Sam
It does eventually wear out, but would take years and years and years to do so.
That what·I was looking for
I order some samples to try out
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any··that you may have and all of your time finding them
·
·
·
·
Sam
The related FRAM is pin compatable with the EEPROM. I guess the question is: would the FRAM be a drop-in replacement? Or is the standard EEPROM write/read timing hard coded into PBASIC?
Even with the hard coded timing aspect, having "unlimited" writes would be an immediate benefit.
DJ
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Instead of:
"Those who can, do.· Those who can't, teach." (Shaw)
I prefer:
"Those who know, do.· Those who understand, teach." (Aristotle)
·
Would this be a better choice
FM24C16A-G Here is the Data Sheet· http://www.ramtron.com/files/datasheets/FM24C16Ads_r3.1.pdf
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any··that you may have and all of your time finding them
·
·
·
·
Sam
Thanks for your help
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any··that you may have and all of your time finding them
·
·
·
·
Sam
If you are already planning to use I2C in this project, then that's the way to go. If not then consider the SPI type which will require less code, but at the expense of a dedicated "Chip Select" connection for each device.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Rick
Thanks for the info when i was at there web page I saw they SPI type·and the I2C type and they also have·Parallel· type as well
Do the SPI type and 12C type use the same Demo code for the one that Parallax sells
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any··that you may have and all of your time finding them
·
·
·
·
Sam
Post Edited (sam_sam_sam) : 9/20/2009 3:38:04 PM GMT
Yes, sorry - the "16" instead of the "256".
My other concern is that the speed of the RAMTRON part might not be realized if the BS Interpreter code for writing the default EEPROM device still waits the 4ms or so for the write to complete...or, maybe the Interpreter looks for a "ready" condition. If that was the case, then we'd see the RAMTRON's quicker access.
Rambling thoughts,
DJ
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Instead of:
"Those who can, do.· Those who can't, teach." (Shaw)
I prefer:
"Those who know, do.· Those who understand, teach." (Aristotle)
·
Most projects I do, I tend to run out of code space long before I run out of I/O pins, therefore I prefer SPI devices.
Attached is an example program for the BS2. Jon wrote several articles in Nuts and Volts on I2C, look them up.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Rick
For a given BASIC Stamp model, the EEPROM speed is fixed in the interpreter based on the timing of the EEPROM used on the module.· Putting a faster chip in place of the EEPROM will not increase the overall speed of the module even when doing writes.· I hope this helps.· Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
50 72 6F 6A 65 63 74 20 53 69 74 65
·
Does this mean that I do not have to place a·PAUSE of 4ms after a WRITE to allow·the EEPROM to complete its write operation?
Sorry to be so anal about this, but it's kinda important for my current project.
DJ
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Instead of:
"Those who can, do.· Those who can't, teach." (Shaw)
I prefer:
"Those who know, do.· Those who understand, teach." (Aristotle)
Post Edited (davejames) : 9/21/2009 5:14:20 PM GMT
Nifty.... where's that little break-out board from?
The WRITE statement includes any necessary delay for the write operation to complete properly.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
50 72 6F 6A 65 63 74 20 53 69 74 65
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
50 72 6F 6A 65 63 74 20 53 69 74 65
·
I appreciate it.
The Programming and Syntax manual doesn't specifically say anything, either way, about requiring a delay after issuing a WRITE statement. So, erring on the side of caution (assuming the worst), I insert a delay after writing to the EEPROM. Now that I know I don't have to, so much the better!
Thanks both,
DJ
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Instead of:
"Those who can, do.· Those who can't, teach." (Shaw)
I prefer:
"Those who know, do.· Those who understand, teach." (Aristotle)
·