English
Language : 

UPSD3354DV-40U6 Datasheet, PDF (158/272 Pages) STMicroelectronics – fast 8032 MCU with programmable logic
Programmable counter array (PCA) with PWM
Figure 49. PWM mode - (x8) programmable frequency
PWM FREQ COMPARE
PWMFm
8
PWMFm = PCACLm
CAPCOMHn
8
UPSD33xx
PCACHm
CAPCOMLn
ENABLE
8-bit COMPARATORm
ENABLE
MATCH SET
8-bit COMPARATORn
S
Q
uct(s) 8
rod PCACLm
CLR
R
Q
CLR
CEXn
bsolete P TCMMODEn EINTF E_COMP CAP_PE CAP_NE MATCH TOGGLE PWM1
O 0
0
0
0
0
PWM0
te Product(s) - 1. m = 0: n = 0, 1, or 2
le 2. m = 1: n = 3, 4, or 5
Obso 26.9 PWM mode - fixed frequency, 16-bit
AI07860
The operation of the 16-bit PWM is the same as the 8-bit PWM with fixed frequency. In this
mode, one or all the TCM can be configured to have a fixed frequency PWM output on the
port pins. The PWM frequency is depending on the clock input frequency to the 16-bit
Counter. The duty cycle of each TCM module can be specified in the CAPCOMHn and
CAPCOMLn registers. When the 16-bit PCA_Counter is equal or greater than the values in
registers CAPCOMHn and CAPCOMLn, the PWM output is switched to a high state. When
the PCA_Counter overflows, CEXn is asserted low.
158/272
Doc ID 9685 Rev 7