Hey everyone!
I was wondering if anyone could help me out with some simple suggestions. The simpler the better. My problem is:
I'm trying to design a PWM with max frequency of about 45kHz. I was wanting to use the PWM module on say a PIC16F1827 with 32Mhz Oscillator but even at this high FOSC my frequency resolution is only around 50Hz. What I mean is, I can only adjust the frequency by around 50Hz and no smaller increment/decrement... So If I wanted 41775Hz for example, I may only be able to get 41800Hz or 41750Hz.
Needed solution:
Is there someway I can build some solid state circuit(perhaps some IC) where I can control the frequency (1Hz resolution) with my PIC? I was thinking maybe even a 555 timer circuit but I have no idea how to go about this.
Thanks much in advance!
P.S. 40Mhz External Oscillator will still not give me high enough resolution.... :/
I was wondering if anyone could help me out with some simple suggestions. The simpler the better. My problem is:
I'm trying to design a PWM with max frequency of about 45kHz. I was wanting to use the PWM module on say a PIC16F1827 with 32Mhz Oscillator but even at this high FOSC my frequency resolution is only around 50Hz. What I mean is, I can only adjust the frequency by around 50Hz and no smaller increment/decrement... So If I wanted 41775Hz for example, I may only be able to get 41800Hz or 41750Hz.
Needed solution:
Is there someway I can build some solid state circuit(perhaps some IC) where I can control the frequency (1Hz resolution) with my PIC? I was thinking maybe even a 555 timer circuit but I have no idea how to go about this.
Thanks much in advance!
P.S. 40Mhz External Oscillator will still not give me high enough resolution.... :/
Last edited: