Shop OBEX P1 Docs P2 Docs Learn Events
How many PWMs can I generate at the same time with SX28ACDP ? — Parallax Forums

How many PWMs can I generate at the same time with SX28ACDP ?

markustermarkuster Posts: 184
edited 2008-12-31 17:27 in General Discussion
Hi,

How many PWMs can I generate at the same time
with SX28ACDP ?

Thanks, Mark

Comments

  • ZootZoot Posts: 2,227
    edited 2008-12-31 14:43
    Theoretically, you can put PWM on every I/O pin if you wanted (20). Practically, the answer would depend on what PWM frequency range you want, and at what speed you will be clocking the SX. There is no hardware PWM on the SX, so you can write as many "virtual" PWM generators as you want.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    When the going gets weird, the weird turn pro. -- HST

    1uffakind.com/robots/povBitMapBuilder.php
    1uffakind.com/robots/resistorLadder.php
  • JonnyMacJonnyMac Posts: 9,214
    edited 2008-12-31 17:27
    The attached framework shows how to do eight PWMs -- as Zoot states, it's easy to extend this to all available pins.
Sign In or Register to comment.