Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 11 months ago.
FastIO on Nucleo F411RE
I tried using FastIO with an F411RE board, just by copy/paste/renaming the the F401RE header files. It seems to work without problems with F411RE as well.
Great library, by the way. Thanks!
Measurements with the test bench shows results more or less similar to F401RE:
Starting test bench Verifying basic behavior Basic behavior verified Measuring fixed write pattern speed Standard took 10.99 cycles, FastIO took 2.00 cycles, which is 18% Standard took 110ns, FastIO took 20ns Measuring variable write pattern speed Standard took 15.00 cycles, FastIO took 6.01 cycles, which is 40% Standard took 150ns, FastIO took 60ns Measuring read speed Standard took 12.02 cycles, FastIO took 5.02 cycles, which is 42% Standard took 120ns, FastIO took 50ns Measuring toggling using operators speed Standard took 33.53 cycles, FastIO took 5.00 cycles, which is 15% Standard took 335ns, FastIO took 50ns Measuring switching between input and output Standard took 367.84 cycles, FastIO took 5.00 cycles, which is 1% Standard took 3678ns, FastIO took 50ns
Question relating to:
1 Answer
9 years, 11 months ago.
Hey,
These indeed are pretty much identical as far as I am aware. But thanks for testing, I don't have it myself :). So you didn't had to change anything in the code itself? I included the F411 in the F401 code and it should now be supported by the library directly :).
Erik