if any one have 24c64 eeprom software library ?
~ Chandana ~ a self learner
The 24c64 will work just like a 24c128, 24c256, 24c512. Check the datasheet for page size. From memory the page size is 64.
I need to use custom pins for data transfer like SCL-> PORTA 2, SDA-> PORTA 3
The Fleury library allows you to bit-bash I2C on any pins instead of using the proper TWI hardware peripheral.
It also has an example for a 24c04. Note that the 24c64 uses two bytes for the EEPROM location.
Likewise the Codevision compiler i2c library can use any pins. It also has examples.
The I2C bus requires proper external pullup resustors on SCL, SDA. This will cost you money.
can you point me to any atmel studio code?
No. You have been a member for 6 years. That is a long time to sleep through school classes.
If you area student, I would think about a different career.
If you are a hobbyist, just say so.
a self learner
i'm not student. just doing electronic projects for time to time.
finally i figure it out. thanks everyone
© 2018 Microchip Technology Inc.