View previous topic :: View next topic |
Author |
Message |
arunb
Joined: 08 Sep 2003 Posts: 492 Location: India
|
Drivers for the 24LC256 and FM25256 are the same..? |
Posted: Wed Sep 05, 2007 3:03 am |
|
|
Hi,
I have just got the FM 25256 working (FRAM ), I used a set of drivers that were posted in the Code Library in this forum and I found that it did not work, but when I used the drivers for the 24LC256 EEPROM (found in PICC folder), I was able to read and write to the FRAM.
Is it OK to use the 24LC256 EEPROM drivers for the FRAM or does it need any tweaks for better operation ???
thanks
arunb
Note: Iam using byte read and writes |
|
|
Ttelmah Guest
|
|
Posted: Wed Sep 05, 2007 4:46 am |
|
|
They should work fine. You can slightly speed things up, by getting rid of the reading and testing of the busy status bit on the write. On the EEPROM, the code needs to wait here, till the chip is ready. On the FRAM, once the data is transferred, the write is immediately completed, faster than the I2C bus can transfer a byte.
Best Wishes |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
arunb
Joined: 08 Sep 2003 Posts: 492 Location: India
|
RE: |
Posted: Wed Sep 05, 2007 11:19 pm |
|
|
Hi,
Your are quite right, the part number I have is FM 24C256 which is a I2C based device, thank you for pointing out the error.
arunb |
|
|
|