Oscilloscope Analysis: Microcontroller GPIO Set/Reset Time Measurement with Math Operations
TPG TechLab TPG TechLab
366 subscribers
160 views
0

 Published On Mar 27, 2024

In this video, we'll measure the GPIO set and reset time of an STM microcontroller using math operations on an oscilloscope.
The clock speed of this STM microcontroller is 72MHz.
When the XOR operation is applied to two waveforms representing different states of a GPIO pin (e.g., high and low), it produces an output signal that is high only when the input signals differ. This characteristic makes it useful for isolating transitions between the set and reset states of the GPIO pin.
This estimation is based on coding with the GPIO function provided in the STM Standard Peripherals Library and without compiler optimization.

show more

Share/Embed