欢迎访问ic37.com |
会员登录 免费注册
发布采购

89E52RD2-40-C-NJE 参数 Datasheet PDF下载

89E52RD2-40-C-NJE图片预览
型号: 89E52RD2-40-C-NJE
PDF下载: 下载PDF文件 查看货源
内容描述: 8位8051 Compatibale单片机(MCU)与嵌入式超快闪记忆 [8 bit 8051-Compatibale Microcontroller (MCU) with Embedded SuperFlash Memory]
分类和应用: 微控制器
文件页数/大小: 91 页 / 969 K
品牌: SST [ SILICON STORAGE TECHNOLOGY, INC ]
 浏览型号89E52RD2-40-C-NJE的Datasheet PDF文件第54页浏览型号89E52RD2-40-C-NJE的Datasheet PDF文件第55页浏览型号89E52RD2-40-C-NJE的Datasheet PDF文件第56页浏览型号89E52RD2-40-C-NJE的Datasheet PDF文件第57页浏览型号89E52RD2-40-C-NJE的Datasheet PDF文件第59页浏览型号89E52RD2-40-C-NJE的Datasheet PDF文件第60页浏览型号89E52RD2-40-C-NJE的Datasheet PDF文件第61页浏览型号89E52RD2-40-C-NJE的Datasheet PDF文件第62页  
FlashFlex51 MCU  
SST89E52RD2 / SST89E54RD2 / SST89E58RD2 / SST89E516RD2  
SST89V52RD2 / SST89V54RD2 / SST89V58RD2 / SST89V516RD2  
Preliminary Specifications  
8.3.4 Pulse Width Modulator  
The Pulse Width Modulator (PWM) mode is used to gener-  
ate 8-bit PWMs by comparing the low byte of the PCA  
timer (CL) with the low byte of the compare register  
(CCAPnL). When CL < CCAPnL the output is low. When  
CL CCAPnL the output is high. To activate this mode, the  
user must set the PWM and ECOM bits in the module’s  
CCAPMn SFR. (See Figure 8-5 and Table 8-7)  
loaded into the high byte (CCAPnH). Since writes to the  
CCAPnH register are asynchronous, a new value written to  
the high byte will not be shifted into CCAPnL for compari-  
son until the next period of the output (when CL rolls over  
from 255 to 00).  
To calculate values for CCAPnH for any duty cycle, use  
the following equation:  
In PWM mode, the frequency of the output depends on the  
source for the PCA timer. Since there is only one set of CH  
and CL registers, all modules share the PCA timer and fre-  
quency. Duty cycle of the output is controlled by the value  
CCAPnH = 256(1 - Duty Cycle)  
where CCAPnH is an 8-bit integer and Duty Cycle is a  
fraction.  
CCAPnH  
CCAPnL  
0
CL < CCAPnL  
CEXn  
Enable  
8-bit Comparator  
CL >= CCAPnL  
1
CL  
Overflow  
PCA Timer/Counter  
CCAPMn  
ECOMn CAPPn CAPNn MATn TOGn PWMn ECCFn  
n=0 to 4  
1255 F27.0  
0
0
0
0
0
FIGURE  
8-5: PCA PULSE WIDTH MODULATOR MODE  
TABLE  
8-7: PULSE WIDTH MODULATOR FREQUENCIES  
PWM Frequency  
PCA Timer Mode  
1/12 Oscillator Frequency  
1/4 Oscillator Frequency  
Timer 0 Overflow:  
8-bit  
12 MHz  
3.9 KHz  
11.8 KHz  
16 MHz  
5.2 KHz  
15.6 KHz  
15.5 Hz  
0.06 Hz  
20.3 Hz  
0.08 Hz  
16-bit  
8-bit Auto-Reload  
External Input (Max)  
3.9 KHz to 15.3 Hz  
5.9 KHz  
5.2 KHz to 20.3 Hz  
7.8 KHz  
T8-7.0 1255  
©2004 Silicon Storage Technology, Inc.  
S71255-00-000  
3/04  
58  
 复制成功!