16bit PWM output on Teensy 2.0

Status
Not open for further replies.

Gadget999

Well-known member
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 ?
 
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.
 
Status
Not open for further replies.
Back
Top