Shop OBEX P1 Docs P2 Docs Learn Events
Multiple MCP23016 Questions... — Parallax Forums

Multiple MCP23016 Questions...

OrionOrion Posts: 236
edited 2004-12-19 19:28 in BASIC Stamp
I'm currently drawing up a card to hold the mcp23016 and some optos and triacs.· I have jumpers for the address lines and wish to be able to stack multiples of these cards together.· Also I want to tie the interrupt pins together and feed them into a BS2p using the polling features.
·
I have·few questions
·
1.· Can the interrupt pins be tied together and put on a BS I/O pin·directly?· Pull-up required? (each mcp is divided into 8 inputs 8 outputs)
·
2. Address pins.· Must they be pulled low or high, or will low and not·connected (floating) work?
·
3. SCL & SDA· One set of pull-up resistors (4.7k) needed per I2C buss.· Or does each device need them.· I assume just one set, right?
·

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2004-12-19 19:20
    1. Yes, and yes, a pull-up is required. But if you tie them together you won't know which module "interrupted."
    2. No, high or low -- do not let them float.
    3. Just one set of pull-ups; usually on the "master" side of the circuit.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas Office
  • OrionOrion Posts: 236
    edited 2004-12-19 19:28
    Thank you very much! Time to tweak and etch!
Sign In or Register to comment.