ST72521 STMICROELECTRONICS [STMicroelectronics], ST72521 Datasheet - Page 63
ST72521
Manufacturer Part Number
ST72521
Description
8-BIT MCU WITH NESTED INTERRUPTS, FLASH, 10-BIT ADC, FIVE TIMERS, SPI, SCI, I2C, CAN INTERFACE
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
1.ST72521.pdf
(211 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ST72521BTC
Manufacturer:
ST
Quantity:
11 000
- Current page: 63 of 211
- Download datasheet (3Mb)
PWM AUTO-RELOAD TIMER (Cont’d)
Independent PWM signal generation
This mode allows up to four Pulse Width Modulat-
ed signals to be generated on the PWMx output
pins with minimum core processing overhead.
This function is stopped during HALT mode.
Each PWMx output signal can be selected inde-
pendently using the corresponding OEx bit in the
PWM Control register (PWMCR). When this bit is
set, the corresponding I/O pin is configured as out-
put push-pull alternate function.
The PWM signals all have the same frequency
which is controlled by the counter period and the
ARTARR register value.
When a counter overflow occurs, the PWMx pin
level is changed depending on the corresponding
OPx (output polarity) bit in the PWMCR register.
Figure 38. PWM Auto-reload Timer Function
Figure 39. PWM Signal from 0% to 100% Duty Cycle
AUTO-RELOAD
DUTY CYCLE
f
(PWMDCRx)
WITH OEx=1
AND OPx=0
PWM
REGISTER
REGISTER
WITH OEx=1
AND OPx=1
(ARTARR)
= f
OCRx=FCh
OCRx=FDh
OCRx=FEh
OCRx=FFh
COUNTER
f
COUNTER
COUNTER
255
000
/ (256 - ARTARR)
FDh
FEh
ARTARR=FDh
FFh
FDh
When the counter reaches the value contained in
one of the output compare register (OCRx) the
corresponding PWMx pin level is restored.
It should be noted that the reload values will also
affect the value and the resolution of the duty cycle
of the PWM output signal. To obtain a signal on a
PWMx pin, the contents of the OCRx register must
be greater than the contents of the ARTARR reg-
ister.
The maximum available resolution for the PWMx
duty cycle is:
Note: To get the maximum resolution (1/256), the
ARTARR register must be 0. With this maximum
resolution, 0% and 100% can be obtained by
changing the polarity.
FEh
Resolution = 1 / (256 - ARTARR)
FFh
FDh
FEh
ST72521
t
t
63/211
Related parts for ST72521
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
THYRISTORS
Manufacturer:
ST Microelectronics
Datasheet:
Part Number:
Description:
ADJUSTABLE INVERTING NEGATIVE OUTPUT CURRENT MODE PWM REGULATORS
Manufacturer:
ST Microelectronics
Datasheet:
Part Number:
Description:
0.25A SCRs
Manufacturer:
ST Microelectronics
Datasheet:
Part Number:
Description:
0.8A SCRs
Manufacturer:
ST Microelectronics
Datasheet:
Part Number:
Description:
Smartcard MCU With 4 additional I/0
Manufacturer:
ST Microelectronics
Datasheet:
Part Number:
Description:
SERIAL 2K (256 x 8) EEPROM
Manufacturer:
ST Microelectronics
Datasheet:
Part Number:
Description:
Search -----> STP10NB50FP
Manufacturer:
ST Microelectronics
Datasheet:
Part Number:
Description:
Search ---> STP12NB30
Manufacturer:
ST Microelectronics
Datasheet:
Part Number:
Description:
Search -----> STP13NK50Z
Manufacturer:
ST Microelectronics
Datasheet:
Part Number:
Description:
(MSS40 / MSS50) BACK TO BACK SCR MODULE
Manufacturer:
ST Microelectronics
Datasheet:
Part Number:
Description:
Dmos Programmable High Speed Unipolar Stepper Motor Driver
Manufacturer:
ST Microelectronics, Inc.
Datasheet:
Part Number:
Description:
LOW Votage Telephone Speech Circuit
Manufacturer:
ST Microelectronics, Inc.
Datasheet:
Part Number:
Description:
Technical Article
Manufacturer:
ST Microelectronics, Inc.
Datasheet:
Part Number:
Description:
Thyristormodule
Manufacturer:
ST Microelectronics, Inc.
Datasheet:
Part Number:
Description:
SCR
Manufacturer:
ST Microelectronics
Datasheet: