摘要
AVR单片机内嵌Flash,置有ADC和模拟比较等电路接口,采用快速存取寄存器文件和快速单指令周期,其程序与数据存储器分开,通过SPI和编程器可对Flash存储器编程。在分析AT90S8515芯片定时/计数器、I/O端口、通用串行口UART、模拟比较器等接口基础上,设计了信号发生器、频率计以及与PC机串行通信接口电路,给出了数字信号发生器原理图和程序流程图,频率计原理简图与程序流程图。
The AVR single chip microcontroller (SCM) has inside Flash, RISC instructs, ADC and analog comparison circuit interfaces etc. It can fleetly access the file of register and single cycle instructions, the program can be wrote into the Flash with the SPI and program implement. On the base of analysis about the AT90S8515 interfaces which include clock/counter, I/O, serial UART port and the interface of analog comparison components, digital signal generator, cymometer and interface circuit for the serial communication was designed, and the principle charts and program flow charts of the generator and cymometer.
出处
《兵工自动化》
2003年第5期41-44,共4页
Ordnance Industry Automation