參數(shù)資料
型號(hào): MC80F0224K
廠商: Electronic Theatre Controls, Inc.
元件分類: 8位微控制器
英文描述: 8-BIT SINGLE-CHIP MICROCONTROLLERS
中文描述: 8位單晶片微控制器
文件頁(yè)數(shù): 70/128頁(yè)
文件大?。?/td> 1408K
代理商: MC80F0224K
第1頁(yè)第2頁(yè)第3頁(yè)第4頁(yè)第5頁(yè)第6頁(yè)第7頁(yè)第8頁(yè)第9頁(yè)第10頁(yè)第11頁(yè)第12頁(yè)第13頁(yè)第14頁(yè)第15頁(yè)第16頁(yè)第17頁(yè)第18頁(yè)第19頁(yè)第20頁(yè)第21頁(yè)第22頁(yè)第23頁(yè)第24頁(yè)第25頁(yè)第26頁(yè)第27頁(yè)第28頁(yè)第29頁(yè)第30頁(yè)第31頁(yè)第32頁(yè)第33頁(yè)第34頁(yè)第35頁(yè)第36頁(yè)第37頁(yè)第38頁(yè)第39頁(yè)第40頁(yè)第41頁(yè)第42頁(yè)第43頁(yè)第44頁(yè)第45頁(yè)第46頁(yè)第47頁(yè)第48頁(yè)第49頁(yè)第50頁(yè)第51頁(yè)第52頁(yè)第53頁(yè)第54頁(yè)第55頁(yè)第56頁(yè)第57頁(yè)第58頁(yè)第59頁(yè)第60頁(yè)第61頁(yè)第62頁(yè)第63頁(yè)第64頁(yè)第65頁(yè)第66頁(yè)第67頁(yè)第68頁(yè)第69頁(yè)當(dāng)前第70頁(yè)第71頁(yè)第72頁(yè)第73頁(yè)第74頁(yè)第75頁(yè)第76頁(yè)第77頁(yè)第78頁(yè)第79頁(yè)第80頁(yè)第81頁(yè)第82頁(yè)第83頁(yè)第84頁(yè)第85頁(yè)第86頁(yè)第87頁(yè)第88頁(yè)第89頁(yè)第90頁(yè)第91頁(yè)第92頁(yè)第93頁(yè)第94頁(yè)第95頁(yè)第96頁(yè)第97頁(yè)第98頁(yè)第99頁(yè)第100頁(yè)第101頁(yè)第102頁(yè)第103頁(yè)第104頁(yè)第105頁(yè)第106頁(yè)第107頁(yè)第108頁(yè)第109頁(yè)第110頁(yè)第111頁(yè)第112頁(yè)第113頁(yè)第114頁(yè)第115頁(yè)第116頁(yè)第117頁(yè)第118頁(yè)第119頁(yè)第120頁(yè)第121頁(yè)第122頁(yè)第123頁(yè)第124頁(yè)第125頁(yè)第126頁(yè)第127頁(yè)第128頁(yè)
MC80F0208/16/24
Preliminary
66
MAR. 2005 Ver 0.2
14.6 PWM Mode
The MC80F0208/16/24 has a high speed PWM (Pulse Width
Modulation) functions which shared with Timer3.
In PWM mode, pin R54/PWM3O outputs up to a 10-bit resolu-
tion PWM output. This pin should be configured as a PWM out-
put by setting "1" bit PWM3O in PSR0 register.
The period of the PWM3 output is determined by the T3PPR (T3
PWM Period Register) and T3PWHR[3:2] (bit3,2 of T3 PWM
High Register) and the duty of the PWM output is determined by
the T3PDR (T3 PWM Duty Register) and T3PWHR[1:0] (bit1,0
of T3 PWM High Register).
The user writes the lower 8-bit period value to the T3PPR and the
higher 2-bit period value to the T3PWHR[3:2]. And writes duty
value to the T3PDR and the T3PWHR[1:0] same way.
The T3PDR is configured as a double buffering for glitchless
PWM output. In Figure 14-20, the duty data is transferred from
the master to the slave when the period data matched to the count-
ed value. (i.e. at the beginning of next duty cycle)
PWM3 Period = [PWM3HR[3:2]T3PPR] X Source Clock
PWM3 Duty = [PWM3HR[1:0]T3PDR] X Source Clock
The relation of frequency and resolution is in inverse proportion.
Table 14-4 shows the relation of PWM frequency vs. resolution.
If it needed more higher frequency of PWM, it should be reduced
resolution.
The bit POL of TM3 decides the polarity of duty cycle.
If the duty value is set same to the period value, the PWM output
is determined by the bit POL (1: High, 0: Low). And if the duty
value is set to "00
H
", the PWM output is determined by the bit
POL (1: Low, 0: High).
It can be changed duty value when the PWM output. However the
changed duty value is output after the current period is over. And
it can be maintained the duty value at present output when
changed only period value shown as Figure 14-22. As it were, the
absolute duty time is not changed in varying frequency. But the
changed period value must greater than the duty value.
Note:
If changing the Timer3 to PWM function, it should be
stop the timer clock firstly, and then set period and duty reg-
ister value. If user writes register values while timer is in op-
eration, these register could be set with certain values.
Ex) Sample Program @4MHz 4uS
LDM TM3,#1010_1000b ; Set Clock & PWM3E
LDM T3PPR,#199 ; Period :800uS=4uSX(199+1)
LDM T3PDR,#99 ; Duty:400uS=4uSX(99+1)
LDM PWM3HR,00H
LDM TM3,#1010_1011b ; Start timer3
Resolution
Frequency
T3CK[1:0]
= 00(250nS)
T3CK[1:0]
= 01(1uS)
T3CK[1:0]
= 10(4uS)
10-bit
3.9kHz
1.95kHz
0.97kHz
9-bit
7.8kHz
3.90kHz
1.95kHz
8-bit
15.6kHz
7.81kHz
3.90kHz
7-bit
31.2kHz
15.6kHz
7.8kHz
Table 14-4 PWM Frequency vs. Resolution at 4MHz
相關(guān)PDF資料
PDF描述
MC80F0224Q 8-BIT SINGLE-CHIP MICROCONTROLLERS
MC88A 8 TUNES 8 KEY WITH SCAN KEY
MC971 For High Speed Swiching Application Silicon Epitaxial Type(Common Cathode)
MCA-15 15W Ultraminiature Modular Switching Power Supplies
MCA11G1 HIGH VOLTAGE PHOTODARLINGTON OPTOCOUPLERS
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC80F0224Q 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80F0424 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80F0424K 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80F0424L 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
MC80F0424Q 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS