High frequencies with small changes possible? #14
-
Thanks for this library. I'm interested in generating radio frequencies such as 7Mhz. I find that the available frequencies generated with your library are in quite big steps. My application is to generate WSPR which consists of an RF frequency that slowly moves between frequencies in 1.4648 Hz increments. Is the accuracy of the frequency a limitation of the PIO on the 2040? or is there a way I could use the library to achieve this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @peterbmarks
That sounds interesting project, but your concern, IMHO, is more accurate than what the RP2040 can provide. The TOP register to control PWM is only 16-bit, giving 64K resolution can't provide the 1.4648 Hz increments in MHz range (nearly 32-bit resolution) I suggest you use the hardware solution, such as Si570 programmable crystal oscillator, as described in Standalone Multiband WSPR
Just use the RP2040 to replace the old AVR attiny45 |
Beta Was this translation helpful? Give feedback.
Hi @peterbmarks
That sounds interesting project, but your concern, IMHO, is more accurate than what the RP2040 can provide.
The TOP register to control PWM is only 16-bit, giving 64K resolution can't provide the 1.4648 Hz increments in MHz range (nearly 32-bit resolution)
I suggest you use the hardware solution, such as Si570 programmable crystal oscillator, as described in Standalone Multiband WSPR
beacon transmitter (MEPT)