AnsweredAssumed Answered

Generation of odd freq with Timer Peripheral

Question asked by Pachchigar.Pinkesh on Apr 25, 2016
Latest reply on May 13, 2016 by Pachchigar.Pinkesh
Hi ,
I want to generate signal equal to 2.048MHz for audio codec IC which need to be very precise .
Right now I have configured TIM8 CHN3 with per-scaler = 0 and period = 40 and timer peripheral clock is around 84 MHz .
With this nearest value that I have got around 2048780 Hz.

Prescaler = 0 and Period = 40 => 84 MHz / (40+1) = 2048780 Hz
Prescaler = 0 and Period = 41 => 84 MHz / (41+1) = 2000000 Hz
Prescaler = 0 and Period = 39 => 84 MHz / (39+1) = 2100000 Hz

Is there any other-method in this scenario ?  Please let me know

- Pinkesh

Outcomes