ST72321B STMICROELECTRONICS [STMicroelectronics], ST72321B Datasheet - Page 62
ST72321B
Manufacturer Part Number
ST72321B
Description
64/44-pin 8-bit MCU with 32 to 60K Flash/ROM, ADC, five timers, SPI, SCI, I2C interface
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
1.ST72321B.pdf
(187 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST72321BT6/NOTTR
Manufacturer:
ST
Quantity:
20 000
- Current page: 62 of 187
- Download datasheet (4Mb)
ON-CHIP PERIPHERALS (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 39. PWM Auto-reload Timer Function
Figure 40. PWM Signal from 0% to 100% Duty Cycle
62/187
f
AUTO-RELOAD
PWM
DUTY CYCLE
(PWMDCRx)
WITH OEx=1
AND OPx=0
WITH OEx=1
AND OPx=1
REGISTER
REGISTER
(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.
Resolution = 1 / (256 - ARTARR)
FEh
FFh
FDh
FEh
t
t
Related parts for ST72321B
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Low Cost, Real Time Emulator Series for ST7
Manufacturer:
STMICROELECTRONICS [STMicroelectronics]
Datasheet:
Part Number:
Description:
Full-featured, real time emulator series for ST7
Manufacturer:
STMICROELECTRONICS [STMicroelectronics]
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
In-Circuit Programmer
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet: