ARM和CPLD测量频率的电路与软件设计
时间:2020-01-03 21:14 来源:毕业论文 作者:毕业论文 点击:次
摘要频率测量是当今电子领域里中最基本但必不可少的测量之一。因为频率信号抗干扰能力强,便于传输,所以我们可以获得较好的测量精度。因此测频技术广泛应用在通讯、航天、电子等领域。 CPLD(复杂可编程逻辑器件)由于功能强大、编程思路简单,在许多场合和电子设备中获得了广泛的应用。本课题通过 EDA技术利用 CPLD 来测量频率,并与 ARM 微处理器进行串行通讯的连接,把 CPLD测量的频率值输出到 ARM 进行处理,并显示在液晶显示器上。画出 CPLD 测量频率的电路图,并制版,焊接电路板。编写出 CPLD 测量频率的程序,然后与 ARM 进行通讯,并通过串口送入到 PC 机中,并显示在 PC 机上。该课题工作在电子仪器设计、控制技术方面有广阔的应用价值 43612 毕业论文关键词 CPLD;ARM;测频; Title Circuit and software for measuring frequency by ARM and CPLD Abstract Frequency measurement is one of the most basic and necessary measurement in the electronic field. The frequency signal has strong anti-interference ability and it is easy to transmit, so we can get very good measurement accuracy. Frequency measurement technology is widely used in communication, aerospace, electronics and other fields. CPLD(Complex Programmable Logic Device) has been widely used in many occasions and electronic devices because of its powerful functions and simple programming ideas. This project using CPLD to measure frequency through the EDA technology, and serial communication connection with the ARM microprocessor, the frequency measurement value of the CPLD output to ARM for processing, and displayed on the LCD display. Draw circuit diagram, plate making, and welding circuit board. Write the program of CPLD, then communicate with ARM, and through the serial port into the PC machine, and displayed on the PC machine. This project has wide application value in electronic instrument design and control technology. Keywords CPLD; ARM; Frequency measurement; 目录
1绪论1 1.1课题的背景及意义1 1.2可编程逻辑器件CPLD的简介2 1.3硬件描述语言VerilogHDL的简介....2 1.4ARM的简介3 1.5本毕业设计的工作3 2方案设计....4 2.1测频原理.4 2.2基于CPLD的测频方案..5 3硬件电路..6 3.1CPLD模块...6 3.1.1EPM570T100C5芯片6 3.1.2JTAG概述...7 3.2斯密特触发器...7 3.3LPC2138控制器概述.8 3.4电路焊接.9 4软件设计10 4.1CPLD测频软件...10 4.2SPI通讯程序...12 5调试...17 5.1硬件调试....17 5.2软件调试....18 结论20 致谢21
参考文献22 |