参数资料
型号: AT90S1200
厂商: Atmel Corp.
元件分类: 8位微控制器
英文描述: -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
中文描述: 位AVR微控制器具有8K字节的系统内可编程闪存
文件页数: 2/9页
文件大小: 128K
代理商: AT90S1200
AVR410
2
Timing
The bit length is approximately 1.8 ms. The code is
repeated every 114 ms. To improve noise rejection, the
pulses are modulated at 36 kHz. The easiest way to
receive these pulses is to use an integrated IR-
receiver/demodulator like the Siemens SFH 506-36. This is
a 3-pin device that receives the infra-red burst and gives
out the demodulated bit stream at the output pin. Note that
the data is inverted compared to the transmitted data (i.e.
the data is idle high).
The Software
The assembly code found in AVR410.ASM contains the
RC5 decode routine. In addition, it contains an example
program which initializes the resources, decodes the RC5
data and outputs the received command on port B.
The Detect Subroutine
When the detect subroutine is called, it first waits for the
data line to be idle high for more than 3.5 ms. Then, a start
bit can be detected. The length of the low part of the first
start bit is measured. If no start bit is detected within 131
ms, or if the low pulse is longer than 1.1 ms, the routine
returns indicating no command received.
Figure 5.
Synchronizing and Sampling of the Data
The measurement of the start bit is used to calculate two
reference times, ref1 and ref2, which are used when sam-
pling the data line. The program uses the edge in the
middle of every bit to synchronize the timing. 3/4 bit length
after this edge, the line is sampled. This is in the middle of
the first half of the next bit (see Figure 5). The state is
stored and the routine waits for the middle edge. Then, the
timer is synchronized again and everything is repeated for
the following bits. If the synchronizing edge is not detected
within 5/4 bit times from the previous synchronizing edge,
this is detected as a fault and the routine terminates.
When all the bits are received, the command and system
address are stored in the
command
and
system
regis-
ters. The control bit is stored in bit 6 of
command
.
Table 1.
Decode
Subroutine Performance Figures
Parameter
Value
Code Size
72 words
Execution Cycles
Register Usage
Low Registers Used: 3High
Registers Used: 6
Global Registers: 6
Pointers Used: None
Table 2.
Detect
Register Usage
Register
Internal
Output
R1
inttemp
- Used by TIM0_OVF
R2
ref1
- Holds Timing Information
R3
ref2
- Holds Timing Information
R16
temp
- Temporary Register
R17
timerL
- Timing Register
R18
timerH
- Timing Register
R19
system
- The
System Address
R20
command
- The
Received
Command
R21
bitcnt
- Counts the Bits Received
相关PDF资料
PDF描述
AT90S2313 -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
AT90S2313-10 -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
AT90S2313-10PC -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
AT90S2313-10PI -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
AT90S2313-10SC -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
相关代理商/技术参数
参数描述
AT90S1200/A 制造商:未知厂家 制造商全称:未知厂家 功能描述:AT90S1200/A Rev. F Errata [Updated 9/01. 2 Pages]
AT90S1200_02 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:8-bit Microcontroller with 1K Byte of In-System Programmable Flash
AT90S1200-12PC 功能描述:8位微控制器 -MCU 1K FLASH 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
AT90S1200-12PI 功能描述:IC MCU 1K FLSH 12MHZ IT 20DIP RoHS:否 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:AVR® 90S 标准包装:9 系列:87C 核心处理器:8051 芯体尺寸:8-位 速度:40/20MHz 连通性:UART/USART 外围设备:POR,WDT 输入/输出数:32 程序存储器容量:32KB(32K x 8) 程序存储器类型:OTP EEPROM 大小:- RAM 容量:256 x 8 电压 - 电源 (Vcc/Vdd):4.5 V ~ 5.5 V 数据转换器:- 振荡器型:内部 工作温度:0°C ~ 70°C 封装/外壳:40-DIP(0.600",15.24mm) 包装:管件
AT90S1200-12SC 功能描述:8位微控制器 -MCU 1K Flash 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