Electronic Components Datasheet Search
  English  ▼

X  

HT45R38 Datasheet(PDF) 22 Page - Holtek Semiconductor Inc

Part # HT45R38
Description  C/R to F Type 8-Bit OTP MCU
PDF  49 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT45R38 Datasheet(HTML) 22 Page - Holtek Semiconductor Inc

Back Button HT45R38 Datasheet HTML 18Page - Holtek Semiconductor Inc HT45R38 Datasheet HTML 19Page - Holtek Semiconductor Inc HT45R38 Datasheet HTML 20Page - Holtek Semiconductor Inc HT45R38 Datasheet HTML 21Page - Holtek Semiconductor Inc HT45R38 Datasheet HTML 22Page - Holtek Semiconductor Inc HT45R38 Datasheet HTML 23Page - Holtek Semiconductor Inc HT45R38 Datasheet HTML 24Page - Holtek Semiconductor Inc HT45R38 Datasheet HTML 25Page - Holtek Semiconductor Inc HT45R38 Datasheet HTML 26Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 22 / 49 page
background image
HT45R38
Rev. 1.00
22
December 13, 2006
Pulse Width Modulator
Each device contains a dual channel internal PWM
function. Useful for such applications such as motor
speed control, the PWM function provides outputs with
a fixed frequency but with a duty cycle that can be varied
by placing particular values into the corresponding
PWM register.
A single register, located in the Data Memory is as-
signed to each of the two PWM outputs. These registers
assume the names PWM0 and PWM1. It is here that the
8-bit value, which represents the overall duty cycle of
one modulation cycle of the output waveform, should be
placed. To increase the PWM modulation frequency,
each modulation cycle is modulated into two or four indi-
vidual modulation sub-sections, known as the 7+1
mode or 6+2 mode respectively. Each device can
choose which mode to use by selecting the appropriate
configuration option. When a mode configuration option
is chosen, it applies to both of the PWM outputs on the
device. Note that when using the PWM it is only neces-
sary to write the required value into the appropriate
PWM register and select the required mode configura-
tion option, the subdivision of the waveform into its
sub-modulation cycles is done automatically within the
microcontroller hardware.
The PWM clock source is the system clock fSYS.
PWM Mode
Output Pin
PWM Register
Name
6+2 or 7+1
PA0
PWM0
6+2 or 7+1
PA1
PWM1
PWM Function Table
This method of dividing the original modulation cycle
into a further 2 or 4 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 8-bits wide,
the overall PWM cycle frequency is fSYS/256. However,
when in the 7+1 mode of operation the PWM modulation
frequency will be fSYS/128, while the PWM modulation
frequency for the 6+2 mode of operation will be fSYS/64.
PWM Modulation Fre-
quency
PWM Cycle
Frequency
PWM Cycle
Duty
fSYS/64 for (6+2) bits mode
fSYS/128 for (7+1) bits mode
fSYS/256
[PWM]/256
· 6+2 PWM Mode
Each full PWM cycle, as it is controlled by an 8-bit
PWM register, has 256 clock periods. However, in the
6+2 PWM Mode, each PWM cycle is subdivided into
four individual sub-cycles known as modulation cycle
0 ~ modulation cycle 3, denoted as
²i² in the table.
Each one of these four sub-cycles contains 64 clock
cycles. In this mode, a modulation frequency increase
by a factor of four is achieved. The 8-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 bit2~bit7 is denoted here as
the DC value. The second group which consists of
bit0~bit1 is known as the AC value. In the 6+2 PWM
mode, the duty cycle value of each of the four modula-
tion sub-cycles is shown in the following table.
Parameter
AC (0~3)
DC
(Duty Cycle)
Modulation cycle i
(i=0~3)
i<AC
DC
1
64
i
³AC
DC
64
6+2 Mode Modulation Cycle Values



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


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