Frequency Synthesis/PWM X31

Warning message

The Propeller Object Exchange system is decommissioned and replaced with a GitHub repository to house the same existing and future Propeller objects. As of 12/5/2019, this site is read-only. You can continue to browse and download objects from here for a limited time; however, please begin using the Parallax Propeller repository for future reference.
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: created: 2013-04-09 | updated: 2013-04-09


Frequency Synthesis/PWM X31:This program grants the ability to output up to 31 frequencies at once using the resources of only a single cog. With a clock speed of 80MHz, output can stably reach as high as 320KHz. If more than one output is used (the main purpose of this program), the maximum frequencies depend on the amount and combination of frequencies. To approximate: Max-Hz = 4000 * MHz / channels.

Changing the duty parameter allows programmers to alter the high to low ratio of the frequencies being outputted (PWM). The value is the percentage of high time. A duty of 1% - 99% is supported.

If an output is not needed, just enter -1 for the pin, 0 for the frequency, or 0 for the duty.


Original File Upload
Package icon FREQOUT_X31.zip4.92 KB