[SOLVED] PWM frequency
JOSHUA SIRKIN
New Member Posts: 17 ✭
I am using the up board with Ubuntu. I followed the directions on the wiki and am able to get an output from the PWM, but I seem to only be able to do frequencies that are divisible by 293 Hz. Am I doing something wrong, or is this a limitation of the UP?
Comments
-
Hi Joshua
This is a limitation of the UP board. For PWM, it uses a 19.2MHz base clock and a 16-bit divider, as far as I remember. UP Squared has a 22-bit divider so should support more granular frequency steps.
Best regards,
-Dan -
Hmm, okay, thanks. The wiki should probably reflect that.