Configuration of pins to achieve High Speed I2C

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

Configuration of pins to achieve High Speed I2C

921件の閲覧回数
Carlio
Contributor II

Hi there,

How would one configure the SDA/SCL pins in the pinmuxtool to achieve High Speed (3.4Mhz) I2C. I know that for speeds greater than 1Mhz you need to set the push pull configuration with the lpi2c driver, but do you need to consider any settings when adding the pins in the pin mix tool? 

Im using MCUXpresso, the fsl_lpi2c driver and the targeted platform is an imxRT1062 with 1kOhms pull ups on the i2c bus and only one slave device capable of High Speed on the particular bus.

 

Best regards,

Carl 

0 件の賞賛
1 返信

900件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @Carlio 

    From RT1060 datasheet, you can know the I2C related mode:

kerryzhou_0-1623823039777.png

So, if you want to realize the (3.4Mhz) I2C, you need to select the UFm mode, then from the reference manual, you can set:

kerryzhou_1-1623823090462.png

For the pin mux, I don't think you need to do the special setting, just set the related pin as the I2C, please note the Daisy Chain function, make sure your selected pin works as the I2C.

 

Wish it helps you!

If you still have questions about it, please kindly let me know.

Best Regards,

kerry

 

 

0 件の賞賛