Teensy 3.0 & 3.1 & 3.2 & 3.5 & 3.6

32 bit ARM-based boards for use with the Arduino IDE

Similar projects worth following

this is a test

2nd line is another test

why can't I get any white space or text formatting to appear when this shows on the project's page?

View all 5 project logs

Enjoy this project?




[this comment has been deleted]

Paul Stoffregen wrote 07/01/2016 at 06:38 point

Would you believe I just tested the speed against a few other boards.  Here's the results.

Maybe this is some subtle bug in Teensy's Wire library, which this simple test couldn't reveal?  If you want me to investigate, you must post on the forum with complete code to reproduce the issue.

  Are you sure? yes | no

Paul Stoffregen wrote 07/01/2016 at 09:31 point

Those are from the i2c_t3 library.  The Wire lib has only defs for the standard rates, 100 kHz, 400 kHz and 1 MHz.  Just use i2c_t3 instead of Wire.  But if you *really* want to use those non-standard rates with Wire instead of i2c_t3, just edit the Wire.setClock() function with number for the speed you want to the I2C0_F register.  The very latest code (in 1.29-beta3) has new defines for the all the values with their actual division number (eg, I2C_F_DIV576) to make this easier.

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates