參數(shù)資料
型號: MC68HC11G7CFN
廠商: FREESCALE SEMICONDUCTOR INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQCC84
封裝: PLASTIC, LCC-84
文件頁數(shù): 28/195頁
文件大?。?/td> 1940K
代理商: MC68HC11G7CFN
第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頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁
PULSE WIDTH MODULATION TIMER
10-3
10.2
CLOCK SELECTION
There are three available clocks (A, B and S). Clock A can be software-selected to be E, E/
2, E/4 or E/8. Clock B can be software selected to be E, E/2, E/4,..., E/128. The block diagram
of Figure 10-1 depicts the three different clocks and how the scaled clock is created.
The scaled clock (S) uses clock A as an input and divides it with a reloadable counter. This counter
is compared with a user programmable scale value (in the PWSCAL register). When they match,
a pulse is output and the 8-bit counter is reset. The output signal from this circuit is then divided by
two to give clock S. The rates available for clock S, therefore, are software selectable to be clock A
divided by 2 down to clock A divided by 512 in increments of 2.
Each PWM timer channel can be driven by one of two clocks, selected in software: Channels 1 and 2
can use clock A or clock S; Channels 3 and 4 can use clock B or clock S.
Writing to PWSCAL causes the 8-bit counter to be reset to $00. Otherwise, when changing from a
low rate to a higher rate, it would be possible for the counter to miss the new value and have to go
all the way to $FF and wrap back around before counting at the proper rate. Forcing the counter to
$00 every time it is written prevents this.
10.3
16-BIT PWM FUNCTION
The PWCLK register contains two control bits, each of which is used to concatenate a pair of PWM
channels into one 16-bit channel. Concatenation of channels 3 and 4 is controlled by the CON34
bit; similarly, channels 1 and 2 are concatenated using the CON12 bit.
When channels 3 and 4 are concatenated, channel 3 registers become the high order bytes of the
double byte channel. Reading the counter high order byte causes the low order byte to be latched
for one cycle, to guarantee that double byte reads will be accurate. Writing to the low byte of the
counter (channel 4) causes the entire counter to be reset. Writing to the upper byte of the counter
has no effect.
Similarly, when channels 1 and 2 are concatenated, channel 1 registers become the high order bytes
of the double byte channel.
The 16-bit duty register and period register are obtained by concatenating the two 8-bit duty registers
and period registers, respectively. Writing to these registers takes twice as many write cycles as for
the 8-bit PWM. The 16-bit PWM circuit has secondary buffers internally, and the user should write
to these 16-bit registers using 16-bit write instructions or high byte to low byte sequential write
instructions. During the two-byte write sequence, the secondary buffer will not be loaded from the
16-bit register. The 16-bit duty and period registers can be written to at any time; the written value
will take effect from the next cycle of the PWM period.
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
..
.
相關(guān)PDF資料
PDF描述
MC68HC711L6CFN1 OTPROM, MICROCONTROLLER, PQCC68
MC68HC805C4CP 8-BIT, EEPROM, 2.1 MHz, MICROCONTROLLER, PDIP40
MC68HC805C4CFN 8-BIT, EEPROM, 2.1 MHz, MICROCONTROLLER, PQCC44
MC68HC805K3DW 8-BIT, EEPROM, 2 MHz, MICROCONTROLLER, PDSO16
MC68HC812A4PV8 16-BIT, EEPROM, 8 MHz, MICROCONTROLLER, PQFP112
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC11K0 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC11K0CFN2 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:8-Bit Microcontroller
MC68HC11K0CFN3 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:8-Bit Microcontroller
MC68HC11K0CFN4 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS MICROCONTROLLER UNIT
MC68HC11K0CFNE3 功能描述:8位微控制器 -MCU 8B MCU 768 RAM - EPP RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT