Description: F2812 AD correction algorithm to improve the conversion accuracy. (CCS3.3 development environment). AD sampling rate of 10K, the use of general-purpose timer T1 cycle interrupt event to start the AD conversion. ADCINA0 and ADCINB0 the reference level, the actual voltage values were 0.420 and 1.653. Of ADCINA0, ADCINA1, ADCINB0, ADCINB1 four channel sampling for 10 times, then 10 of each channel samples to sort, filter, and finally averaged. Then ADCINA0 and ADCINB0 channel value obtained CalGain and CalOffset, the last two by the amount of correction ADCINA1 and ADCINB1.
To Search:
File list (Check if you may need any files):
ADsample\AD03.paf
........\ADsample.c
........\.........CS_\FILE.CDX
........\............\FILE.DBF
........\............\FILE.FPT
........\............\SYMBOL.CDX
........\............\SYMBOL.DBF
........\............\SYMBOL.FPT
........\ADsample.paf
........\ADsample.pjt
........\ADsample.sbl
........\cc_build_Debug.log
........\Debug\AD03.map
........\.....\AD03.obj
........\.....\AD03.out
........\.....\ADsample.obj
........\.....\DSP28_Adc.obj
........\.....\DSP28_DefaultIsr.obj
........\.....\DSP28_Ev.obj
........\.....\DSP28_GlobalVariableDefs.obj
........\.....\DSP28_InitPeripherals.obj
........\.....\DSP28_PieCtrl.obj
........\.....\DSP28_PieVect.obj
........\.....\DSP28_SysCtrl.obj
........\Debug.lkf
........\Debug.lkv
........\DSP28_Adc.c
........\DSP28_Adc.h
........\DSP28_CpuTimers.h
........\DSP28_DefaultIsr.c
........\DSP28_DefaultIsr.h
........\DSP28_DevEmu.h
........\DSP28_Device.h
........\DSP28_ECan.h
........\DSP28_Ev.c
........\DSP28_Ev.h
........\DSP28_GlobalPrototypes.h
........\DSP28_GlobalVariable.h
........\DSP28_GlobalVariableDefs.c
........\DSP28_Gpio.h
........\DSP28_InitPeripherals.c
........\DSP28_Mcbsp.h
........\DSP28_PieCtrl.c
........\DSP28_PieCtrl.h
........\DSP28_PieVect.c
........\DSP28_PieVect.h
........\DSP28_Sci.h
........\DSP28_Spi.h
........\DSP28_SysCtrl.c
........\DSP28_SysCtrl.h
........\DSP28_Xintf.h
........\DSP28_XIntrupt.h
........\SRAM.cmd
........\ADsample.CS_
........\Debug
ADsample