1 / 12

实验三 A/D 接口模块

实验三 A/D 接口模块. 复习. 实验一 实验箱整体介绍 ARM 开发环境的搭建 ARM 开发流程 实验二 串口硬件电路 UART 寄存器 串口编程. 实验内容. 学习 A/D 接口原理及硬件电路; 阅读实验指导书,了解 ARM 的 A/D 相关寄存器; 利用外部模拟信号编程,实现 ARM 循环采集全部前 4 路通道信号,并显示在超级终端上。. 实验目的. 熟悉 ARM 本身自带的八路十位 A/D 控制器及相应寄存器; 编程实现 ARM 系统的 A/D 功能; 掌握带有 A/D 的 CPU 编程实现 A/D 功能的主要方法。. A/D 转换的重要指标.

evan
Download Presentation

实验三 A/D 接口模块

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 实验三 A/D接口模块

  2. 复习 • 实验一 • 实验箱整体介绍 • ARM开发环境的搭建 • ARM开发流程 • 实验二 • 串口硬件电路 • UART寄存器 • 串口编程

  3. 实验内容 • 学习A/D接口原理及硬件电路; • 阅读实验指导书,了解ARM的A/D相关寄存器; • 利用外部模拟信号编程,实现ARM循环采集全部前4路通道信号,并显示在超级终端上。

  4. 实验目的 • 熟悉ARM本身自带的八路十位A/D控制器及相应寄存器; • 编程实现ARM系统的A/D功能; • 掌握带有A/D的CPU编程实现A/D功能的主要方法。

  5. A/D转换的重要指标 • 分辨率(最小有效量程) • 精度 • 转换时间 • 量程 • 工作温度 • 输出电平 • 电源灵敏度

  6. A/D 转换 • A/D转换率-2410 freq = MCLK/( 转换因子+1) 转换时间: t = 1/freq ADCPSR = 转换因子 • A/D转换率- 44B0 freq = MCLK/(16×( 转换因子+1)) 转换时间: t = 1/freq

  7. 转换公式 • Vin = ADCDAT×Vref/2^n • 例子: • Vin = ADCDAT×2.5/1024

  8. A/D转换—44B0

  9. A/D转换—2410

  10. 引脚图

  11. 相关寄存器 • ADCPSR:采样比率寄存器 • ADCCON:采样控制寄存器 • ADCDAT:转换结果寄存器

  12. 实现过程

More Related