24c64 Software lib

Go To Last Post
9 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hi,

if any one have 24c64 eeprom software library ?

~ Chandana ~ a self learner

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The 24c64 will work just like a 24c128, 24c256, 24c512. Check the datasheet for page size. From memory the page size is 64.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I need to use custom pins for data transfer like SCL-> PORTA 2, SDA-> PORTA 3

~ Chandana ~ a self learner

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

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.
.
David.

Last Edited: Fri. May 19, 2017 - 06:56 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

can you point me to any atmel studio code?

~ Chandana ~ a self learner

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

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.

 

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Last Edited: Fri. May 19, 2017 - 08:48 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

i'm not student. just doing electronic projects for time to time.

~ Chandana ~ a self learner

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

finally i figure it out. thanks everyone

~ Chandana ~ a self learner