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

AT89S53-24JC 参数 Datasheet PDF下载

AT89S53-24JC图片预览
型号: AT89S53-24JC
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器,带有12K字节的闪存 [8-Bit Microcontroller with 12K Bytes Flash]
分类和应用: 闪存微控制器
文件页数/大小: 32 页 / 474 K
品牌: ATMEL [ ATMEL ]
 浏览型号AT89S53-24JC的Datasheet PDF文件第10页浏览型号AT89S53-24JC的Datasheet PDF文件第11页浏览型号AT89S53-24JC的Datasheet PDF文件第12页浏览型号AT89S53-24JC的Datasheet PDF文件第13页浏览型号AT89S53-24JC的Datasheet PDF文件第15页浏览型号AT89S53-24JC的Datasheet PDF文件第16页浏览型号AT89S53-24JC的Datasheet PDF文件第17页浏览型号AT89S53-24JC的Datasheet PDF文件第18页  
Programmable Clock Out  
UART  
A 50% duty cycle clock can be programmed to come out on  
P1.0, as shown in Figure 5. This pin, besides being a regu-  
lar I/0 pin, has two alternate functions. It can be pro-  
grammed to input the external clock for Timer/Counter 2 or  
to output a 50% duty cycle clock ranging from 61 Hz to 4  
MHz at a 16 MHz operating frequency.  
The UART in the AT89S53 operates the same way as the  
UART in the AT89C51, AT89C52 and AT89C55. For fur-  
ther information, see the October 1995 Microcontroller  
Data Book, page 2-49, section titled, “Serial Interface.”  
Serial Peripheral Interface  
To configure the Timer/Counter 2 as a clock generator, bit  
C/T2 (T2CON.1) must be cleared and bit T2OE (T2MOD.1)  
must be set. Bit TR2 (T2CON.2) starts and stops the timer.  
The serial peripheral interface (SPI) allows high-speed syn-  
chronous data transfer between the AT89S53 and periph-  
eral devices or between several AT89S53 devices. The  
AT89S53 SPI features include the following:  
The clock-out frequency depends on the oscillator fre-  
quency and the reload value of Timer 2 capture registers  
(RCAP2H, RCAP2L), as shown in the following equation.  
• Full-Duplex, 3-Wire Synchronous Data Transfer  
• Master or Slave Operation  
• 1.5-MHz Bit Frequency (max.)  
Oscillator Frequency  
Clock-Out Frequency= ------------------------------------------------------------------------------------------  
4 × [65536 (RCAP2H,RCAP2L)]  
• LSB First or MSB First Data Transfer  
• Four Programmable Bit Rates  
In the clock-out mode, Timer 2 rollovers will not generate  
an interrupt. This behavior is similar to when Timer 2 is  
used as a baud-rate generator. It is possible to use Timer 2  
as a baud-rate generator and a clock generator simulta-  
neously. Note, however, that the baud-rate and clock-out  
frequencies cannot be determined independently from one  
another since they both use RCAP2H and RCAP2L.  
• End of Transmission Interrupt Flag  
• Write Collision Flag Protection  
• Wakeup from Idle Mode (Slave Mode Only)  
The interconnection between master and slave CPUs with  
SPI is shown in the following figure. The SCK pin is the  
Figure 6. SPI Block Diagram  
S
MISO  
P1.6  
M
M
OSCILLATOR  
MOSI  
P1.5  
MSB  
LSB  
S
8/16-BIT SHIFT REGISTER  
READ DATA BUFFER  
DIVIDER  
÷4÷16÷64÷128  
CLOCK  
SPI CLOCK (MASTER)  
SCK  
1.7  
CLOCK  
LOGIC  
S
SELECT  
M
SS  
P1.4  
MSTR  
SPE  
SPI CONTROL  
8
SPI STATUS REGISTER  
SPI CONTROL REGISTER  
8
8
SPI INTERRUPT  
INTERNAL  
DATA BUS  
REQUEST  
AT89S53  
4-230  
 复制成功!