欢迎访问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文件第41页浏览型号89E52RD2-40-C-NJE的Datasheet PDF文件第42页浏览型号89E52RD2-40-C-NJE的Datasheet PDF文件第43页浏览型号89E52RD2-40-C-NJE的Datasheet PDF文件第44页浏览型号89E52RD2-40-C-NJE的Datasheet PDF文件第46页浏览型号89E52RD2-40-C-NJE的Datasheet PDF文件第47页浏览型号89E52RD2-40-C-NJE的Datasheet PDF文件第48页浏览型号89E52RD2-40-C-NJE的Datasheet PDF文件第49页  
FlashFlex51 MCU  
SST89E52RD2 / SST89E54RD2 / SST89E58RD2 / SST89E516RD2  
SST89V52RD2 / SST89V54RD2 / SST89V58RD2 / SST89V516RD2  
Preliminary Specifications  
5.3 Programmable Clock-Out  
6.0 SERIAL I/O  
A 50% duty cycle clock can be programmed to come out  
on P1.0. This pin, besides being a regular I/O pin, has two  
alternate functions. It can be programmed:  
6.1 Full-Duplex, Enhanced UART  
The device serial I/O port is a full-duplex port that allows  
data to be transmitted and received simultaneously in  
hardware by the transmit and receive registers, respec-  
tively, while the software is performing other tasks. The  
transmit and receive registers are both located in the  
Serial Data Buffer (SBUF) special function register. Writ-  
ing to the SBUF register loads the transmit register, and  
reading from the SBUF register obtains the contents of  
the receive register.  
1. to input the external clock for Timer/Counter 2, or  
2. to output a 50% duty cycle clock ranging from 122  
Hz to 8 MHz at a 16 MHz operating frequency (61  
Hz to 4 MHz in 12 clock mode).  
To configure Timer/Counter 2 as a clock generator, bit  
C/#T2 (in T2CON) must be cleared and bit T20E in  
T2MOD must be set. Bit TR2 (T2CON.2) also must be set  
to start the timer.  
The UART has four modes of operation which are selected  
by the Serial Port Mode Specifier (SM0 and SM1) bits of  
the Serial Port Control (SCON) special function register. In  
all four modes, transmission is initiated by any instruction  
that uses the SBUF register as a destination register.  
Reception is initiated in mode 0 when the Receive Interrupt  
(RI) flag bit of the Serial Port Control (SCON) SFR is  
cleared and the Reception Enable/ Disable (REN) bit of the  
SCON register is set. Reception is initiated in the other  
modes by the incoming start bit if the REN bit of the SCON  
register is set.  
The Clock-Out frequency depends on the oscillator fre-  
quency and the reload value of Timer 2 capture registers  
(RCAP2H, RCAP2L) as shown in this equation:  
Oscillator Frequency  
n x (65536 - RCAP2H, RCAP2L)  
n = 2 (in 6 clock mode)  
4 (in 12 clock mode)  
Where (RCAP2H, RCAP2L) = the contents of RCAP2H  
and RCAP2L taken as a 16-bit unsigned integer.  
6.1.1 Framing Error Detection  
In the Clock-Out mode, Timer 2 roll-overs will not generate  
an interrupt. This is similar to when it is used as a baud-rate  
generator. It is possible to use Timer 2 as a baud-rate gen-  
erator and a clock generator simultaneously. Note, how-  
ever, that the baud-rate and the Clock-Out frequency will  
not be the same.  
Framing Error Detection is a feature, which allows the  
receiving controller to check for valid stop bits in modes 1,  
2, or 3. Missing stops bits can be caused by noise in serial  
lines or from simultaneous transmission by two CPUs.  
Framing Error Detection is selected by going to the PCON  
register and changing SMOD0 = 1 (see Figure 6-1). If a  
stop bit is missing, the Framing Error bit (FE) will be set.  
Software may examine the FE bit after each reception to  
check for data errors. After the FE bit has been set, it can  
only be cleared by software. Valid stop bits do not clear FE.  
When FE is enabled, RI rises on the stop bit, instead of the  
last data bit (see Figure 6-2 and Figure 6-3).  
SCON  
SM2  
SM0/FE SM1  
REN  
TB8  
RB8  
TI  
RI  
(98H)  
Set FE bit if stop bit is 0 (framing error) (SMOD0 = 1)  
SM0 to UART mode control (SMOD0 = 0)  
PCON  
SMOD1 SMOD0 BOF  
POF  
GF1  
GF0  
PD  
IDL  
(87H)  
To UART framing error control  
1255 F16.0  
FIGURE  
6-1: FRAMING ERROR BLOCK DIAGRAM  
©2004 Silicon Storage Technology, Inc.  
S71255-00-000  
3/04  
45  
 复制成功!