Hi,
I want to have a frequency control of a PWM in order of less than 1 Hz, for example 0.1 Hz.
I wanna move from 20000 to 20000.1 for example. Always with fixed duty cycle (50%).
But how can I do that if the equation for the PRD register is:
PRD = MCU_Freq / (2 * 2 * Freq)
in which MCU_Freq = 200 Mhz, Freq = desired frequency and the '2*2' part is due to the up-down mode, and the PRD is actually an unsigned integer.
Anyone can help me with that? I really appreciate.