Forums

PWM and Timer

Started by Charly June 8, 2006
Hi.

Have anyone tried to run both PWM and Timer at the same time?
pwm0 and timer0 or 1? are there any relatinship between the two
functions? any related registers?

cw





An Engineer's Guide to the LPC2100 Series

---- Original Message ----
From: "Charly"
To:
Sent: Thursday, June 08, 2006 12:28 PM
Subject: [lpc2000] PWM and Timer

> Have anyone tried to run both PWM and Timer at the same time?
> pwm0 and timer0 or 1? are there any relatinship between the two
> functions? any related registers?

The PWM timer is identical to timer 0 and 1, except for the PWM features.
All three timers can be used independently of each other. Their registers
are at three different base addresses. And yes, it works.

Note that in the newest chips, the LPC2101/02/03, the PWM timer has been
removed, and some new PWM features have been added to the ordinary timers,
of which there are now four.

Karl Olsen