文件名称:lm3s1138_adc
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 42kb
- 下载次数:
- 0次
- 提 供 者:
- 小*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
基于《Stellaris外设驱动库》的例程:处理器直接触发ADC采样
本实验演示配置ADC采样序列0,通过处理器直接触发ADC采样,ADC模拟量需从外部输入(ADC0),最大不能超过3.0V,因为ADC内置的参考电压为3.0V。
在进行ADC配置之前,必须首先进行PLL锁相环配置(详见EasyARM1138例程\02 SysCtl(系统控制)\3 锁相环PLL设置)。错误配置PLL将使系统进入异常。
ADC采样得到的数字量将利用超级终端从串口读出 。本开发板采用USB虚拟串口UART2,一般很多串口调试助手都不支持,所以建议使用WINDOWS系统自带的超级终端。-Based on " Stellaris peripheral driver library" of routines: Processor direct trigger ADC sampling configuration in this experiment demonstrates ADC sampling sequence 0, through the processor directly to trigger ADC sampling, ADC analog input required from the outside (ADC0), the largest not more than 3.0 V, because the ADC internal reference voltage of 3.0V. During ADC configuration, you must first be phase-locked loop PLL configuration (see EasyARM1138 routines \ 02 SysCtl (system control) \ 3 phase-locked loop PLL setting). Error Configuring PLL enables the system into the abnormal. ADC sampling by the digital terminal will use the super-read from the serial port. The development board with USB virtual serial port UART2, assistant general do not support a lot of serial debugging, it is proposed to use WINDOWS system comes with HyperTerminal.
本实验演示配置ADC采样序列0,通过处理器直接触发ADC采样,ADC模拟量需从外部输入(ADC0),最大不能超过3.0V,因为ADC内置的参考电压为3.0V。
在进行ADC配置之前,必须首先进行PLL锁相环配置(详见EasyARM1138例程\02 SysCtl(系统控制)\3 锁相环PLL设置)。错误配置PLL将使系统进入异常。
ADC采样得到的数字量将利用超级终端从串口读出 。本开发板采用USB虚拟串口UART2,一般很多串口调试助手都不支持,所以建议使用WINDOWS系统自带的超级终端。-Based on " Stellaris peripheral driver library" of routines: Processor direct trigger ADC sampling configuration in this experiment demonstrates ADC sampling sequence 0, through the processor directly to trigger ADC sampling, ADC analog input required from the outside (ADC0), the largest not more than 3.0 V, because the ADC internal reference voltage of 3.0V. During ADC configuration, you must first be phase-locked loop PLL configuration (see EasyARM1138 routines \ 02 SysCtl (system control) \ 3 phase-locked loop PLL setting). Error Configuring PLL enables the system into the abnormal. ADC sampling by the digital terminal will use the super-read from the serial port. The development board with USB virtual serial port UART2, assistant general do not support a lot of serial debugging, it is proposed to use WINDOWS system comes with HyperTerminal.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
11 ADC(模-数转换器)\处理器触发ADC采样\ADC_ProcessorTrigger\Debug\Obj\Demo.pbd
...................\.................\....................\Demo.dep
...................\.................\....................\Demo.ewd
...................\.................\....................\Demo.ewp
...................\.................\....................\Demo.eww
...................\.................\....................\LM3S1138_PinMap.H
...................\.................\....................\main.c
...................\.................\....................\settings\Demo.cspy.bat
...................\.................\....................\........\Demo.dbgdt
...................\.................\....................\........\Demo.dni
...................\.................\....................\........\Demo.wsdt
...................\.................\....................\startup_ewarm.c
...................\.................\....................\UART_GetPut.C
...................\.................\....................\UART_GetPut.H
...................\.................\ADC_ProcessorTrigger.bin
...................\.................\调试说明.txt
...................\温度传感器\ADC_Temperature\Demo.dep
...................\..........\...............\Demo.ewd
...................\..........\...............\Demo.ewp
...................\..........\...............\Demo.eww
...................\..........\...............\LM3S1138_PinMap.H
...................\..........\...............\main.c
...................\..........\...............\startup_ewarm.c
...................\..........\...............\UART_GetPut.C
...................\..........\...............\UART_GetPut.H
...................\..........\ADC_Temperature.bin
...................\..........\ADC温度传感器功能调试说明.txt
...................\处理器触发ADC采样\ADC_ProcessorTrigger\Debug\Exe
...................\.................\....................\.....\List
...................\.................\....................\.....\Obj
...................\.................\....................\Debug
...................\.................\....................\settings
...................\.................\ADC_ProcessorTrigger
...................\温度传感器\ADC_Temperature
...................\处理器触发ADC采样
...................\温度传感器
11 ADC(模-数转换器)
...................\.................\....................\Demo.dep
...................\.................\....................\Demo.ewd
...................\.................\....................\Demo.ewp
...................\.................\....................\Demo.eww
...................\.................\....................\LM3S1138_PinMap.H
...................\.................\....................\main.c
...................\.................\....................\settings\Demo.cspy.bat
...................\.................\....................\........\Demo.dbgdt
...................\.................\....................\........\Demo.dni
...................\.................\....................\........\Demo.wsdt
...................\.................\....................\startup_ewarm.c
...................\.................\....................\UART_GetPut.C
...................\.................\....................\UART_GetPut.H
...................\.................\ADC_ProcessorTrigger.bin
...................\.................\调试说明.txt
...................\温度传感器\ADC_Temperature\Demo.dep
...................\..........\...............\Demo.ewd
...................\..........\...............\Demo.ewp
...................\..........\...............\Demo.eww
...................\..........\...............\LM3S1138_PinMap.H
...................\..........\...............\main.c
...................\..........\...............\startup_ewarm.c
...................\..........\...............\UART_GetPut.C
...................\..........\...............\UART_GetPut.H
...................\..........\ADC_Temperature.bin
...................\..........\ADC温度传感器功能调试说明.txt
...................\处理器触发ADC采样\ADC_ProcessorTrigger\Debug\Exe
...................\.................\....................\.....\List
...................\.................\....................\.....\Obj
...................\.................\....................\Debug
...................\.................\....................\settings
...................\.................\ADC_ProcessorTrigger
...................\温度传感器\ADC_Temperature
...................\处理器触发ADC采样
...................\温度传感器
11 ADC(模-数转换器)