Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

HT56R22 Datasheet(PDF) 58 Page - Holtek Semiconductor Inc

Part # HT56R22
Description  TinyPowerTM A/D Type 8-Bit OTP MCU with DAC
Download  127 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT56R22 Datasheet(HTML) 58 Page - Holtek Semiconductor Inc

Back Button HT56R22_14 Datasheet HTML 54Page - Holtek Semiconductor Inc HT56R22_14 Datasheet HTML 55Page - Holtek Semiconductor Inc HT56R22_14 Datasheet HTML 56Page - Holtek Semiconductor Inc HT56R22_14 Datasheet HTML 57Page - Holtek Semiconductor Inc HT56R22_14 Datasheet HTML 58Page - Holtek Semiconductor Inc HT56R22_14 Datasheet HTML 59Page - Holtek Semiconductor Inc HT56R22_14 Datasheet HTML 60Page - Holtek Semiconductor Inc HT56R22_14 Datasheet HTML 61Page - Holtek Semiconductor Inc HT56R22_14 Datasheet HTML 62Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 58 / 127 page
background image
HT56R22/HT56R23/HT56R24/HT56R25/HT56R26
Rev. 1.30
58
December 26, 2014
Pulse Width Modulator
The devices contains a series of Pulse Width
Modulation, PWM, outputs. Useful for such applications
such as motor speed control, the PWM function
provides an output with a fixed frequency but with a duty
cycle that can be varied by setting particular values into
the corresponding PWM register.
Part No.
Channels
PWM
Mode
Output
Pin
Register
Names
All devices
4
8+4
PD0~
PD3
PWM0L~
PWM3L
PWM0H~
PWM3H
PWM Overview
A register pair, located in the Data Memory is assigned
to each Pulse Width Modulator output and are known as
the PWM registers. It is in each register pair that the
12-bit value, which represents the overall duty cycle of
one modulation cycle of the output waveform, should be
placed. The PWM registers also contain the enable/dis-
able control bit for the PWM outputs. To increase the
PWM modulation frequency, each modulation cycle is
modulated into sixteen individual modulation
sub-sections, known as the 8+4 mode. Note that it is
only necessary to write the required modulation value
into the corresponding PWM register as the subdivision
of the waveform into its sub-modulation cycles is imple-
mented automatically within the microcontroller hard-
ware. The PWM clock source is the system clock fSYS.
This method of dividing the original modulation cycle
into a further 16 sub-cycles enables the generation of
higher PWM frequencies, which allow a wider range of
applications to be served. As long as the periods of the
generated PWM pulses are less than the time constants
of the load, the PWM output will be suitable as such long
time constant loads will average out the pulses of the
PWM output. The difference between what is known as
the PWM cycle frequency and the PWM modulation fre-
quency should be understood. As the PWM clock is the
system clock, fSYS, and as the PWM value is 12-bits
wide, the overall PWM cycle frequency is fSYS/4096.
However, when in the 8+4 mode of operation, the PWM
modulation frequency will be fSYS/256.
PWM
Modulation
Frequency
PWM Cycle
Frequency
PWM Cycle
Duty
fSYS/256
fSYS/4096
(PWM register
value)/4096
8+4 PWM Mode Modulation
Each full PWM cycle, as it is 12-bits wide, has 4096 clock
periods. However, in the 8+4 PWM mode, each PWM cy-
cle is subdivided into sixteen individual sub-cycles known
as modulation cycle 0 ~ modulation cycle 15, denoted as
²i² in the table. Each one of these sixteen sub-cycles con-
tains 256 clock cycles. In this mode, a modulation fre-
quency increase of sixteen is achieved. The 12-bit PWM
register value, which represents the overall duty cycle of
the PWM waveform, is divided into two groups. The first
group which consists of bit4~bit11 is denoted here as the
DC value. The second group which consists of bit0~bit3
is known as the AC value. In the 8+4 PWM mode, the
duty cycle value of each of the two modulation sub-cycles
is shown in the following table.
Parameter
AC (0~15)
DC (Duty Cycle)
Modulation cycle i
(i=0~15)
i
<AC
DC+1
256
i
³AC
DC
256
8+4 Mode Modulation Cycle Values
The accompanying diagram illustrates the waveforms
associated with the 8+4 mode of PWM operation. It is
important to note how the single PWM cycle is subdi-
vided into 16 individual modulation cycles, numbered
0~15 and how the AC value is related to the PWM value.
PWM Output Control
The four PWM0~PWM3 outputs are shared with pins
PD0~PD3. To operate as a PWM output and not as an
I/O pin, bit 0 of the relevant PWM register bit must be set
high. A zero must also be written to the corresponding
bit in the PDC port control register, to ensure that the
PWM0 output pin is setup as an output. After these two
initial steps have been carried out, and of course after
the required PWM 12-bit value has been written into the
PWM register pair register, writing a
²1² to the corre-
sponding PD data register will enable the PWM data to
appear on the pin. Writing a
²0² to the bit will disable the
PWM output function and force the output low. In this
way, the Port D data output register bits, can also be
used as an on/off control for the PWM function. Note
that if the enable bit in the PWM register is set high to
enable the PWM function, but a
²1² has been written to
its corresponding bit in the PDC control register to con-
figure the pin as an input, then the pin can still function
as a normal input line, with pull-high resistor selections.


Similar Part No. - HT56R22_14

ManufacturerPart #DatasheetDescription
logo
Holtek Semiconductor In...
HT56R22 HOLTEK-HT56R22_12 Datasheet
824Kb / 134P
   TinyPowerTM A/D Type 8-Bit OTP MCU with DAC
More results

Similar Description - HT56R22_14

ManufacturerPart #DatasheetDescription
logo
Holtek Semiconductor In...
HT56R22 HOLTEK-HT56R22 Datasheet
739Kb / 131P
   TinyPowerTM A/D Type 8-Bit OTP MCU with DAC
HT56R22 HOLTEK-HT56R22_12 Datasheet
824Kb / 134P
   TinyPowerTM A/D Type 8-Bit OTP MCU with DAC
HT56R66 HOLTEK-HT56R66_12 Datasheet
745Kb / 104P
   TinyPowerTM A/D Type with LCD 8-Bit OTP MCU
HT56R62 HOLTEK-HT56R62_12 Datasheet
786Kb / 108P
   TinyPowerTM A/D Type with LCD 8-Bit OTP MCU
HT56R62 HOLTEK-HT56R62_13 Datasheet
5Mb / 145P
   TinyPowerTM A/D Type with LCD 8-Bit OTP MCU
HT56R64 HOLTEK-HT56R64_12 Datasheet
674Kb / 90P
   TinyPowerTM A/D Type with LCD 8-Bit OTP MCU
HT56R67 HOLTEK-HT56R67_10 Datasheet
696Kb / 104P
   TinyPowerTM A/D Type with LCD 8-Bit MCU
HT56R67 HOLTEK-HT56R67_12 Datasheet
758Kb / 104P
   TinyPowerTM A/D Type with LCD 8-Bit MCU
HT45R37 HOLTEK-HT45R37_11 Datasheet
672Kb / 100P
   TinyPowerTM C/R-F Type 8-Bit OTP MCU
HT45R37 HOLTEK-HT45R37 Datasheet
614Kb / 99P
   TinyPowerTM C/R-F Type 8-Bit OTP MCU
More results


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




Privacy Policy
ALLDATASHEET.NET
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   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