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.

TM4C1290NCZAD: I2C9 alternative pin mux configuration

Part Number: TM4C1290NCZAD

Hello,

I want to use I2C9 on pins SCL=PE6 SDA=PE7. I note from the DS that PE7 has special considerations when  re-configuring it from GPIO functionality. In addition to the standard setup for I2C what else will I need to do to make this work?

I have found that if I configure I2C9 on pins SCL=PA0 SDA=PA1 is works as expected, however, when I try this for pins SCL=PE6 SDA=PE7 the I2C status registers indicate BUSBSY in the MCS register, ie

IDLE=1
BUSBSY=1
BUSY=0

before any transmissions have taken place.

Pleased will you advise me.

Thanks.

  • Chris,

    You only need to unlock the pin, as per this sticky post up on the forum:

    e2e.ti.com/.../374640

    TM4C129 Devices Port-E

    HWREG(GPIO_PORTE_AHB_BASE+GPIO_O_LOCK) = GPIO_LOCK_KEY;

    HWREG(GPIO_PORTE_AHB_BASE+GPIO_O_CR) |= GPIO_PIN_7;

    NOTE: Changing these pins "will" cause loss of debug as the JTAG Function will be lost

    Bruno

  • Bruno Saraiva said:
    NOTE: Changing these pins "will" cause loss of debug as the JTAG Function will be lost

    if that caution proves "true" - poster's "want to use" (Pin/Port) choice appears flawed!      Other "pins/ports" - able to accomplish poster's goal - are likely to prove far more advantaged...