Content originally posted in LPCWare by Ex-Zero on Sat Sep 10 20:50:32 MST 2011
Congratulation,
your calculation is generating a nice 0.52 Hz signal :)
Running with 1/48E6:
f = 1/48E6 * MR0 = 0.52 Hz
Timers are too slow to generate a signal with this frequency.
If you change your main clock to 50MHz you could use CLKOUT to generate a 25MHz output, but that's no 'clean 25MHz, 50% duty cycle waveform' :mad: