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.

EK-TM4C123GXL: TM4C123GH6PM

Part Number: EK-TM4C123GXL

Can the weak pull up option be enabled in the GPIO pad config register for the I2C SCL and SDA lines instead of an external pull up resistor for the 2 I2C lines?

  • Hi,

      The answer is no. Please do not rely on the internal weak pull.  Please add an external pullup to the bus. 

    16.3 Functional Description
    Each I2C module is comprised of both master and slave functions and is identified by a unique
    address. A master-initiated communication generates the clock signal, SCL. For proper operation,
    the SDA pin must be configured as an open-drain signal. Due to the internal circuitry that supports
    high-speed operation, the SCL pin must not be configured as an open-drain signal, although the
    internal circuitry causes it to act as if it were an open drain signal. Both SDA and SCL signals must
    be connected to a positive supply voltage using a pull-up resistor. A typical I2C bus configuration is
    shown in Figure 16-2. Refer to the I2C-bus specification and user manual to determine the size of
    the pull-ups needed for proper operation.