参数资料
型号: TOOLSTICK336DC
厂商: Silicon Laboratories Inc
文件页数: 125/226页
文件大小: 0K
描述: DAUGHTER CARD TOOLSTICK C8051F33
标准包装: 1
系列: ToolStick
类型: MCU
适用于相关产品: C8051F336
所含物品:
产品目录页面: 626 (CN2011-ZH PDF)
配用: 336-1345-ND - TOOLSTICK BASE ADAPTER
336-1182-ND - ADAPTER USB DEBUG FOR C8051FXXX
相关产品: 336-1429-5-ND - IC MCU 16K FLASH 20QFN
其它名称: 336-1431
第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页第196页第197页第198页第199页第200页第201页第202页第203页第204页第205页第206页第207页第208页第209页第210页第211页第212页第213页第214页第215页第216页第217页第218页第219页第220页第221页第222页第223页第224页第225页第226页
C8051F336/7/8/9
210
Rev.1.0
25.3.5.1. 8-bit Pulse Width Modulator Mode
The duty cycle of the PWM output signal in 8-bit PWM mode is varied using the module's PCA0CPLn cap-
ture/compare register. When the value in the low byte of the PCA counter/timer (PCA0L) is equal to the
value in PCA0CPLn, the output on the CEXn pin will be set. When the count value in PCA0L overflows, the
CEXn output will be reset (see Figure 25.8). Also, when the counter/timer low byte (PCA0L) overflows from
0xFF to 0x00, PCA0CPLn is reloaded automatically with the value stored in the module’s capture/compare
high byte (PCA0CPHn) without software intervention. Setting the ECOMn and PWMn bits in the
PCA0CPMn register, and setting the CLSEL bits in register PCA0PWM to 00b enables 8-Bit Pulse Width
Modulator mode. If the MATn bit is set to 1, the CCFn flag for the module will be set each time an 8-bit
comparator match (rising edge) occurs. The COVF flag in PCA0PWM can be used to detect the overflow
(falling edge), which will occur every 256 PCA clock cycles. The duty cycle for 8-Bit PWM Mode is given in
Equation 25.2.
Important Note About Capture/Compare Registers: When writing a 16-bit value to the PCA0 Cap-
ture/Compare registers, the low byte should always be written first. Writing to PCA0CPLn clears the
ECOMn bit to 0; writing to PCA0CPHn sets ECOMn to 1.
Equation 25.2. 8-Bit PWM Duty Cycle
Using Equation 25.2, the largest duty cycle is 100% (PCA0CPHn = 0), and the smallest duty cycle is
0.39% (PCA0CPHn = 0xFF). A 0% duty cycle may be generated by clearing the ECOMn bit to 0.
Figure 25.8. PCA 8-Bit PWM Mode Diagram
Duty Cycle
256
PCA0CPHn
()
256
---------------------------------------------------
=
8-bit
Comparator
PCA0L
PCA0CPLn
PCA0CPHn
CEXn
Crossbar
Port I/O
Enable
Overflow
PCA Timebase
00 x 0
x
Q
SET
CLR
S
R
match
PCA0CPMn
P
W
M
1
6
n
E
C
O
M
n
E
C
F
n
T
O
G
n
P
W
M
n
C
A
P
n
C
A
P
N
n
M
A
T
n
0
PCA0PWM
A
R
S
E
L
E
C
O
V
C
L
S
E
L
0
C
L
S
E
L
1
C
O
V
F
x0
0
ENB
0
1
Write to
PCA0CPLn
Write to
PCA0CPHn
Reset
COVF
相关PDF资料
PDF描述
SDR-2 SCOTCH CODE REFILL # 2
0210490198 CABLE JUMPER 1.25MM .127M 14POS
RSM08DRTH CONN EDGECARD 16POS DIP .156 SLD
TOOLSTICK540DC DAUGHTER CARD TOOLSTICK F540
TOOLSTICK560DC DAUGHTER CARD TOOLSTICK F560
相关代理商/技术参数
参数描述
TOOLSTICK340PP 功能描述:插座和适配器 Dev Tool for C8051F340/1/4/5 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
TOOLSTICK342DC 功能描述:子卡和OEM板 ToolStick C8051F34x daughter card RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
TOOLSTICK342MPP 功能描述:插座和适配器 Toolstick Programer C8051F34X-QFN32 MCUs RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
TOOLSTICK360DC 功能描述:子卡和OEM板 C8051F362 TOOLSTICK DAUGHTER CARD RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
TOOLSTICK360PP 功能描述:插座和适配器 Dev Tool for C8051F360/F363 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x