2017-10-03 12:09 AM
Solved! Go to Solution.
2017-10-03 03:04 AM
Don't you have an 8MHz crystal also on that second board?
JW
2017-10-03 12:42 AM
With this PCB(25Mhz) and these configurations the output signal is not 4KHz
And how much is it?
You can verify the system clock frequency by outputting it onto a MCO pin.
JW
2017-10-03 12:51 AM
Hi,
The output Frecuency in the PWM Pin is 1.28KHz...
InputClock
25MHz/8MHz = 3.125 times faster
Output Signal
8MHz -> 4KHZ
25MHz -> 1.28KHz
The Output Signal is 3.125 times slower
Something in my configuration is wrong but I can't find it
Thanks in advance,
Sergio
2017-10-03 03:04 AM
Don't you have an 8MHz crystal also on that second board?
JW
2017-10-03 03:13 AM
Hi,
That was the mistake
...I thought I had soldered a 25MHz crystal but soldered one of 8MHz also on this PCB
I was convinced that I had sold one of 25 and that the error was in the software
Thank you very much
Sergio