Need know pullup configuration for i2c0 interface

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Need know pullup configuration for i2c0 interface

Jump to solution
2,733 Views
rajucm
Contributor III

Dear ALL,

we are using imx6qd processor.

We don't have external pull-up voltage on SDA and SCL line.

We need to enable internal pull-up voltage for i2c-0.

How to configure gpio pull-up on i2c-0?...

Thanks,

Raju

Labels (6)
Tags (5)
1 Solution
1,802 Views
Yuri
NXP Employee
NXP Employee

  Basically there are recommended values for I2C pull up resistors,

please refer to section 7.1 (Pull-up resistor sizing) of the I2C specs.

http://www.nxp.com/documents/user_manual/UM10204.pdf

Regards,

Yuri.

View solution in original post

0 Kudos
3 Replies
1,803 Views
Yuri
NXP Employee
NXP Employee

  Basically there are recommended values for I2C pull up resistors,

please refer to section 7.1 (Pull-up resistor sizing) of the I2C specs.

http://www.nxp.com/documents/user_manual/UM10204.pdf

Regards,

Yuri.

0 Kudos
1,802 Views
rajucm
Contributor III

Thanks Yuri,

I Check the document and configured accordingly... It worked for me..

-

Rajucm

0 Kudos
1,802 Views
igorpadykov
NXP Employee
NXP Employee

Hi Raju

pull up can be enabled on pad with IOMUXC_SW_PAD_CTL_PADxx Pad Control

Register field PUS (Pull Up / Down Config. Field) and refer to attached

Porting Guide Chapter 2 Configuring the IOMUX Controller.

In latest linux with device tree every pin needs to have its PAD configured

in the dts file. For example:

MX6QDL_PAD_GPIO_0__CCM_CLKO1      0x130b0

The explanation of what these values mean is available at:

Documentation/devicetree/bindings/pinctrl/fsl,imx6q-pinctrl.txt

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos