您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 质量控制/管理 > 基于S3C2410的家庭智能终端系统的设计与实现
JOURNALOFINNERMONGOLIA281UNIVERSITYOFTECHNOLOGYVol.28No.12009:1001-5167(2009)0120058206S3C2410X(,010051):,.S3C2410,MI200,GPRSöGSM.LINUX,LINUX,QT,,,.,,.:;;Linux:TM925:A0,,.,,,,.,S3C2410,GPRSöGSM,,().1,,.1,.,,;GPRSöGSMINTERNET,.,,.,GPRS.GPRSX:2008207208::(1972),,.:.,,.2,,,,.2.SamsungS3C2410,ARM920T32RISC,266MHz,,LCDRAMNAND3UARTIOTouchScreenI2C2SPI,3264MFLASH64MSDRAM1.FLASH,SDRAM.GPRSöGSM,,.SIM300,GPRS,TCPöIP.,MI200,,:,,.,,LCDLED.:1),,.ö.2),,.3),,,,.4).5),.3:(),,8,951S3C2410.:S3C2410MI2003,MI200SPI,S3C2410SPI,S3C24100SPI,(SPICLK0,SPIMOSI0,SPIMISO0)MI200,GPE0,GPE1Iö0MI200.(:).:GPRSöGSM,SIM300.S3C2410,0,2SIM300,ATSIM300.,,GPRS,.43S3C2410Fig.3S3C2410interfacecircuitdiagram4.1,,,LCDLED.,S3C2410LINUX,.:BOOTLOADER.4.2Linux,,,..,,.Linux3:.,IöO,.(1)moduleinit(s3c2410Ledinit)moduleexit(s3c2410Ledexit).,insmod,s3c2410Ledinit(),:StaticunsignedintLED[]={GPF4,GPF5,GPF6,GPF7};staticints3c2410Ledinit(void){intresult,i;;IöO,GPF4,GPF5,GPF6,GPF7,for(i=0;i4;i++)setgpioctrl(GPIOMODEOUTûGPIOPULLUPDISûLED[i]);;result=registerchrdev(0,DEVICENAME,&s3c2410fops);if(result0){062009printk(cantgetmajornumberøn);retrunresult;}LedMajor=result;;#ifdefCONFIGDEVFSFSDevfsmkcdev(MKDEV(LedMajor,LedMinor),SIFCHRûSIRUSRûSIWUSRûSIRGRP,ledö0);#endifReturn0;}registerchrdevLinux,fsödevices.c.,,0,0,;DEVICENAME;fileoperations,staticstructfileoperationss3c2410fops={.open=s3c2410Ledopen,;(open).release=s3c2410Ledrelease,;(close).write=s3c2410Ledwrite,;(write)};s3c2410fops.(2)s3c2410Ledwrite,:IöO,.ssizets3c2410Ledwrite(structfile3file,constchar3buf,sizetcount,lofft3offp){inticopyfromuser(&ledstatus,buf,sizeof(ledstatus));for(i=0;i4;i++)if(ledstatus&(1i))writegpiobit(LED[i],0)elsewritegpiobit(LED[i],1)},buf,,count.copyfromuser,.s3c2410Ledopen()s3c2410Ledrelease(),.,,.,insmod,LINUXdevöLedö0,,.161S3C24104.3QTLINUX,QT,4:QT.4.4:GPRSöGSM,5:4Fig.4IntelligentTerminalMaininterface5Fig.5IntelligentTerminal5,,1000,6.,,,.6Fig.6Twelvehourstestdata6,S3C2410,SIM300,MI200,LINUX..,,,,,.:[1].ARM9[J].,2007,20(2):1922.[2],,.[J].,2007,33(16):101103.[3].ARM&Linux[J].,2007,23(2):234236.[4],.[J].,2007,33(10):261263.262009THEDESIGNANDESTABLISHMENTOFTHEHOMEINTELLIGENTTERMINALSYSTEMBASEDONS3C2410LIUZhi2qiang(SchoolofInformationEngineering,InnerMongoliaUniversityofTechnology,Hohhot010051,China)Abstract:Theintelligentterminalisanimportantpartoftheintelligenthousingsystem.Itsworkingconditionsaredecisiveinsecuringboththestabilityandreliabilityofthewholesystem.The322bitstructuremicroprocessorS3C2410ischosentobeusedasthemaincontrolchip.Power2linecarriedwavechipMI200isadoptedfordownlinkcommunicationswhileGPRSöGSMisadoptedforuplinkcommunications.ThroughtransplantingtheLinux2embeddedoperationsystemandwiththedriveprogram,communicationprogramandgraphinterfaceofQtdesignedanddevelopedfortheLinuxsystem,theintelligentterminalbecomesastablecoreoftheintelligenthousingsystemcapableofmulti2threadingworkandmulti2selectablecarrierfrequencytransition,whichmakestheoperationofthesystembothstableandconvenient.Testswithinasmallscopehavebeenmadewiththesystem.Itisfoundthatthepower2linedatatransmissionprovestobeveryreliable,withreceptionrateachievingover99.8%.Theapplicabilityofthesystemisexpectedtobeveryhigh.Keywords:powerlinecarrier;intelligentterminal;embeddedLinux361S3C2410
本文标题:基于S3C2410的家庭智能终端系统的设计与实现
链接地址:https://www.777doc.com/doc-443165 .html