您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 咨询培训 > 基于MSP430单片机的数据采集系统
MSP430,(123000):TI16MSP430MSP430F169MSP430TI,12ADDMA,:MSP430;DMA;;:TP29:B:10042373X(2007)232117203DataCollectingSystemBasedonMSP430SingleChipSUWeijia,WANGXuhui(MechanicalEngineeringInstitute,LiaoningTechnicalUniversity,Fuxin,123000,China)Abstract:Akindofdatareal2timecollectingsystemwhichisdesignedbyMSP430F169singlechipisintroducedinthispaper.TheMSP430F169isamemberoftheTICompanynewgeneration16bitmicrocomputerMSP430family.TheMSP430seriesistheultralowpowermixedsinglemicrocontrollerandgooduseofbatterypowersupplyoccasion.Thesinglechipcancollectandtransmittheda2tawithitsownADandDMA,anddisplaythedataclearlywithwaveshapebyLCDModule.Thesystemhasthesemeritssuchassim2plehardware,higherprecisionandfriendlyinterface,soitasvalueofspreadandapplication.Keywords:MSP430;DMA;datacollecting;liquidcrystal:20072042241,,:,,,,TIMSP430,:,1WDMA,2,11MSP430F169,MSP430TI16,MSP430F169,,12A/DDMA,,LCD,LCDCOGLCD,313V,,2mm;,;,1s;,,S6B0724,8,[1]3,3.1A/DMSP430F169ADC1212711200723262þü,:12;;ADC12,;;84;,6;4,;ADC12[2]ADC12MCLK=8MHz,200k/s,,ADC12:voidInitADC12(){P6SEL|=0x01;//EnableA/DchannelA0ADC12CTL0=ADC12ON+SHT08+MSC;//TurnonADC12,setsamplingtimeADC12CTL1=SHP+CONSEQ2+ADC12SSEL2;//Usesamplingtimer,setmodeandselectclockADC12IE=0x01;//EnableADC12IFG.0ADC12CTL0|=ENC;//Enableconversions}3.2DMADMA(DirectMemoryAccess)DMACPU,CPU,,DMADMACPU,MCU,MSP430F169DMA[3]:(1)3DMA(2)(3)/2MCLK(4):(5)(6)DMA:(7)4:A/D,ADC12IFGxDMA,A/DRAMrdata[]DMA0:voidInitDMA0(){DMACTL0|=DMA0TSEL6;//ADC12IFGtriggerDMA0CTL|=DMAIE+DMADT0+DMADSTINCR3;//configDMA0SA=ADC12MEM0;//Srcaddress=ADC12moduleDMA0DA=rdata;//Dstaddress=RAMmemoryDMA0SZ=0x400;//SizeinwordsDMA0CTL|=DMAEN;//DMAenabled}3.3LCDCPULCD313V,LCD,,,LCDI/O,,,P4P5LCD,22MSP430LCDLCD,,,LCD,LCD,33S6B07243.4,,,PC,,,CPU,,,,CPU,Bresenham,811:MSP43012864,;X,64(Y),,,,,X:yt=yo+dydxxt:dydx;xtX;ytY,,,444,,555MSP430F169,,,[1]Samsung.S6B0724DataSheet[Z].2000.[2].MSP430[M].:,2002.[3],,.MSP43016[M].:,2004.[4]MSP430x15x,MSP430x16x,MSP430x161xMixedSignalMicrocontrollerDataSheet.TexasInstruments,2003.[5],,.MSP430[J].,2006,29(20):1072109,112.,1954,,,GPS,1982,,(116)4,,,,[1],,.LabVIEW711[M].:,2005.[2].[D].:.2004.[3]PSASpectrumAnalyzersDocumentation.AgilentTechnolo2gies,2006.[4]E82x7DSignalGeneratorDocumentation.AgilentTechnolo2gies,2006.,1975,,,1969,,,911200723262þü
本文标题:基于MSP430单片机的数据采集系统
链接地址:https://www.777doc.com/doc-6933552 .html