This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Generate Waveform with fixed Frequency on GPIO

Hello,

I just created an application that can count the number of rising edges/events on button presses using the TIMER0 peripheral configured as a COUNTER. So far it is working fine.

I wanted to test the same application using a real-world signal waveform with a fixed frequency. I do not have a signal generator as of the moment.

Is it possible to generate the waveform and output it on a GPIO pin and be able to calculate the frequency?

Thanks.

Related