FRAM instead of EEPROM?
abecedarian
Posts: 312
I think the title says it all.
Ignoring the cost, would it work on a P8X32A as an alternative to the EEPROM (instead of 24LC512 for instance)?
Would drivers need re-written?
http://www.cypress.com/?docID=48191
Ignoring the cost, would it work on a P8X32A as an alternative to the EEPROM (instead of 24LC512 for instance)?
Would drivers need re-written?
http://www.cypress.com/?docID=48191
Comments
FRAM are designed to be serial compatible, so the i2c drivers would be unchanged, but the Device Address values likely do need changes.
If you knew only FRAM was going to be used the code could even be simplified slightly, as there is no write delay/polling needed on FRAM. (and no power-failing handler either )
Of course FRAM parts are quite costly, so you really have to need some of their features.
Yeah, the part I linked to was almost $14 USD.
I was thinking more about faster boot time and write endurance than anything though; thinking about something for the EFI / ECU project I've been batting my head against. Just exploring options.
But you look at $9 for a Propeller chip and $14 for a FRAM, you begin to wonder. Paying $6 for an ADC chip is another awkward reality (MCP3208 from Parallax), but that seems worthwhile.
They would work with BasicStamps, too.
I don't know if they still give samples, but a while back (two years?) the company making FRAM (Ramtron?) would give you three samples for the asking.
Addressing compatibility is really a cluster of issues.
A. The I2C bus
B. The actual packages pins to produce 3 bits of a package address
C. Most significant bit first or Most significant bit last
D. The scheme that uses 8 bit control and/or 16 bit address with additional features for writes and read of contiguous blocks of bytes.
A, B, and C appear to be the same. D would take a comparitive reading of both products PDFs to determine how unalike they are.
Cool. Good to know.
See #8 - Boot times is locked in the Prop ROM.
Write endurance and write speeds are the main 'gains' with FRAM.
Write Speed in EEPROM is hard to work around, if you really need fast writes, FRAM can self-select.
Endurance, you can engineer a little, and most EE devices have ECC
See for example
ftp://ftp.microchip.com/tools/memory/total50/tutorial.html
and this
http://www.st.com/web/en/resource/technical/document/datasheet/CD00001891.pdf
mentions 4 Million WR cycles @ 25 °C, < 5ms Twr
That is the one I fell in love with. The addition of a Real Time Clock is a big boost in utility. The fact that the Propeller will boot from it makes it good to.
Thanks.