Maximum I2C Clock Rate - Arduino Forum
Maybe your like
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.
MarkT March 14, 2015, 4:12pm 2Use 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)
RayLivingston March 14, 2015, 5:06pm 3Mark,
Excellent! Thanks!
Regards, Ray L.
robtillaart March 15, 2015, 2:15pm 4Hi 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 -
RayLivingston March 15, 2015, 2:22pm 5I 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.
dlloyd March 15, 2015, 2:47pm 6This 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.
RayLivingston March 15, 2015, 3:11pm 7What 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.
dlloyd March 15, 2015, 3:29pm 8FM+ 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.
Related topics
| 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 |
Tag » Arduino Uno I2c High Speed Mode
-
How To Make Arduino Do High Speed I2C
-
Arduino Mega FAST MODE(400000L) I2c Communcation Not ...
-
I2C Transfer Rates Using Wire Library. - Arduino Forum
-
Wire - Arduino Reference
-
Faster I2C - Interfacing - Arduino Forum
-
SetClock() - Arduino Reference
-
I2C Communications Part 1 - Arduino To Arduino | DroneBot Workshop
-
Arduino I2C Tutorial | How To Use I2C Communication On Arduino?
-
I2C/SPI Communication - Using OpenSegment - Learn.
-
Classic Atmega Which Supports TWI/I2C Fast Mode Plus 1MHz Speed
-
How To Make Arduino Do High Speed I2C - Valuable Tech Notes
-
Synchronous Serial Communication Using The I2C Bus
-
[SOLVED] I2C Speed - Arduino For STM32