Shop OBEX P1 Docs P2 Docs Learn Events
Spin Stamp EEPROM — Parallax Forums

Spin Stamp EEPROM

NewzedNewzed Posts: 2,503
edited 2007-07-04 15:47 in Propeller 1
For Mike Green:

Mike, I just finished a board for the Spin Stamp and while I was checking it
I noticed that SCL was connected to Pin 11 and SDA was connected to Pin 10.· Do the "inverted" connections matter as long as I change the loader object to show the correct pins or does SCL have to be on the lower of the two pins?

Thanks

Sid

Sid

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.

That is why they call it the present.

Don't have VGA?
Newzed@aol.com
·

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-05-07 23:39
    Sid,
    Which I2C driver are you using for this? Some of the several available are easy to change and some are not so easy.


    Are you referring to the built-in EEPROM? It's connected the same way as in all the other Propellers ... to I/O pins 28/29.

    Post Edited (Mike Green) : 5/7/2007 11:49:34 PM GMT
  • NewzedNewzed Posts: 2,503
    edited 2007-05-08 00:04
    Mike, I'm using the loader object in your OS system.

    Sid

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Yesterday is history, tomorrow is a mystery, and today is a gift.

    That is why they call it the present.

    Don't have VGA?
    Newzed@aol.com
    ·
  • HGPLHGPL Posts: 15
    edited 2007-07-04 08:42
    Hi,

    I found some i2c driver, but all in SPIN. Can anybody know i2c assembly code?
    I think this solution are faster then spin, and need the fastest code for me...
    I use some 24LC256 i2c eeprom memory, and I data load from eeprom to main memory.

    Thanks..
  • KaioKaio Posts: 253
    edited 2007-07-04 10:27
    Please have a look at FemtoBasic. There you can find the I2C assembly driver in the file sdspiFemto.spin.

    Thomas
  • HGPLHGPL Posts: 15
    edited 2007-07-04 15:47
    Thanks Kaio!
Sign In or Register to comment.