文件名称:2812ADsample
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:477.49kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
AD采样频率为10K,序列发生器SEQ1和SEQ2级联成一个16通道的序列发生器,采样模式采用顺序采样。利用通用定时器T1的周期中断事件来启动AD转换。ADCINA0和ADCINB0为参考电平,实际的电压值分别为0.420和1.653,由于每个板子的具体特性稍有不同,请用万用表自行测量参考电压值。此例程对ADCINA0、ADCINA1、ADCINB0、ADCINB1四个通道进行连续10次的采样,然后对各个通道的10个采样值进行排序,滤波,最后取平均值。然后由ADCINA0和ADCINB0通道的值计算求得CalGain和CalOffset,最后由这两个量来校正ADCINA1和ADCINB1。-AD sampling frequency for the 10K, the sequence generator SEQ1 and SEQ2 cascade into a 16-channel sequencer, sampling mode with sequential sampling. The use of general-purpose timer T1 cycle to start AD conversion interrupt event. ADCINA0, and ADCINB0 as the reference level, the actual voltage values of 0.420 and 1.653, respectively, due to the specific characteristics of each board is slightly different, with a multimeter self-measurement of the reference voltage value. This routine ADCINA0, ADCINA1, ADCINB0, ADCINB1 four channel continuous sampling of 10 times, and then sort the sampled values of the respective channels 10, filtering, and finally take the average. Then to calculated to obtain the CalGain and CalOffset by ADCINA0, and ADCINB0 channel value, the final by these two quantities to to correction ADCINA1 and ADCINB1.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ADsample/
ADsample/AD03.paf
ADsample/ADsample.c
ADsample/ADsample.CS_/
ADsample/ADsample.CS_/FILE.CDX
ADsample/ADsample.CS_/FILE.DBF
ADsample/ADsample.CS_/FILE.FPT
ADsample/ADsample.CS_/SYMBOL.CDX
ADsample/ADsample.CS_/SYMBOL.DBF
ADsample/ADsample.CS_/SYMBOL.FPT
ADsample/ADsample.paf
ADsample/ADsample.pjt
ADsample/ADsample.sbl
ADsample/cc_build_Debug.log
ADsample/Debug/
ADsample/Debug.lkf
ADsample/Debug.lkv
ADsample/Debug/AD03.map
ADsample/Debug/AD03.obj
ADsample/Debug/AD03.out
ADsample/Debug/ADsample.obj
ADsample/Debug/DSP28_Adc.obj
ADsample/Debug/DSP28_DefaultIsr.obj
ADsample/Debug/DSP28_Ev.obj
ADsample/Debug/DSP28_GlobalVariableDefs.obj
ADsample/Debug/DSP28_InitPeripherals.obj
ADsample/Debug/DSP28_PieCtrl.obj
ADsample/Debug/DSP28_PieVect.obj
ADsample/Debug/DSP28_SysCtrl.obj
ADsample/DSP28_Adc.c
ADsample/DSP28_Adc.h
ADsample/DSP28_CpuTimers.h
ADsample/DSP28_DefaultIsr.c
ADsample/DSP28_DefaultIsr.h
ADsample/DSP28_DevEmu.h
ADsample/DSP28_Device.h
ADsample/DSP28_ECan.h
ADsample/DSP28_Ev.c
ADsample/DSP28_Ev.h
ADsample/DSP28_GlobalPrototypes.h
ADsample/DSP28_GlobalVariable.h
ADsample/DSP28_GlobalVariableDefs.c
ADsample/DSP28_Gpio.h
ADsample/DSP28_InitPeripherals.c
ADsample/DSP28_Mcbsp.h
ADsample/DSP28_PieCtrl.c
ADsample/DSP28_PieCtrl.h
ADsample/DSP28_PieVect.c
ADsample/DSP28_PieVect.h
ADsample/DSP28_Sci.h
ADsample/DSP28_Spi.h
ADsample/DSP28_SysCtrl.c
ADsample/DSP28_SysCtrl.h
ADsample/DSP28_Xintf.h
ADsample/DSP28_XIntrupt.h
ADsample/SRAM.cmd
ADsample/AD03.paf
ADsample/ADsample.c
ADsample/ADsample.CS_/
ADsample/ADsample.CS_/FILE.CDX
ADsample/ADsample.CS_/FILE.DBF
ADsample/ADsample.CS_/FILE.FPT
ADsample/ADsample.CS_/SYMBOL.CDX
ADsample/ADsample.CS_/SYMBOL.DBF
ADsample/ADsample.CS_/SYMBOL.FPT
ADsample/ADsample.paf
ADsample/ADsample.pjt
ADsample/ADsample.sbl
ADsample/cc_build_Debug.log
ADsample/Debug/
ADsample/Debug.lkf
ADsample/Debug.lkv
ADsample/Debug/AD03.map
ADsample/Debug/AD03.obj
ADsample/Debug/AD03.out
ADsample/Debug/ADsample.obj
ADsample/Debug/DSP28_Adc.obj
ADsample/Debug/DSP28_DefaultIsr.obj
ADsample/Debug/DSP28_Ev.obj
ADsample/Debug/DSP28_GlobalVariableDefs.obj
ADsample/Debug/DSP28_InitPeripherals.obj
ADsample/Debug/DSP28_PieCtrl.obj
ADsample/Debug/DSP28_PieVect.obj
ADsample/Debug/DSP28_SysCtrl.obj
ADsample/DSP28_Adc.c
ADsample/DSP28_Adc.h
ADsample/DSP28_CpuTimers.h
ADsample/DSP28_DefaultIsr.c
ADsample/DSP28_DefaultIsr.h
ADsample/DSP28_DevEmu.h
ADsample/DSP28_Device.h
ADsample/DSP28_ECan.h
ADsample/DSP28_Ev.c
ADsample/DSP28_Ev.h
ADsample/DSP28_GlobalPrototypes.h
ADsample/DSP28_GlobalVariable.h
ADsample/DSP28_GlobalVariableDefs.c
ADsample/DSP28_Gpio.h
ADsample/DSP28_InitPeripherals.c
ADsample/DSP28_Mcbsp.h
ADsample/DSP28_PieCtrl.c
ADsample/DSP28_PieCtrl.h
ADsample/DSP28_PieVect.c
ADsample/DSP28_PieVect.h
ADsample/DSP28_Sci.h
ADsample/DSP28_Spi.h
ADsample/DSP28_SysCtrl.c
ADsample/DSP28_SysCtrl.h
ADsample/DSP28_Xintf.h
ADsample/DSP28_XIntrupt.h
ADsample/SRAM.cmd
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.