关闭

关闭

封号提示

内容

首页 stc89c52单片机介绍(Introduction of STC89C52 SCM).doc

stc89c52单片机介绍(Introduction of STC89C52 SCM).doc

stc89c52单片机介绍(Introduction of S…

上传者: 叶豫行 2017-10-21 评分 4.5 0 55 7 248 暂无简介 简介 举报

简介:本文档为《stc89c52单片机介绍(Introduction of STC89C52 SCM)doc》,可适用于社会民生领域,主题内容包含stcc单片机介绍(IntroductionofSTCCSCM)stcc单片机介绍(IntroductionofSTCCSCM)==========符等。

stcc单片机介绍(IntroductionofSTCCSCM)stcc单片机介绍(IntroductionofSTCCSCM)========================================pagefirst========================================STCCSCMintroduction:AsinglechipcomputerisacompletecomputersystemthatisintegratedintoasinglechipDespitemostofhisfeaturesIntegratedonasmallchip,butithasmostofthecomponentsneededforafullcomputer:CPU,Memory,internalandexternalbussystem,mostwillhavethecoreAtthesametime,suchascommunicationinterfaces,Timer,realtimeclockandotherperipheralequipmentAndnowthemostpowerfulsinglechipmicrocomputersystemcanevensound,mapImages,networks,andcomplexinputandoutputsystemsareintegratedintoasinglechipMicrocontrollersarealsoknownasmicrocontrollersMicrocontroler)becauseitwasfirstusedinindustrialcontrolRealmSCMbychiponlyCPUSpecialprocessorshaveevolvedTheearliestdesignconceptwasthroughPassalotofperipheralsandCPUIntegratedintoasinglechiptomakethecomputersystemsmallerandeasiertointegrateIntocomplexanddemandingcontrolequipmentINTELTheZItwastheearliestthoughtTheprocessorthatyouwanttodesign,andthen,thedevelopmentofthemicrocontrollerandthespecialprocessorwillgotheirseparatewaysEarlySCMisEightOrFourBitOneofthemostsuccessfulisINTELTheEightthousandandthirtyoneBecauseJaneIt'sreliableandhasgoodperformanceIthasreceivedagreatdealofpraiseThereafterEightthousandandthirtyoneDevelopedontheMCSSeriallistSheetmachinesystemThesinglechipmicrocomputersystembasedonthissystemisstillwidelyuseduntilnowWiththeindustrialcontrolcollarTheincreaseindomainrequirementsbegantoappearSixteenBitmicrocontroller,butbecausethecostperformanceisnotideal,hasnotbeenwidelyApplicationsNinetyAfterthes,withthedevelopmentofconsumerelectronicproducts,SCMtechnologyhasbeengreatlyimprovedalongwithINTELiAseries,especiallylaterARMAwiderangeofapplications,ThirtytwoBitmicrocontrollergenerationSixteenBitmicrocontrollerhighendstatus,andintothemainstreammarketTraditionalEightBitMCUperformanceisalsoHasbeenimprovedrapidly,comparedwiththeprocessingcapacityEightyIthasincreasedseveralhundredtimesinthesAtpresent,highendThirtytwoBitmonolithicThemainfrequencyofthemachinehasexceededMHzTheperformancecatchingNinetyAdedicatedprocessorinthemids,andaplainmodelThefactorypricefallstoOneDollars,themosthighendmodelsareonlyTenDollarContemporarySCMsystemhasnotThenonlythebaremetalenvironmentinthedevelopmentanduseofspecialembeddedoperatingsystemiswidelyusedinthefullrangeScmInthepalmcomputerandmobilephonecoreprocessinghighendmicrocontrollercanevenbeuseddirectlyAppropriativeWindowsandLinuxOperatingsystemSCMismoresuitableforembeddedsystemsthandedicatedprocessors,soithasthemostapplicationsInfact,SCMisthelargestnumberofcomputersintheworldAlmosteverypieceofelectronicsusedinmodernhumanlifeAndmechanicalproductswillbeintegratedwithsinglechipmicrocomputerMobilephones,telephones,calculators,homeappliances,electronictoys,HandheldcomputersandcomputeraccessoriessuchasthemouseareavailableMcuAndthereareafewinthepersonalcomputerManySCMworkThecarisusuallyequippedFortyMultiplesinglechipmicrocomputer,complexindustrialcontrolsystem========================================pagesecond========================================Theremayevenbehundredsofmicrocontrollersworkingatthesametime!ThenumberofSCMisnotonlyfarexceededPCMachinesandothermetersThecalculationsareevenmorenumerousthanthenumberofhumanbeingsSinglechipmicrocomputerisalsocalledasinglechipmicrocontroller,Itisnotachipthatperformssomelogicalfunction,It'saplanThecomputersystemisintegratedintoasinglechipTosumup:achipbecomesacomputerItsvolumeSmall,lightquality,cheapprice,forlearning,applicationanddevelopmentprovidesconvenientconditionsAtthesametime,learntouseSCMisthebestchoicetounderstandtheprinciplesandstructureofthecomputerSCMinternalandcomputerfunctionssimilarmodules,suchasCPUMemory,parallelbus,etcAmemorydevicethathasthesamefunctionasaharddisk,anddiffersfromeachotherintermsofitsperformancerelativetoourhomeappliancesThebrainisweak,butthepriceislow,usuallynotmorethanTenYuancanUseittomakesomecontrolappliancesAclassofworkthatisnotverycomplicatedisenoughWenowusetheautomaticdrumwashingmachine,smokehood,VCDAndsooninsidetheappliance,youcanseeitsshadow!ItismainlyusedasthecorepartofthecontrolpartItisanonlinerealtimecontrolcomputer,onlineisfieldcontrol,needisstrongerAntiinterferenceability,lowcost,andthisisalsowithofflinecomputers(suchashome)PCMainareaDon'tSCMisdependentonprocedures,andcanbemodifiedRealizedifferentfunctionsthroughdifferentprograms,especiallyIt'saspecial,uniquefeature,somethingelsethatneedsalotofefforttodo,andsomeofthemIt'shardtodoitwithgreateffortAnotverycomplexfunction,ifusedintheUnitedStatesFiftyDevelopedinthesSeventyfourSeries,orSixtyAgeCDTheseriesofpurehardwaretofix,thecircuitmustbeabigPCBBoard!ButifyouusetheUnitedStatesSeventyThesuccessoftheseriesofsinglechipmicrocomputerinthemarket,theresultswillbeAworldofdifference~Justbecauseofthesinglechipmicrocomputer,youcanachievehighintelligence,highefficiencyandhighefficiencythroughtheprogramyouwriteReliability!BecauseSCMissensitivetocost,sothecurrentdominantsoftwareisthelowestlevelassemblylanguageLanguage,itisinadditiontothebinarymachinecodeabovethelowestlevellanguage,sinceitissolowlevel,whyuseManyadvancedlanguageshavereachedthelevelofvisualprogramming,whynotThereasonissimple,SCMisnotthesameasthehomecomputerCPUAndthereisnomassstoragedevicelikeharddisksAvisualhighlevellanguageapplet,whichevenifonlyabutton,itwillreachdozensKTheDimension!ForhomeusePCTheharddiskisnothing,butforthemicrocontrollerisnotacceptablesingleUsingthemachineintermsofhardwareresourcestobeveryhighfortherate,thereforeassemblyalthoughprimitiveactuallymakealotUseThesamereason,ifthegiantcomputeroperatingsystemsandapplicationstothehomePCcomeupRun,homePCYoucan'tstanditItcanbesaidthatintwentiethCentury,the"threeelectric"times,namelytheelectricalage,theelectronicage,andnowAccesstothecomputerageHowever,thiskindofcomputerusuallyreferstopersonalcomputersPCMachineItcomesfromtheLordMachine,keyboard,displayandsoonThere'sanothertypeofcomputerthatmostpeopledon'tknowverywellThiscalculationAmachineisasinglechipmicrocomputer(alsocalledamicrocontroller)thatgivesintelligencetoawiderangeofmachinesAsthenamesuggests,thiskindofcomputer========================================pagethird========================================TheminimalsystemcanbeeasilyoperatedandcontrolledwithonlyoneintegratedcircuitBecauseit'ssmallenoughtopassthroughOftenhiddeninthestomachofachargedmachineItplaystheroleofthehumanmindinthewholedevice,SomethingwentwrongandthewholedevicewasparalyzedNow,theuseofthismicrocontrollerhasbeenveryextensive,suchasIntelligentinstrument,realtimeindustrialcontrol,communicationequipment,navigationsystem,homeappliance,etcAvarietyofproductsonceusedSCMcanplaytheroleofupgradingtheproduct,oftenprecededbytheproductnameasanadjective"wisdom"Canbetype,suchasintelligentwashingmachines,etcNowsomefactorytechniciansorotheramateurelectronicdevelopersdoitSomeproductsoutofthecircuitisnottoocomplicated,thatis,thefunctionistoosimpleandveryeasytobecopiedInvestigateitsreason,Maybestuckontheproduct,notusingamicrocontrollerorotherprogrammablelogicdeviceSTCCIt'sakindofbandKByteblinkingprogrammableerasablereadonlymemory(FPEROMFlash,Programable,and,Erasable,Read,Only,Memory)Lowvoltage,highperformanceCOMOSMicroprocessor,commonlyknownassinglechipmicrocomputerThedeviceisadoptedATMELEngageinsecretManufacturing,manufacturing,andindustrialstandardsofnonvolatilememoryMCSInstructionsetandoutputpinphaseVolumeSCMtotalcontrolcircuitasfollowsFourOne:========================================pagefourth========================================chartTutuchartFourOneSCMtotalcontrolcircuitSCMtotalcontrolcircuitSCMtotalcontrolcircuitSCMtotalcontrolcircuitOneClockcircuitSTCCInternally,ahighgaininvertingamplifierisusedtoformtheoscillatorpinRXDandTXDInputandoutputoftheamplifierrespectivelyClockscanbeproducedinternallyorexternallyTypeproductionTheinternalmodeoftheclockcircuitisshowninFigFour(a)AsshowninRXDandTXDTheexternalpinTimingelement,theinternaloscillatorgeneratesselfexcitedoscillationThetimingelementisusuallymadeofquartzcrystalsandcapacitorsParallelresonantcircuitCrystaloscillationfrequencycanbefoundinOnepointtwo~MHzBetween,thecapacitorvalueinFive~pFBetweenthecapacitors,thesizeofthecapacitorcanplayaroleintrimmingthefrequencyTheexternalmodeoftheclockcircuitisshowninFigFourTwo(BAsshown,RXDEarthing,TXDExternaloscillatorTheexternaloscillationsignalhasnospecialrequirementOnlythepulsewidthisguaranteed,andthefrequencyislowerthanthatoftheexternaloscillationsignalMHzSquarewavesignalTheonchipclockgeneratordividestheoscillationfrequencytwotoproduceatwophaseclockPandP,ForSCMuseShow,RXDEarthing,TXDExternaloscillatorExternaloscillationsignalhasnospecialrequirement,onlyrequestGuaranteedpulsewidthisgenerallybelowthefrequencyMHzSquarewavesignalTheonchipclockgeneratoroscillatesFrequencytwodividergeneratesatwophaseclockPandPForSCMuseRXDEarthing,TXDExternaloscillatorThereisnospecialrequirementforexternaloscillationsignal,onlyguaranteePulsewidthisgenerallylowerthanfrequencyMHzSquarewavesignalTheinternalclockgeneratoroscillatestheoscillatorfrequencyTwofrequencydividergeneratesatwophaseclockPandPForSCMuse((((A)))InternalmodeclockcircuitInternalmodeclockcircuitInternalmodeclockcircuitInternalmodeclockcircuit((((B)))ExternalmodeclockcircuitExternalmodeclockcircuitExternalmodeclockcircuitExternalmodeclockcircuitchartTutuchartFourTwoClockcircuitClockcircuitClockcircuitClockcircuitTwoResetandresetcircuit(OneResetoperation========================================pagefifth========================================ResetistheinitializationoperationofsinglechipmicrocomputerItsmainfunctionistobringPCInitializetoHMakesingleChipmachineHTheunitstartsexecutingtheprogramInadditiontothenormalinitializationofthesystem,duetoInordertogetoutofthedifficulty,thesystemneedstopresstheresetbuttonagainwhenthesystemisinadeadlockstateStartupexceptPCOutsideTheresetoperationalsoaffectssomeotherregisters,andtheirresetstatusisshowninTableAsshownsurfaceTableTableonebyoneOneTheresetstatusofsomeregistersTheresetstatusofsomeregistersTheresetstatusofsomeregistersTheresetstatusofsomeregistersregisterResetstateregisterResetstatePCHTCONHACCHTLHPSWHTHHSPHTLHDPTRHTHHPPFFHSCONHIPXXBSBUFIndefiniteIEXBPCONXXXBTMODH(TwoResetsignalanditsgenerationRSTThepinistheinputterminaloftheresetsignalTheresetsignalisactivehigh,andtheactivetimeshouldbemaintainedContinuedTwentyfourOscillatingperiod(Thatis,twomachinecycles)Above。IftheuserateisMHzThecrystaloscillatorisresetSignaldurationshallexceedusTocompletetheresetoperationThelogicofthecircuitthatproducestheresetsignalisshowninFigFourThreeAsshown:========================================pagesixth========================================chartTutuchartFourThreeCircuitlogicdiagramofresetsignalCircuitlogicdiagramofresetsignalCircuitlogicdiagramofresetsignalCircuitlogicdiagramofresetsignalThewholeresetcircuitincludestwopartsinsideandoutsidethechipAresetsignalproducedbyanexternalcircuit(RST)SendtoTheSchmidtflipflopisthenreplacedbyanonchipresetcircuitineachmachinecycleSPTimeforSchmidtflipflopsTheoutputissampledbeforeobtainingthesignalneededforinternalresetoperationResetoperationonpower,automaticresetbutton,manualresettwowaysThepoweronautoresetisrealizedbychargingthecapacitoroftheexternalresetcircuitFourFour(AAsshownThen,aslongasthepowerVccTherisetimedoesnotexceedmsItcanbeimplementedautomaticallyElectricalreset,thatis,throughthepowersupply,itbecomesasystemresetinitializationManualresetbutton,levelmodeandpulsemodeoftwoWherein,thekeylevelresetisaccomplishedbyresettingthekeylevelBitbyresistanceandVccWhenthepowerisconnected,thecircuitisasfollowsFourFour(BAsshownandthekeypulseFlushreductionistheuseofRCApositivepulseproducedbyadifferentialcircuit,ThecircuitisshowninFigFourFour(CAsshown:((((A)))PoweronresetPoweronresetPoweronresetPoweronreset((((B)))ButtonlevelresetButtonlevelresetButtonlevelresetButtonlevelreset((((C)))ButtonresetKeypulseresetKeypulseresetKeypulseresetchartTutuchartFourFourResetcircuitResetcircuitResetcircuitResetcircuitTheresistorandcapacitorparametersintheabovecircuitdiagramapplytoMHzCrystaloscillator,canguaranteetheresetsignalhighelectricity========================================pageseventh========================================MeandurationisgreaterthanTwoMachinecycleTheresetcircuitofthesystemadoptsthediagramFourFour(BPoweronresetmodeSTCCDetailsareasfollows:MainpowerpinTwoRoot)VCC(Pin)Powerinput,VPowerSupplyGND(Pin)GroundwireExternalcrystalpin(externalpin)TwoRoot)XTAL(Pin)TheinputoftheonchiposcillationcircuitXTAL(Pin)TheoutputofanonchiposcillationcircuitControlpinFourRoot)RSTVPP(Pin):theresetpinappearsonthepinTwoThehighlevelofthemachinecyclewillenablethemicrocontrollerResetALEPROG(Pin)AddresslatchenablesignalPSEN(Pin)ReadstrobesignalforexternalmemoryEAVPP(Pin)TheinternalandexternalstrobeoftheprogrammemoryisconnectedtothelowlevelandreadfromtheexternalprogrammemoryInstruction,ifhigh,readsinstructionsfrominternalprogrammemoryProgrammableinputOutputpinThirtytwoRoot)STCCSCMFourgroupEightBitprogrammableIOMouthpositionP,P,P,PEverymouthhasamouthEight(aEightRootpin)atotalofThirtytwoRootPO(exportPin~Pin):EightBitbidirectionalIOMouthline,thenameofP~PP(exportPin~Pin):EightQuasibidirectionalIOMouthline,thenameofP~PP(exportPin~Pin):EightQuasibidirectionalIOMouthline,thenameofP~PP(exportPin~Pin):EightQuasibidirectionalIOMouthline,thenameofP~PSTCCThemainfunctionsareshownintabletwoTabletwoSTCCmajorfunctionMainfunctionalcharacteristicscompatibleMCSInstructionsetKRepeatedlyrewritableFlashROM========================================pageeighth========================================ThirtytwoTwowayIOmouthxbitinsideRAMThreeindividualSixteenBitprogrammabletimingCounterinterruptclockfrequencyMHzTwoSerialinterruptProgrammableUARTSerialchannelTwoExternalinterruptsourcecommonSixMiddlefaultsourceTwoReadwriteinterruptlineThreeLevelencryptionbitLowpoweridleandpowerdownmodesThesoftwaresetssleepandwakeupfunctions

类似资料

该用户的其他资料

《平水韵》平声常用字表.doc

不正当竞争行为法律防范分析——以农村消费市场为研究对象.doc

2016新编双平壁钢塑复合缠绕管与其它管材比较.doc

产品质量与食品安全专题会发言.doc

三金冠店两年的淘宝客服从业经验.doc

职业精品

精彩专题

上传我的资料

精选资料

热门资料排行换一换

  • 超有效的中药减肥配方.doc

  • 世界珠宝品牌.doc

  • 高温箱式加热炉的设计(含…

  • 客户投诉处理管理程序(品…

  • 高中数学必修一、必修四、必修五知…

  • 【doc】略论晚清地方势力的崛起…

  • 学校安全稳定工作信息报送制度.d…

  • 成都市规划管理技术规定.doc

  • 体育游戏教案.doc

  • 资料评价:

    / 32
    所需积分:0 立即下载

    意见
    反馈

    返回
    顶部