![外文翻译-STC89C52 数据手册_第1页](http://file4.renrendoc.com/view/6e68b84c9b276ebfedefdff3ee6f3068/6e68b84c9b276ebfedefdff3ee6f30681.gif)
![外文翻译-STC89C52 数据手册_第2页](http://file4.renrendoc.com/view/6e68b84c9b276ebfedefdff3ee6f3068/6e68b84c9b276ebfedefdff3ee6f30682.gif)
![外文翻译-STC89C52 数据手册_第3页](http://file4.renrendoc.com/view/6e68b84c9b276ebfedefdff3ee6f3068/6e68b84c9b276ebfedefdff3ee6f30683.gif)
![外文翻译-STC89C52 数据手册_第4页](http://file4.renrendoc.com/view/6e68b84c9b276ebfedefdff3ee6f3068/6e68b84c9b276ebfedefdff3ee6f30684.gif)
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
附录B:外文文献及译文STC89C52DateSheetDescriptionTheSTC89C52isalow-power,high-performanceCMOS8-bitmicrocontrollerwith8Kbytesofin-systemprogrammableFlashmemory.Thedeviceis manufacturedusingAtmel’shigh-densitynonvolatilememorytechnologyandiscompatiblewiththeindustry-standard80C51instructionsetandpinout.Theon-chipFlashallowsprogrammemorytobereprogrammedin-systemorbyaconventionalnonvolatilememory programmer. By combining a versatile 8-bit CPU with programmableFlashonamonolithicchip,theAtmelSTC89C52isapowerfulmicrocontrollerwhichprovidesahighly-flexibleandcost-effectivesolutiontomanyembeddedcontrolapplications.TheSTC89C52providesthefollowingstandardfeatures:8KbytesofFlash,256bytesofRAM,32I/Olines,Watchdogtimer,twodatapointers,three16-bittimer/counters,asix-vectortwo-levelinterruptarchitecture,afullduplexserialon-chiposcillator,andclockcircuitry.Inaddition,theSTC89C52isdesignedwithstaticlogicforoperationdowntozerofrequencyandsupportstwosoftwareselectablepowersavingmodes.TheIdleModestopstheCPUwhileallowingtheRAM,timer/counters,serialport,andinterruptsystemtocontinuefunctioning.ThePower-downmodesavestheRAMcontentsbutfreezestheoscillator,disablingallotherchipfunctionsuntilthenextinterruptorhardwarereset.VCCSupplyvoltage.GNDGround.Port0Port0isan8-bitopendrainbidirectionalI/Oport.Asanoutputport ,eachpincansinkeightTTLinputs.When1sarewrittentoport0pins ,thepinscanbeusedashighimpedanceinputs.Port0canalsobeconfiguredtobethemultiplexedloworderaddress/databusduringaccessestoexternalprogramanddatamemory.InthismodeP0hasinternalpullups.Port0alsoreceivesthecodebytesduringFlashprogrammingandoutputsthecodebytesduringprogramverification.Externalpullupsarerequiredduringprogramverification.Port1Port1isan8-bitbidirectionalI/Oportwithinternalpullups.ThePort1outputbufferscansink/sourcefourTTLinputs.When1sarewrittentoPort1pins,theyarehighbytheinternalpullupsandcanbeusedasinputs.Asinputs,Port1pinsthatexternallybeingpulledlowwillsourcecurrent(IIL)becauseoftheinternalpullups.Inaddition,P1.0andP1.1canbeconfiguredtobethetimer/counter2externalinput(P1.0/T2)andthetimer/counter2triggerinput(P1.1/T2EX),Port1alsoreceivesthelow-orderaddressbytesduringFlashprogrammingandverificationPort2Port2isan8-bitbidirectionalI/Oportwithinternalpullups.ThePort2outputbufferscansink/sourcefourTTLinputs.When1sarewrittentoPort2pins,theyarepulledhighbytheinternalpullupsandcanbeusedasinputs.Port2emitsthehigh-orderaddressbyteduringfetchesfromexternalprogrammemoryandduringaccessestoexternaldatamemorythatuse16-bitaddresses(MOVX@DPTR).Inthisapplication,Port2usesstronginternalpull-upswhenemitting1s.Duringaccessestoexternaldatamemorythatuse8-bitaddresses(MOVX@RI),Port2emitsthecontentsoftheP2SpecialFunctionRegister.Port2alsoreceivesthehigh-orderaddressbitsandsomecontrolsignalsduringFlashprogrammingandverification.Port3Port3isan8-bitbidirectionalI/Oportwithinternalpullups.ThePort3outputbufferscansink/sourcefourTTLinputs.When1sarewrittentoPort3pins,theyarehighbytheinternalpullupsandcanbeusedasinputs.Asinputs,Port3pinsthatexternallybeingpulledlowwillsource current(IIL)becauseofthepullups. Port3alsoservesthefunctionsofvariousspecialfeaturesoftheSTC89C52,asshowninthefollowingtable.Port3alsoreceivessomecontrolsignalsforFlashprogrammingandverification.RSTResetinput.Ahighonthispinfortwomachinecycleswhiletheoscillatorisrunningresetsthedevice.ThispindrivesHighfor96oscillatorperiodsaftertheWatchdogtimesout.TheDISRTObitinSFRAUXR(address8EH)canbeusedtodisablethisfeature.InthedefaultstateofbitDISRTO,theRESETHIGHoutfeatureisALE/PROGAddressLatchEnable(ALE)isanoutputpulseforlatchingthelowbyteoftheaddressduringaccessestoexternalmemory.Thispinisalsotheprogrampulseinput(PROG)duringFlashprogramming.Innormaloperation,ALEisemittedatconstantrateof1/6theoscillatorfrequencyandmaybeusedforexternaltimingorclockingpurposes.Ifdesired,ALEoperationcanbedisabledbysettingbit0ofSFRlocation8EH.Withthebitset,ALEisactiveonlyduringaMOVXorMOVCinstruction.Otherwise,thepinisweaklypulledhigh.SettingtheALE-disablebitnoeffectifthemicrocontrollerisinexternalexecutionmode.PSENProgramStoreEnable(PSEN)isthereadstrobetoexternalprogrammemory.WhentheSTC89C52isexecutingcodefromexternalprogrammemory,PSENisactivatedtwiceeachmachinecycle,exceptthattwoPSENactivationsareskippedduringaccesstoexternaldatamemory.EA/VPPExternalAccessEnable.EAmustbestrappedtoGNDinordertoenablethedevicetofetchcodefromexternalprogrammemorylocationsstartingat0000HuptoFFFFH.Note,however,thatiflockbit1isprogrammed,EAwillbeinternallylatchedreset.EAshouldbestrappedtoVCCforinternalprogramexecutions.Thispinalsoreceivesthe12-voltprogrammingenablevoltage(VPP)duringFlashprogramming.XTAL1Inputtotheinvertingoscillatoramplifierandinputtotheinternalclockoperatingcircuit.XTAL2Outputfromtheinvertingoscillatoramplifier.译文:STC89C52数据手册功能特性描述STC89C52是一种低功耗、高性能CMOS88K在系统可Flash80C51产品指令和引脚完全兼容。片上Flash8CPUSTC89C52为众多嵌入式控制应用系统提供高灵活、超有效的解决方案。STC89C528kI/O口16位定时器/622种软件可选择节电模式。空闲模式下,CPU停止工作,RAM、定时器/计数器、串口、中断继续工作。掉电保护方式下,RAM内止。VCC:电源GND:地P0口是一个8位漏极开路的双向8个TTL逻辑电平。对P0端口写“1”时,引脚用作高阻抗输入。当访问外部程序和数据存8位地址/具有内部上拉电阻。在flash编程时,P0程序校验时,需要外部上拉电阻。P1口是一个具有内部上拉电阻的8位双向I/O输出缓冲器能驱动4个TTLP1端口写“1”(IIP1.0和P1.2分别作定时器计数器2(P1.0/T2)和时器/计数器2的触发输入(P1.1/T2EX),flash口接收低8位地址字节。P2口是一个具有内部上拉电阻的8位双向I/O输出缓冲器能驱动4个TTLP2端口写“1”16位地址读取外部数据存储器(例如执行MOVX@DPTR)口使用很强
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 云南省曲靖市高中化学 第一章 化学反应与能量 1.3 原电池原理教案 新人教版选修4
- 6 狼牙山五壮士 第一课时(教学设计)2023-2024学年部编版语文六年级上册
- 预检分诊工作制度
- 某企业安全奖金考核办法
- 日本医药行业比较研究系列三:日本国民医疗费及药价政策趋势分析
- 混凝土路面施工工艺
- 2023年华西公共卫生学院兼职辅导员招聘考试真题
- 左岸灌浆隧洞及施工支洞开挖支护、衬砌施工措施
- 2023年成都市新都区部分单位招聘考试真题
- 上海市港航事业发展中心招聘笔试真题2023
- 商业发票模板(INVOICE)
- 人音版五年级音乐上册《晨景》教学设计
- 分公司负责人任命书范文最新6篇分公司负责人任命书
- 相位差测量电路设计(共25页)
- 水力学习题及答案液体一元恒定总流的基本原理
- 短波与超短波
- 标准线路施工教学课件:S280W555-()接线块201803
- 六三制青岛版《三年级科学上册》教学计划及全册教案(共23课时)
- 矿产一般工业品位要求
- 八年级上册生物知识点汇总(冀少版)
- CJJ_T182-2014城镇供水与污水处理化验室技术规范
评论
0/150
提交评论