[SOLVED] PWM frequency

JOSHUA SIRKIN
JOSHUA SIRKIN New Member Posts: 17
edited October 2019 in UP Board Linux

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

  • Dan O'Donovan
    Dan O'Donovan Administrator, Moderator, Emutex Posts: 241 admin

    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

  • JOSHUA SIRKIN
    JOSHUA SIRKIN New Member Posts: 17

    Hmm, okay, thanks. The wiki should probably reflect that.

Privacy Policy