Pages: [1]   Go Down
Author Topic: Can the Due run 12C at High Speed (3.4M)?  (Read 382 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I know that the Uno is limited to running at the Standard speed of 100K (and have heard some discussion of cranking it up to 400K).  I am hoping that the Due can support higher speeds because of it's much faster clock speed, but have found no indication that this would be the case.  Anyone know for sure?
Thanks,
--Norm
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes, the Due can handle 400KHz I2C.
You can change the default 100K by editing Wire.h, located in ...\arduino-1.5.4-r2-windows\arduino-1.5.4\hardware\arduino\sam\libraries\Wire
Code:
// TWI clock frequency
static const uint32_t TWI_CLOCK = 100000;
Logged

Pages: [1]   Go Up
Jump to: