Shop OBEX P1 Docs P2 Docs Learn Events
Two 24LC256 wiring thoughts — Parallax Forums

Two 24LC256 wiring thoughts

DerekDerek Posts: 15
edited 2006-06-07 23:37 in Propeller 1
I am working with Marty Hebel designing a board using the Propeller, I have been using the Propeller demo board schematic as a guide, and he *cough* i mean WE would like to add another 24LC256 to increase the memory size yeah.gif

but Im not completely possitive on how to wire them up together . I was wondering can SDA and SCL be wired to the same inputs with different addresses for the two 24LC256 or would the SDA and SCL from both memory chips have to be on seperate pins.

If any of that makes no sense just ask for clarifications. Any thoughts would be appreciated greatly. idea.gif

Thanks,

Derek

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2006-06-07 04:35
    You can add up to 3 additional 24LC256 since there are two address lines. SDA and SCL can be wired in parallel for all the EEPROMs. The only issue is that you would have to have pull-ups on both SDA and SCL. The boot EEPROM doesn't need them because the boot sequence uses internal pull-ups, but these are not available after boot (since the pins are intended to be general purpose after boot). These pull-ups do take about 1ma each which is a lot of current if you're trying to run the Propellor off batteries in sleep mode for much of the time, but a trivial amount otherwise.
  • rokickirokicki Posts: 1,000
    edited 2006-06-07 05:39
    If the pullup current is a problem, simply idle those lines high---then only trace current will flow.
  • cgraceycgracey Posts: 14,206
    edited 2006-06-07 06:18
    Actually, there are no internal pull-ups on P28 and P29. This might have been a good idea, though, if we had thought of it earlier. You will need to add a pull-up to P29/SDA·(10K to VDD is fine). P28/SCL is driven during boot-up, so there's no need for a pull-up there.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


    Chip Gracey
    Parallax, Inc.
  • DerekDerek Posts: 15
    edited 2006-06-07 23:37
    Thanks guys.
Sign In or Register to comment.