P89V51RD2 Philips Semiconductors, P89V51RD2 Datasheet - Page 50

no-image

P89V51RD2

Manufacturer Part Number
P89V51RD2
Description
8-bit 80C51 5 V low power 64 kB Flash microcontroller with 1 kB RAM
Manufacturer
Philips Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89V51RD2BN
Manufacturer:
TDK
Quantity:
12
Part Number:
P89V51RD2BN
Manufacturer:
NXP
Quantity:
1 236
Part Number:
P89V51RD2BN
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
P89V51RD2BNЈ¬112
Manufacturer:
NXP
Quantity:
67
Part Number:
P89V51RD2FA
Manufacturer:
BI
Quantity:
230
Part Number:
P89V51RD2FA
Quantity:
6 250
Part Number:
P89V51RD2FA
Manufacturer:
NXP
Quantity:
1 331
Part Number:
P89V51RD2FA
Manufacturer:
NXP
Quantity:
200
Part Number:
P89V51RD2FA
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
P89V51RD2FA,512
Manufacturer:
Freescale
Quantity:
312
Part Number:
P89V51RD2FA,512
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
P89V51RD2FBC
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Company:
Part Number:
P89V51RD2FBC
Quantity:
26
Part Number:
P89V51RD2FBC,557
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Philips Semiconductors
9397 750 12964
Product data
Fig 25. PCA PWM mode.
-
ECOMn
7.8.4 Pulse width modulator mode
7.8.5 PCA Watchdog timer
1
enable
CAPPn
All of the PCA modules can be used as PWM outputs
depends on the source for the PCA timer.
All of the modules will have the same frequency of output because they all share one
and only PCA timer. The duty cycle of each module is independently variable using
the module’s capture register CCAPnL.When the value of the PCA CL SFR is less
than the value in the module’s CCAPnL SFR the output will be low, when it is equal to
or greater than the output will be high. When CL overflows from FF to 00, CCAPnL is
reloaded with the value in CCAPnH. this allows updating the PWM without glitches.
The PWM and ECOM bits in the module’s CCAPMn register must be set to enable
the PWM mode.
An on-board Watchdog timer is available with the PCA to improve the reliability of the
system without increasing chip count. Watchdog timers are useful for systems that
are susceptible to noise, power glitches, or electrostatic discharge. Module 4 is the
only PCA module that can be programmed as a Watchdog. However, this module can
still be used for other modes if the Watchdog is not needed.
diagram of how the Watchdog works. The user pre-loads a 16-bit value in the
compare registers. Just like the other compare modes, this 16-bit value is compared
to the PCA timer value. If a match is allowed to occur, an internal reset will be
generated. This will not cause the RST pin to be driven high.
user’s software then must periodically change (CCAP4H,CCAP4L) to keep a match
from occurring with the PCA timer (CH,CL). This code is given in the WATCHDOG
routine shown above.
In order to hold off the reset, the user has three options:
0
CAPNn
0
8-BIT COMPARATOR
PCA timer/counter
CCAPnH
CCAPnL
MATn
CL
0
Rev. 01 — 01 March 2004
TOGn
0
PWMn
CL CCAPnL
CL CCAPnL
1
ECCFn
1
0
1
8-bit microcontrollers with 80C51 core
CCAPMn, n = 0 to 4
(C2H to C6H)
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
(Figure
P89V51RD2
Figure 25
25). Output frequency
CEXn
002aaa541
shows a
50 of 75

Related parts for P89V51RD2