Shop OBEX P1 Docs P2 Docs Learn Events
I2C - ness — Parallax Forums

I2C - ness

FlyingFishFingerFlyingFishFinger Posts: 461
edited 2006-07-07 17:24 in General Discussion
Hi there!
I have a 24LC256 EEPROM. It works if I put it on pins 0 and 1, but as soon as I move it to any other 2 pins, it doesn't work. I'm using the program from the 24LC128 page. I have the pull-ups and the pin declarations. It DOES work on pins 0 and 1 of AUXIO too, but nothing else. I've gotta say I'm stumped here. Has anyone seen this before?
Rafael
PS: Is it normal for the Stamp's processor chip to heat up a bit during operation?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
You've got to play the game.
You can't win.
You can't break even, except on a very cold day.
It doesn't get that cold.
~Laws of Thermodynamics~

Comments

  • NewzedNewzed Posts: 2,503
    edited 2006-07-06 22:21
    I think that is because the I2C will only work on pins o and 1, or on pins 8 and 9.· It's the way ic2out and ic2in are written.· It should work just as well on 8 and 9.

    Sid
  • FlyingFishFingerFlyingFishFinger Posts: 461
    edited 2006-07-06 22:30
    So...I2C only works on pins 0,1,8,9? I thought that was just the example...
    Rafael

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    You've got to play the game.
    You can't win.
    You can't break even, except on a very cold day.
    It doesn't get that cold.
    ~Laws of Thermodynamics~
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2006-07-07 16:03
    UMMmm...
    I have thought you only had two options the 0,1 and the 8,9.

    Does it really work on MAINIO 0,1,8,9 and AUXIO 0,1,8,9?
    That would be nice to know. Sudden you might double capacity via the BS2p40.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "If you want more fiber, eat the package.· Not enough?· Eat the manual."········
    ···················· Tropical regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2006-07-07 16:45
    256 SlaveIDs ($0 - $FF) are possible using PINs 0 & 1 and another 256 IDs are possible using PINs 8 & 9 -- how much more capacity is needed (?)
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2006-07-07 16:57
    Whoops, I had been looking at those 3 address pins and thinking they could only create 8 address combinations on an EEPROM.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "If you want more fiber, eat the package.· Not enough?· Eat the manual."········
    ···················· Tropical regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
  • FlyingFishFingerFlyingFishFinger Posts: 461
    edited 2006-07-07 17:24
    Well I haven't tried AUXIO 8/9 because they're being used, but AUXIO 0,1 certainly works.
    Rafael

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    You've got to play the game.
    You can't win.
    You can't break even, except on a very cold day.
    It doesn't get that cold.
    ~Laws of Thermodynamics~
Sign In or Register to comment.