This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TCA6416A: Set P00 to P17 to known state before I2C access to set as output.

Part Number: TCA6416A

Dear Sir/Madam,

On page 17 of the datasheet "At power on or after a reset, the I/Os are configured as inputs."

If P00 to P17 are all used as outputs and the outputs need to be in a defined state before I2C access to set as outputs is it OK to use pull-up or pull-down on these pins?

Any particular value required.

Regards Joe

  • Joe,

    An expert has been notified of this thread and will respond accordingly. Thank you for your patience.

    Regards,

  • "If P00 to P17 are all used as outputs and the outputs need to be in a defined state before I2C access to set as outputs is it OK to use pull-up or pull-down on these pins?"

    Yes, this is actually what we expect designers to do when they need to ensure the state of the pins after power up but before programing the device is initiated. 

    "Any particular value required."

    You could technically use any value however weaker (larger values) will generate less leakage currents but are more susceptible to noise (meaning the bias voltage may move when noise is present). Stronger (lower values) will provide a stronger bias but may eat up more leakage current (a bigger careabout in battery applications). Something like 47k would work in most cases. 

    Please note that we expect GPIOs not used to also be set as outputs or left as inputs to be pulled high/low with weak resistors. This is to ensure shoot through current doesn't appear. 

    Thanks,

    -Bobby

  • Hi Bobby,

    Thank you for the detailed response.

    Regards Joe