Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: 16bit PWM output on Teensy 2.0

  1. #1

    16bit PWM output on Teensy 2.0

    I looked at the spec of the Teensy 2.0 - it says it can output pwm of 16 bit

    do you need to interfere with the timers to get this to work ?

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,057
    Quote Originally Posted by Gadget999 View Post
    do you need to interfere with the timers to get this to work ?
    Yes, you'll need to directly control the 16 bit timers if you want to make this work.

    Something to keep in mind is the limited speed. The timers can't run faster than 16 MHz. So if you configure for a period of 65536 clocks, that means the PWM frequency will be only 244 Hz.

  3. #3
    Thanks Paul - I will stick with a Teesny 3.2 for this project

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •