参数资料
型号: AT89LS52-16AI
厂商: ATMEL CORP
元件分类: 微控制器/微处理器
英文描述: -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
中文描述: 8-BIT, FLASH, 16 MHz, MICROCONTROLLER, PQFP44
封装: 10 X 10 MM, 1 MM HEIGHT, 0.80 MM PITCH, PLASTIC, MS-026ACB, TQFP-44
文件页数: 17/39页
文件大小: 469K
代理商: AT89LS52-16AI
17
AT89LS52
2601A
12/01
Programmable
Clock Out
A 50% duty cycle clock can be programmed to come out on P1.0, as shown in Figure 5. This
pin, besides being a regular I/O pin, has two alternate functions. It can be programmed to input
the external clock for Timer/Counter 2 or to output a 50% duty cycle clock ranging from 61 Hz
to 4 MHz (for a 16
MHz operating frequency).
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 clock-out frequency depends on the oscillator frequency and the reload value of Timer 2
capture registers (RCAP2H, RCAP2L), as shown in the following equation.
In the clock-out mode, Timer 2 roll-overs 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 simultaneously. Note, however, that the baud-rate and clock-
out frequencies cannot be determined independently from one another since they both use
RCAP2H and RCAP2L.
Interrupts
The AT89LS52 has a total of six interrupt vectors: two external interrupts (INT0 and INT1),
three timer interrupts (Timers 0, 1, and 2), and the serial port interrupt. These interrupts are all
shown in Figure 6.
Each of these interrupt sources can be individually enabled or disabled by setting or clearing a
bit in Special Function Register IE. IE also contains a global disable bit, EA, which disables all
interrupts at once.
Note that Table 5 shows that bit position IE.6 is unimplemented. User software should not
write 1 to this bit position, since it may be used in future AT89 products.
Timer 2 interrupt is generated by the logical OR of bits TF2 and EXF2 in register T2CON. Nei-
ther of these flags is cleared by hardware when the service routine is vectored to. In fact, the
service routine may have to determine whether it was TF2 or EXF2 that generated the inter-
rupt, and that bit will have to be cleared in software.
The Timer 0 and Timer 1 flags, TF0 and TF1, are set at S5P2 of the cycle in which the timers
overflow. The values are then polled by the circuitry in the next cycle. However, the Timer 2
flag, TF2, is set at S2P2 and is polled in the same cycle in which the timer overflows.
Clock-Out Frequency
4 x [65536-(RCAP2H,RCAP2L)]
------------------------------------------------------------------------------------
=
相关PDF资料
PDF描述
AT89LS52-16JC -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
AT89LS52-16JI -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
AT89LS52-16PC -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
AT89LS52-16PI -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
AT89LS53-12JI 8-Bit Microcontroller with 12K Bytes Flash
相关代理商/技术参数
参数描述
AT89LS52-16AU 功能描述:8位微控制器 -MCU LO-VLTG 8K ISP FLASH -16MHZ 2.7-5.5V RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
AT89LS52-16AUR 功能描述:8051 89LS Microcontroller IC 8-Bit 16MHz 8KB (8K x 8) FLASH 44-TQFP (10x10) 制造商:atmel 系列:89LS 包装:托盘 零件状态:有效 核心处理器:8051 核心尺寸:8-位 速度:16MHz 连接性:UART/USART 外设:WDT I/O 数:32 程序存储容量:8KB(8K x 8) 程序存储器类型:闪存 EEPROM 容量:- RAM 容量:256 x 8 电压 - 电源(Vcc/Vdd):2.7 V ~ 4 V 数据转换器:- 振荡器类型:内部 工作温度:-40°C ~ 85°C(TA) 封装/外壳:44-TQFP 供应商器件封装:44-TQFP(10x10) 标准包装:160
AT89LS52-16JC 功能描述:8位微控制器 -MCU LOW VOLTAGE 8K ISP FLASH - 16MHZ RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
AT89LS52-16JI 功能描述:8位微控制器 -MCU LOW VOLTAGE 8K ISP FLASH - 16MHz RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
AT89LS52-16JU 功能描述:8位微控制器 -MCU 8kB Flash 256B RAM 33MHz 2.7V-4.0V RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT