:82-946360/DSP《PLC200》DSPHigh-speedDataCollectionSystemBaseonDSP1,2334SUIChaoLIUYa-junZHAOYu-binSUNJian-guo:,TMS320F2812DSPMAX1308AD8,USBCH372,。,800kSPS,8400kSPS。:;TMS320F2812;USB;CH372:TP274.2:AAbstract:Thehigh-speeddatacollectionsystemisintroduced.Thehigh-speedDSPTMS320F2812ofTIandMAX1308ofMAXIMisusedtocollecteightchannelssimultaneoussignal,theUSBchipCH372isusedtosendthedatatocomputerreal-time,thecom-puterisusedtocontroltheprogressofdatacollectionanddisplay.Whencollectthesignalchanneldata,themaxcollectionrateis800kSPS,whencollecttheeightchannelsdataandreal-timetransmission,themaxcollectionrateis800kSPS.Keywords:Datacollection;TMS320F2812;USB;CH372:1008-0570(2010)07-2-0145-03,(DSP),:、、、,。、,、、、、,。USB(UniversalSerialBus)、、、、、、、、、。,TMS320F2812USB,,。1A/D,DSP。DSP,USB,。1,MAX1308MAXIM/,1075kSPS,8456kSPS,12,8。TITMS320F2812,150MHz,,、、,。USBCH372,8、、,DSP。VC++USB,,,。122.1TMS320F2812C281xDSPTI32,TMS320C2000,24x/240x。,240xC281xDSP,C281xDSP,C281x,。、。,,。C281xC/C++,,,C/C++。C281x,。C281x32×32,64,。2.2USBUSB3。USBUSB,USB(1.;2.63880;3.95118;4.63898):145--《》(SOC)2010267-2360/:82-946《200》DSP,USB,USB。CH372。CH372USB,。,CH3720,DSP,DSP。,DSPUSB,USB。2USBCH372TMS320F2812,2。CH3728D0~D7TMS320F2812GPIOA0~GPIOA7I/O,A0,RD,WRINTTMS320F2812GPIOA9、GPIOA10、GPIOA11GPIO8(CAP1),CS。2.3ADMAXIMMAX1308AD,MAX1308(T/H),MAX1308±5V,±16.5V。ADC0.9μs2,1.98μs8,8456kSPS。20MHzT/H、、(+2.5V)(+2.0V+3.0V)。20MHz、12,。+4.75V+5.25V+2.7V+5.25V,,57mA,-40℃+85℃。3USB、DSPPC3。3.1USBUSB,。CH372CH372CH372。,CH372USB;,。API,USB、、。USBUSBCH372DRV.EXE,CH372DRV.EXE,CH375DLL.DLLAPI、、USB。DSPUSB,CH372,A0,;A0,。DSP8CH372,、,,。:①、A0=1;②、,A0=0,;③、,A0=0,;④、,①。CH372USB,,CH372DSP。DSPCH372:①、CH372USB,USB,,INT,DSP;②、DSP,GET_STATUS;③、CH372GET_STATUSINT,;④、GET_STATUS“”,DSPRD_USB_DATACH372;⑤、CH372RD_USB_DATA,USB;⑥、DSP。DSPCH372:①、DSPWR_USB_DATACH372;②、CH372USB;③、USB,CH372USB,,INT,DSP;④、DSP,GET_STATUS;⑤、CH372GET_STATUSINT,;⑥、GET_STATUS“”,DSPWR_USB_DATACH372,,DSPWR_USB_DATA;⑦、DSPUNLOCK_USB;⑧、CH372UNLOCK_USB,USB;⑨、DSP;⑩、DSP,②,。3.2DSPDSP,DSPUSBDSPMAX1308。DSP,DSPCAP1CH372。DSPMAX1308,,,。DSP,146--:82-946360/DSP《PLC200》,DSPD0-D7。,D00,D77。,;,,。8,。,CSWR,D0D7,WR。WR。。,,。,CON-VST。CONVST,T/H,CONVST。,(EOC)。,(EOLC)。EOLC,DSPCSRD,。RD。,。3.3,、。4DSPMAX125,USB。,800kSPS,8400kSPS。、、,,。。USB,。[1],,.TMS320C32[J].,2008,29(3):58-59.[2],,.TMS320F2812[M].:,2005.[3],,.USB2.06[J].,2008,15(6):91-95[4],.USB[J].,2008(2):40-41.[5],,.,C8051F020USBOLED[J].,2009,2-2:65-69:(1981-),,,63898,,。Biography:SUIChao(1981-),male,Shandongprovince,theengi-neeroftheunit63898,master,Themajorresearchdirectionisthesoftwareofcommunications.(050002)(47100363880)(44410195118)(45465063898)(OrdnanceEngineeringCollageofPLA,Shijiazhuang050003,China)SUIChao(TheUnit63880ofPLA,Luoyang471003,China)SUIChao(TheUnit95118ofPLA,Dangyang444101,China)LIUYa-junZHAOYu-bin(TheUnit63898ofPLA,Jiyuan454650,China)SUNJian-guo:(45465099#)(:2009.08.13)(:2009.11.13)(97)voidserial_handler(intstatus){serial_port_read();………………}5,,。LinuxMiniGUI,。:,、。[1],,,.XSCALECDMA1X..2007,01Z:63-65[2],,.LinuxIC..2008,18(1)[3],,,.CDMA1x..2008,4[4].MG801A-CDMAAT.2004[5].MiniGUIAPIReferenceManual.2003[6]CandaceLeiden,TerryCollings.LinuxBible..2002:(1979.8-),,,,,。:。Biography:LIUYi(1979-),male,HeshanGuangDong,instruc-tor,GraduatedinCollegeofAutomationScience&Engineering,SouthChinaUniversityofTechnology,Masterdegree,nowisthevicedirectorofcommunicationsection,ZhongkaiUniversityofAgricultureandEngineering.Researchdirection:computercontrol.(510225)(InformationCollege,ZhongkaiUniversityofAgricultureandEngineering,Guangzhou510225,China)LIUYiLIUYun:(510225)(:2009.08.10)(:2009.11.10):121B812:100081:010-62132436010-82168297(T/F):10:360147--