Frequency Synthesis/PWM X8

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 X8:This program grants the ability to output up to eight (8) frequencies at once using the resources of only a single cog. The program could be easily modified to support more outputs if necessary.

With a clock speed of 80MHz, single outputs can stably reach as high as 842KHz. The use of higher clock speeds can increase the maximum output. If more than one output is used (the main purpose of this program), the maximum frequencies depend on the amount and combination of frequencies and duty.

The duty can be changed to alter the ratio of high to low output (PWM). The duty value is a percentage, and applies to all outputs. A duty of 1% - 99% is supported.

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

Original File Upload
Package icon FREQOUT_X8_Demo_-_Archive__Date_2011.07.01__Time_11.00_1.zip4.95 KB