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.

Why gpio for scl and SDA has internal pull up active

Other Parts Discussed in Thread: TMS320F28027

If The SDA and SCL pins are bidirectional. The driver of these pins are open drain configuration.

Hence we need to connect externally puulup resisters connected to 3.3 volt supply.

The SDA and SCL pins are then connected to SDA and SCL pins of EEPROMor any I2C compatable device.

If it is so then why in Sample code in control suite for TMS320F28027

I am using tms320f28027 launchpad

The GPIO had internal pullup active

GpioCtrlRegs.GPAPUD.bit.GPIO28 = 0; // Enable pull-up for GPIO28 (SDAA)

GpioCtrlRegs.GPAPUD.bit.GPIO29 = 0; //

Enable pull-up for GPIO29 (SCLA)

Is it right

Please reply