单片机外文文献.docx

上传人:p** 文档编号:748944 上传时间:2024-02-26 格式:DOCX 页数:5 大小:50.72KB
下载 相关 举报
单片机外文文献.docx_第1页
第1页 / 共5页
单片机外文文献.docx_第2页
第2页 / 共5页
单片机外文文献.docx_第3页
第3页 / 共5页
单片机外文文献.docx_第4页
第4页 / 共5页
单片机外文文献.docx_第5页
第5页 / 共5页
亲,该文档总共5页,全部预览完了,如果喜欢就下载吧!
资源描述

《单片机外文文献.docx》由会员分享,可在线阅读,更多相关《单片机外文文献.docx(5页珍藏版)》请在第壹文秘上搜索。

1、A:FundamentalsofSingle-chipMicrocomputerThesingle-chipmicrocomputeristheculminationofboththedevelopmentofthedigitalcomputerandtheintegratedcircuitarguablythetowmostsignificantinventionsofthe20thcenturyThesetowtypesofarchitecturearefoundinsingle-chipmicrocomputer.Someemploythesplitprogram/datamemoryo

2、ftheHarvardarchitecture,showninFig.3-5A-1,othersfollowthephilosophy,widelyadaptedforgeneral-purposecomputersandmicroprocessors,ofmakingnologicaldistinctionbetweenProgramanddatamemoryasinthePrincetonarchitecture,showninFig.3-5A-2.Ingeneraltermsasingle-chipmicrocomputerischaracterizedbytheincorporatio

3、nofalltheunitsofacomputerintoasingledevice,asshowninFig3-5A-3.Fig,3-5A-1AHarvardtypeFig3-5A-3.PrincipalfeaturesofamicrocomputerReadonlymemory(ROM)ROMisusuallyforthepermanent,non-volatilestorageofanapplicationsprogram.Manymicrocomputersandmicrocontrollersareintendedforhigh-volumeapplicationsandhencet

4、heeconomicalmanufactureofthedevicesrequiresthatthecontentsoftheprogrammemorybecommittedpermanentlyduringthemanufactureofchips.Clearly,thisimpliesarigorousapproachtoROMcodedevelopmentsincechangescannotbemadeaftermanufacture.Thisdevelopmentprocessmayinvolveemulationusingasophisticateddevelopmentsystem

5、withahardwareemulationcapabilityaswellastheuseofpowerfulsoftwaretools.SomemanufacturersprovideadditionalROMoptionsbyincludingintheirrangedeviceswith(orintendedforusewith)userprogrammablememory.Thesimplestoftheseisusuallydevicewhichcanoperateinamicroprocessormodebyusingsomeoftheinput/outputlinesasana

6、ddressanddatabusforaccessingexternalmemory.ThistypeofdevicecanbehavefunctionallyasthesinglechipmicrocomputerfromWhichitisderivedaIbeitWithrestrictedI/Oandamodifiedexternalcircuit.TheuseoftheseROMlessdevicesiscommoneveninproductioncircuitswherethevolumedoesnotjustifythedevelopmentcostsofcustomon-chip

7、ROM2;therecanstillbeasignificantsavinginI/Oandotherchipscomparedtoaconventionalmicroprocessorbasedcircuit.MoreexactreplacementforROMdevicescanbeobtainedintheformofvariantswith,piggy-back,EPROM(ErasableprogrammableROM)socketsordevicesW汕EPROMinsteadofROM.Thesedevicesarenaturallymoreexpensivethanequiva

8、lentROMdevice,butdoprovidecompIetecircuitequivalents.EPROMbaseddevicesarealsoextremelyattractiveforlow-volumeapplicationswheretheyprovidetheadvantagesofasingle-chipdevice,intermsofon-chipI/O,etc.,withtheconvenienceofflexibleuserprogrammability.Randomaccessmemory(RAM).RAMisforthestorageofworkingvaria

9、blesanddatausedduringprogramexecution.Thesizeofthismemoryvarieswithdevicetypebutithasthesamecharacteristicwidth(4,8,16bitsetc.)astheprocessor,Specialfunctionregisters,suchasstackpointerortimerregisterareoftenlogicallyincorporatedintotheRAMarea.ItisalsocommoninHardtypemicrocomputerstotreattheRAMareaa

10、sacollectionofregister;itisunnecessarytomakedistinctionbetweenRAMandprocessorregisterasisdoneinthecaseofamicroprocessorsystemsinceRAMandregistersarenotusuallyphysicallyseparatedinamicrocomputer.Centralprocessingunit(CPU).TheCPUismuchlikethatofanymicroprocessor.Manyapplicationsofmicrocomputersandmicr

11、ocontrollersinvolvethehandlingofbinary-codeddecimal(BCD)data(fornumericaldisplays,forexample),henceitiscommontofindthattheCPUiswelladaptedtohandlingthistypeofdata.Itisalsocommontofindgoodfacilitiesfortesting,settingandresettingindividualbitsofmemoryorI/Osincemanycontrollerapplicationsinvolvetheturni

12、ngonandoffofsingleoutputlinesorthereadingthesingleline.Theselinesarereadilyinterfacedtotwo-statedevicesSuchasswitches,thermostats,solid-staterelays,valves,motor,etc.Parallelinput/output.Parallelinputandoutputschemesvarysomewhatindifferentmicrocomputer;inmostamechanismisprovidedtoatleastallowsomeflex

13、ibilityofchoosingwhichpinsareoutputsandwhichareinputs.Thismayapplytoallorsomeoftheports.SomeI/Olinesaresuitablefordirectinterfacingto,forexample,fluorescentdisplays,orcanprovidesufficientcurrenttomakeinterfacingothercomponentsstraightforward.SomedevicesallowanI/Oporttobeconfiguredasasystembustoallow

14、off-chipmemoryandI/Oexpansion.Thisfacilityispotentiallyusefulasaproductrangedevelops,Sincesuccessiveenhancementsmaybecometoobigforon-chipmemoryanditisundesirablenottobuildontheexistingsoftwarebase.Serialinput/output.Serialcommunicationwithterminaldevicesiscommonmeansofprovidingalinkusingasmallnumber

15、oflines.Thissortofcommunicationcanalsobeexploitedforinterfacingspecialfunctionchipsorlinkingseveralmicrocomputerstogether.Boththecommonasynchronoussynchronouscommunicationschemesrequireprotocolsthatprovideframing(startandstop)information.ThiscanbeimplementedasahardwarefacilityorU(三)ART(Universal(Syn

16、chronous)asynchronousreceiver/transmitter)relievingtheprocessor(andtheapplicationsprogrammer)ofthislow-level,time-consuming,detail,tismerelynecessarytoselectedabaud-rateandpossiblyotheroptions(numbcrofstopbits,parity,etc.)andload(orreadfrom)theserialtransmitter(orreceiver)buffer.Serializationofthedataintheappropriateformatisthenhandledbythehardwarecircuit.TimingZcounterfacilities.Manyapplicationofsingle-chipmicrocomputersrequireaccurateevaluationofelapse

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 高等教育 > 大学课件

copyright@ 2008-2023 1wenmi网站版权所有

经营许可证编号:宁ICP备2022001189号-1

本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。第壹文秘仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知第壹文秘网,我们立即给予删除!