16 bit hints regarding PWM

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Post Reply
alanwms
Posts: 67
Joined: Tue Sep 16, 2008 2:09 pm
Location: Minnesota USA
Has thanked: 4 times
Been thanked: 17 times
Contact:

16 bit hints regarding PWM

Post by alanwms »

Hello Ben.

I'm having difficulty figuring out the frequency for a PWM output. I'm not sure how the "Period calc" equates to the "frequency_Calc" when the explanation hint pops up. By the way, these hints don't stay long enough on the screen to read the whole story in one shot. Quite the chore for longer hints.
Can you explain the numbers for me and the units? See attached pic.
PWM Hints.jpg
PWM Hints.jpg (26.16 KiB) Viewed 5260 times

chipfryer27
Valued Contributor
Valued Contributor
Posts: 784
Joined: Fri Jun 06, 2014 3:53 pm
Has thanked: 186 times
Been thanked: 205 times

Re: 16 bit hints regarding PWM

Post by chipfryer27 »

Hi

In your example:-

Frequency Calc = 0.000358 is the frequency of your PWM pulse in KHz (0.358Hz)
Period Calc = 2796202.75 is the corresponding time taken in uS for one pulse to to complete

The wiki gives more info:
https://www.matrixtsl.com/wikiv7/index. ... :_General)

Hope this helps
Regards

alanwms
Posts: 67
Joined: Tue Sep 16, 2008 2:09 pm
Location: Minnesota USA
Has thanked: 4 times
Been thanked: 17 times
Contact:

Re: 16 bit hints regarding PWM

Post by alanwms »

Thanks a lot for verifying this Chip!

Units would have helped me.

Post Reply