Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

UPSD3422 Datasheet(PDF) 187 Page - STMicroelectronics

Part # UPSD3422
Description  Turbo Plus series Fast Turbo 8032 MCU with USB and programmable logic
PDF  300 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UPSD3422 Datasheet(HTML) 187 Page - STMicroelectronics

Back Button UPSD3422_V01 Datasheet HTML 183Page - STMicroelectronics UPSD3422_V01 Datasheet HTML 184Page - STMicroelectronics UPSD3422_V01 Datasheet HTML 185Page - STMicroelectronics UPSD3422_V01 Datasheet HTML 186Page - STMicroelectronics UPSD3422_V01 Datasheet HTML 187Page - STMicroelectronics UPSD3422_V01 Datasheet HTML 188Page - STMicroelectronics UPSD3422_V01 Datasheet HTML 189Page - STMicroelectronics UPSD3422_V01 Datasheet HTML 190Page - STMicroelectronics UPSD3422_V01 Datasheet HTML 191Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 187 / 300 page
background image
Obsolete
Product(s)
- Obsolete
Product(s)
Obsolete
Product(s)
- Obsolete
Product(s)
UPSD3422, UPSD3433, UPSD3434, UPSD3454
Programmable counter array (PCA) with PWM
187/300
27.10
PWM mode - fixed frequency, 10-bit
The 10-bit PWM logic requires that all 3 TCMs in PCA0 or PCA1 operate in the same 10-bit
PWM mode. The 10-bit PWM operates in a similar manner as the 16-bit PWM, except the
PCACHm and PCACLm counters are reconfigured as 10-bit counters. The CAPCOMHn and
CAPCOMLn registers become 10-bit registers.
PWM duty cycle of each TCM module can be specified in the 10-bit CAPCOMHn and
CAPCOMLn registers. When the 10-bit PCA counter is equal or greater than the values in
the 10-bit registers CAPCOMHn and CAPCOMLn, the PWM output switches to a high state.
When the 10-bit PCA counter overflows, the PWM pin is switched to a logic low and starts
the next PWM pulse.
The most-significant 6 bits in the PCACHm counter and CAPCOMH register are “Don’t
cares” and have no effect on the PWM generation.
27.11
Writing to capture/compare registers
When writing a 16-bit value to the PCA Capture/Compare registers, the low byte should
always be written first. Writing to CAPCOMLn clears the E_COMP Bit to '0'; writing to
CAPCOMHn sets E_COMP to '1' the largest duty cycle is 100% (CAPCOMHn CAPCOMLn
= 0000h), and the smallest duty cycle is 0.0015% (CAPCOMHn CAPCOMLn = FFFFh). A
0% duty cycle may be generated by clearing the E_COMP Bit to ‘0’.
27.12
Control register bit definition
Each PCA has its own PCA_CONFIGn, and each module within the PCA block has its own
TCM_Mode register which defines the operation of that module (see Table 148 on page 187
through Table 150 on page 188). There is one PCA_STATUS register that covers both PCA0
and PCA1 (see Table 152 on page 188).
Table 148.
PCA0 control register PCACON0 (SFR 0A4h, reset value 00h)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
EN-ALL
EN_PCA
EOVFI
PCAIDLE
–
–
CLK_SEL[1:0]
Table 149.
PCA0 register bit definition
Bit
Symbol
Function
7EN-ALL
0 = No impact on TCM modules
1 = Enable both PCA counters simultaneously (override the EN_PCA Bits)
This bit is to start the two 16-bit counters in the PCA. For customers who
want 5 PWM, for example, this bit can start all of the PWM outputs.
6EN_PCA
0 = PCA counter is disabled
1 = PCA counter is enabled
EN_PCA Counter Run Control Bit. Set with software to turn the PCA
counter on. Must be cleared with software to turn the PCA counter off.
5
EOVFI
1 = Enable Counter Overflow Interrupt if overflow flag (OVF) is set
4PCAIDLE
0 = PCA operates when CPU is in Idle Mode
1 = PCA stops running when CPU is in Idle Mode
Obsolete
Product(s)
- Obsolete
Product(s)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com