Test maximal GPIO output performance by toggling a GPIO output pin as fast as possible.

This mbed program creates a thread with Realtime Priority to do nothing but to toggle a GPIO output as fast as possible.

Measurements are performed on a NUCLEO-F767ZI board https://os.mbed.com/platforms/ST-Nucleo-F767ZI/.

  • STM32F767ZIT6 @ 216 MHz
  • Duration of high or low phases: 4 nsec - 10 nsec (resulting is something from 50 MHz to 125 MHz)
Revision:
0:f122acadb07b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed-os.lib	Mon May 13 12:28:40 2019 +0000
@@ -0,0 +1,1 @@
+https://github.com/ARMmbed/mbed-os.git/#0f959dbe4749c20416236e4fe1dac5692cbe18ab