Configuration of pins to achieve High Speed I2C

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

Configuration of pins to achieve High Speed I2C

906 Views
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 Kudos
1 Reply

885 Views
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 Kudos