Question
I want to generate 16 MHZ clock signal from Nucleo-F746ZG development board. I have used FastPWM library to generate 16 MHZ clock on PA_8 pin. But not able to see square wave on CRO. Can someone please help
#include "mbed.h"
#include "FastPWM.h"
FastPWM fastpwm(PA_8,1);
int main() {
fastpwm.period(5.25e-8 );
fastpwm.write(0.5);
}This is my simple code to generate PWM in MHZ using FastPWM. When i check on CRO its showing frequency about 16 to 19 MHZ but not abel to see square waves. what am i missing here? Can someone please help?
