Hi,
Thankyou
inputting a frequency and duty cycle value , using counters concepts pwm generation is successful . as u said, to overcome the limitations of counters I am trying to learn accumulator techniques.
But target or problem in my code is that... I need to generate a set of frequencies and their pwm from system clock .
Like eg... 50mhz my system clock
range of frequency 5mhz-30mhz with stepsize 5mhz.... ie, 5,10,15,20,25,30 like that. so I would like to add a loop to select the current frequency and then rest of program will be same.
Thankyou