PWM Clock Frequency?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

What clock frequencies can be used to drive the PWM on 20736?

The following code snippet is from <WICED-Smart-SDK>/include/drivers/pwm.h

How is 1 or 8 MHz chosen? Are these the only clock frequencies? (128kHz / 1MHz / 8MHz)

/// Clock used for PWM. When LHL_CLK is set, 128 KHz is used. When PMU_CLK is set, 1 MHz or 8 MHz.

typedef enum

{

    LHL_CLK,

    PMU_CLK

} PwmClockType;

0 Likes
1 Solution
MichaelF_56
Moderator
Moderator
Moderator
250 sign-ins 25 comments on blog 10 comments on blog

I think this thread answers your question Jason: Re: Different Frequencies for PWM

In addition, this thread seems to be an excellent one for PWM usage as the user was able to get everything working correct based on the guidance provided: PWM control in BLE SDK

View solution in original post

0 Likes
1 Reply
MichaelF_56
Moderator
Moderator
Moderator
250 sign-ins 25 comments on blog 10 comments on blog

I think this thread answers your question Jason: Re: Different Frequencies for PWM

In addition, this thread seems to be an excellent one for PWM usage as the user was able to get everything working correct based on the guidance provided: PWM control in BLE SDK

0 Likes