Maximum I2C Clock Rate - Arduino Forum

Maximum I2C Clock Rate Official Hardware Mega Due March 14, 2015, 4:06pm 1

Hopefully someone here will have an answer for this, as it's all quiet on the Due forum....

I need to know the maximum clock rate fo the I2C on a Due I've looked at the libraries and the data sheet, but it's about as clear as mud. I know it defaults to 100K, it supports 400K, but I'm wondering if ti can be pushed to 1MHz. I'm not yet in a position to actually test it to see....

Regards, Ray L.

March 14, 2015, 4:12pm 2

Use the setClock method.

Looking at the datasheet is seems the low and high periods are adjustable from 4 clocks to 32644 clocks (47ns to 388us, so the combined period from 94ns (10.5MHz)

March 14, 2015, 5:06pm 3

Mark,

Excellent! Thanks!

Regards, Ray L.

March 15, 2015, 2:15pm 4

Hi Ray,

If you have some numbers, please let me know.

Might be useful to add to the multispeed I2C scanner - MultiSpeed I2C Scanner - 50,100,200,400 KHz. - Libraries - Arduino Forum -

March 15, 2015, 2:22pm 5

I haven't tried to push it to the limit, as my current wiring is really poor (just jumper wires plugged onto header pins). But it's working perfectly at 1MHz. I'll try to go higher when I get my PCBs in later this week.

Regards, Ray L.

March 15, 2015, 2:47pm 6

This is interesting ... it would be great to see FM+ speed. There would probably be more limited compatibility as Atmel only lists TWI compatibility with the i2C Standard at Standard Mode (100KHz) and Fast Mode (400KHz) speed.

March 15, 2015, 3:11pm 7

What is "FM+"?

I suspect few I2C devices would work reliably above 400kHz. I can get away with it because I'm using a high-speed FPGA as the slave, so i can design it to work at any speed I want, signal integrity on the interconnect permitting.

Regards, Ray L.

March 15, 2015, 3:29pm 8

FM+ is just I2C @ 1MHz Fast Mode Plus – I2C Bus If I can ever get the time, might try the PCA9698 40-bit port expander @ FM+ speed.

Topic Replies Views Activity
Portenta H7 I2C clock speed Networking, Protocols, and Devices 3 66 October 7, 2025
I2C scan on 400000 Programming 5 642 August 19, 2023
I2C Write/Read at 3.4Mhz not achivable using Wire on MKR Zero? General Guidance 6 481 January 29, 2024
Does the Wire.setClock() function support 10kHz i2c clock frequency? Networking, Protocols, and Devices 18 991 July 24, 2024
MAX I2C speed of arduino Due Networking, Protocols, and Devices 8 5193 May 6, 2021
Unfortunately, your browser is unsupported. Please switch to a supported browser to view rich content, log in and reply.

Tag » Arduino Uno I2c High Speed Mode