UPSD3234AV-24U1T STMicroelectronics, UPSD3234AV-24U1T Datasheet - Page 67
![no-image](/images/manufacturer_photos/0/6/637/stmicroelectronics_sml.jpg)
UPSD3234AV-24U1T
Manufacturer Part Number
UPSD3234AV-24U1T
Description
Flash Programmable System Devices with 8032 Microcontroller Core and 64Kbit SRAM
Manufacturer
STMicroelectronics
Datasheet
1.UPSD3234AV-24U1T.pdf
(170 pages)
- Current page: 67 of 170
- Download datasheet (3Mb)
www.DataSheet4U.com
PULSE WIDTH MODULATION (PWM)
The PWM block has the following features:
4-channel PWM Unit (PWM 0-3)
The 8-bit counter of a PWM counts module 256
(i.e., from 0 to 255, inclusive). The value held in
the 8-bit counter is compared to the contents of the
Special Function Register (PWM 0-3) of the corre-
sponding PWM. The polarity of the PWM outputs
is programmable and selected by the PWML Bit in
PWMCON register. Provided the contents of a
PWM 0-3 register is greater than the counter val-
ue, the corresponding PWM output is set HIGH
(with PWML = 0). When the contents of this regis-
ter is less than or equal to the counter value, the
corresponding PWM output is set LOW (with
PWML = 0). The pulse-width-ratio is therefore de-
Figure 36. Four-Channel 8-bit PWM Block Diagram
Four-channel, 8-bit PWM unit with 16-bit
prescaler
One-channel, 8-bit unit with programmable
frequency and pulse width
PWM Output with programmable polarity
f
PWMCON bit5 (PWME)
OSC
/2
CPU rd/wr
8
load
16-bit Prescaler
16-bit Prescaler
(B2h,B1h)
Register
Counter
CPU rd/wr
uPSD3234A, uPSD3234BV, uPSD3233B, uPSD3233BV
DATA BUS
clock
Comparators Registers
8-bit PWM0-PWM3
8-bit PWM0-PWM3
8-bit PWM0-PWM3
Data Registers
Comparators
8-bit Counter
fined by the contents of the corresponding Special
Function Register (PWM 0-3) of a PWM. By load-
ing the corresponding Special Function Register
(PWM 0-3) with either 00H or FFH, the PWM out-
put can be retained at a constant HIGH or LOW
level respectively (with PWML = 0).
For each PWM unit, there is a 16-bit Prescaler that
are used to divide the main system clock to form
the input clock for the corresponding PWM unit.
This prescaler is used to define the desired repeti-
tion rate for the PWM unit. SFR registers B1h -
B2h are used to hold the 16-bit divisor values.
The repetition frequency of the PWM output is giv-
en by:
And the input clock frequency to the PWM
counters is = f
See
more information on how to configure the Port 4
pin as PWM output.
8
fPWM
I/O PORTS (MCU MODULE), page 42
Overflow
x 4
x 4
x 4
8
= (f
OSC
OSC
/ 2 / (prescaler data value + 1)
load
4
/ prescaler0) / (2 x 256)
PWMCON bit7 (PWML)
Port4.3
Port4.4
Port4.5
Port4.6
AI06647
67/170
for
Related parts for UPSD3234AV-24U1T
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![UPSD3234AV-40T1T](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
Flash Programmable System Devices with 8032 Microcontroller Core and 64Kbit SRAM
Manufacturer:
STMicroelectronics
![UPSD3234AV-40U6T](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
Flash Programmable System Devices with 8032 Microcontroller Core and 64Kbit SRAM
Manufacturer:
STMicroelectronics
![UPSD3234A](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
Manufacturer:
STMicroelectronics
Datasheet:
![UPSD3234A-40T6](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
IC FLASH/MCU 64K 52 TQFP
Manufacturer:
STMicroelectronics
Datasheet:
![UPSD3234A-40U6](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
IC FLASH/MCU 64K 80 TQFP
Manufacturer:
STMicroelectronics
Datasheet:
![UPSD3234A-40T6T](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
MCU 8BIT 256K FLASH 40MHZ 52TQFP
Manufacturer:
STMicroelectronics
Datasheet:
![UPSD3234A-40U6T](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
IC MCU 8032 64KB FLASH 80TQFP
Manufacturer:
STMicroelectronics
Datasheet:
![UPSD3234A-24U1T](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
Flash Programmable System Devices with 8032 Microcontroller Core and 64Kbit SRAM
Manufacturer:
STMicroelectronics
![UPSD3234A-40T1T](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
Flash Programmable System Devices with 8032 Microcontroller Core and 64Kbit SRAM
Manufacturer:
STMicroelectronics
![HCF4040BF](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
STMicroelectronics [RIPPLE-CARRY BINARY COUNTER/DIVIDERS]
Manufacturer:
STMicroelectronics
Datasheet:
![HCF4054BF](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
STMicroelectronics [LIQUID-CRYSTAL DISPLAY DRIVERS]
Manufacturer:
STMicroelectronics
Datasheet:
![STEVAL-MKI062V2](/photos/28/39/283999/steval-mki062v2_tmb.jpg)
Part Number:
Description:
BOARD EVAL FOR MEMS SENSORS
Manufacturer:
STMicroelectronics
Datasheet: