您好,欢迎来到佳博论文网!

嵌入式系统研制AD数模转换器

字数:12347.页数:48 论文编号:TX104

摘 要

由于现代家庭中电子设备多样化、智能化,如何协调它们之间的运作,同时又能满足人们对日常生活中安防的要求,使本课题即嵌入式系统的研究成为必然。

嵌入式系统的应用日益广泛,可以说无所不在,无处不在,嵌入式系统的快速发展也极大地丰富、延伸了嵌入式系统的概念。本节从嵌入式系统的核心――嵌入式计算机的形成和发展历史出发,详细介绍嵌入式的基本概念、基本特点和应用范围等。

随着嵌入式应用领域的日益扩展,要完整地定义“嵌入式”这个概念变得越来越困难。嵌入式领域内的许多应用对性能、价格、功耗等各项指标有着各种不同的要求。这些不同的要求,直接驱动了各种应用的处理器以及紧密结合实际应用SoC技术的迅速发展。

本论文研究如何利用嵌入式系统研制A/D数模转换器,实现数字信号与模拟信号的转换接口电路,有着广泛的应用,尤其在现代工业控制中,数字信号与模拟信号交替出现,A/D转换更是必不可少。

本论文是以业界表现出色的ARM处理器(采用ARM7TDMI内核的、三星公司推出的S3C44B0X)及其外围电路为硬件基础,以论述A/D数模转换器应用设计软件开发的全过程。

关键词:嵌入式 A/D数模转换 S3C44B0X SDT2.51

Abstract

In modern families there are so many electric devices which are intellectual. How to manage the electric devices and can satisfy the people safe to want to the daily life becomes a problem to be resolved the subject of embedded system is inevitable.

The increasingly widespread use of embedded system can be said that everywhere, everywhere. The rapid development of embedded system also greatly enrich and extend the concept of the embedded system. Embedded system -- the core of this section from the formation and development of embedded computer history, Embedded in detail the basic concepts, basic features and the scope of its application. With the ever-expanding field of embedded application, a complete definition of "embedded" concept has become increasingly difficult. Embedded in the many fields of application performance, price, power and other indicators have different requirements. These different requirements, directly driven by the applications processor SoC technology, and in close connection with the rapid development of practical applications. In this study, the use of embedded D Converter System. Digital signal and analog signal conversion circuit has been widely applied, especially in a modern industrial control. analog signal and digital signals, alternately, D conversion is essential.

This paper is based on the industry’s outstanding performance ARM processor (using the ARM7TDMI core. Samsung introduced a S3C44B0X) and the external circuit as a basic hardware D Converter application design exposition to the whole process of software decelopemnt.

Key words:Embedded D digital-analog conversion S3C44B0X SDT2.51

目 录

摘要 I

Abstract II

绪论 1

1 总体设计 3

1.1 设计方案 3

1.2 总体设计及其工作原理 3

1.2.1 工作原理 3

1.2.2 ADC转换时间计算 5

1.2.3 ADC的分辨率的计算 6

1.2.4 关于采样保持器 6

1.3 ADC的相关寄存器 6

1.3.1 A/D转换控制寄存器 6

1.3.2 A/D转换控制寄存器(ADCCON 6

1.3.3 A/D转换预分频寄存器 7

1.4 S3C44B0X A/D转换器应用编程 8

1.5 本章小结 8

2 硬件环境 9

2.1 开发板整体架构 9

2.2 本章小结 9

3 程序代码的研究 10

3.1 源文件adc.c 10

3.2 文件main.c 12

3.3 44binit.s初始化程序 15

3.4 库文件44bilb.alf(源文件44blib.c 15

3.5 本章小结 15

4 程序的编译 16

4.1 开发软件的介绍 16

4.2 使用APM对工程进行编译 16

4.2.1 启动SDT2.51 16

4.2.2 在工程中添加源文件 16

4.2.3 编译选项设置 19

4.2.4 进行编译和链接 20

4.3 本章小结 21

5 系统调试 22

5.1 调试的整体步骤 22

5.2 硬件准备 22

5.3 超级终端 22

5.3.1 使用BIOS调试程序 23

5.3.2 调试程序命令的使用 28

5.4 运行JTAG.exe程序 29

5.5 使用AWD进行仿真调试 32

5.5.1 ADW调试器的设置 32

5.5.2 调试器的使用 35

5.6 运行结果 36

5.7 本章小结 38

结论 39

致谢 41

参考文献 42

附录一 44

嵌入式系统研制AD数模转换器......