A method and system for generating variable frequency cyclic waveforms using
pulse
width modulation (PWM) to provide adjustable precision frequency and enhanced resolution
is disclosed. The technique includes a plurality of sets of duty cycle values,
each set corresponding to the desired waveform profile at a given frequency, coupled
with a mechanism for applying a selected duty cycle for a variable number of PWM
cycles, to achieve an adjustable fine resolution of the waveform frequency.