PDA

View Full Version : I"C E2PROM with picbasic pro



iw2fvo
- 17th July 2011, 14:32
Good day,
I am going to pose my question in a different way:
What will be the picbasic pro command to read and write an external I2C E2PROM having a size of 256K *8, 512K*8?
The manual indications stop at 65K*8.
Any help on this item ?
Thanks in advance for the assistance.
regards,
Ambrogio

mackrackit
- 18th July 2011, 01:09
Use the normal I2C commands. The manual is just giving a few examples.

mister_e
- 18th July 2011, 05:05
Knowing your EEPROM part# would help. Some mix Device Address and EEPROM page select, some don't. Datasheet explain how the device work, control Byte, control WORD, and so forth. Don't worry, I2CWRITE will work with almost anything available on the market.

iw2fvo
- 18th July 2011, 09:10
thanks Steve,

the memory is : 24LC512

Regards,
Ambrogio

mister_e
- 18th July 2011, 16:53
http://www.picbasic.co.uk/forum/showthread.php?t=9425&highlight=24lc512

iw2fvo
- 18th July 2011, 20:38
Thanks,
I did read the Microchip data sheet too.
Now it is working well;
Thanks
Ambrogio

Dave
- 19th July 2011, 22:38
iw2fvo, Just do a search for 24LC1025 and you will see some posts I wrote and some other peoples resopnses.