Test the response time from toggling a GPIO input to setting a GPIO output from the interrupt handler.

Measure the interrupt response time for a GPIO input

This mbed program registers "on rise" and "on fall" interrupt handlers for a GPIO input and drives a different GPIO output to follow the input.

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

mbed-os-5.12.3

  • rising: 1.1 usec - 1.3 usec
  • falling: 1.1 usec - 1.3 usec

/media/uploads/stefanwaldschmidt/mbed-os-5.12.3.gif

OS 2

  • rising: 0.7 usec - 1.2 usec
  • falling: 0.8 usec - 1.3 usec

/media/uploads/stefanwaldschmidt/imag001.gif

mbed-os.lib

Committer:
stefanwaldschmidt
Date:
2019-05-10
Revision:
3:e4a312a8ad61

File content as of revision 3:e4a312a8ad61:

https://github.com/ARMmbed/mbed-os.git/#2f1338b89fc2d8d932b1165a4e19d76989219c66