Need know pullup configuration for i2c0 interface

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Need know pullup configuration for i2c0 interface

ソリューションへジャンプ
3,108件の閲覧回数
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

ラベル(6)
タグ(5)
1 解決策
2,177件の閲覧回数
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 件の賞賛
返信
3 返答(返信)
2,178件の閲覧回数
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 件の賞賛
返信
2,177件の閲覧回数
rajucm
Contributor III

Thanks Yuri,

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

-

Rajucm

0 件の賞賛
返信
2,177件の閲覧回数
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 件の賞賛
返信