单片机-英文参考文献_第1页
单片机-英文参考文献_第2页
单片机-英文参考文献_第3页
单片机-英文参考文献_第4页
单片机-英文参考文献_第5页
已阅读5页,还剩2页未读 继续免费阅读

付费下载

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、Structure and function of the MCS-51 seriesStructure and function of the MCS-51 series one-chip computer MCS-51 is a name of a piece of one-chip computer series which Intel Company produces. This company introduced 8 top-gradeone-chip computersof MCS-51 seriesin 1980 after introducing 8 one-chip com

2、puters of MCS-48 series in 1976. It belong to a lot of kinds this line of one-chip computer the chips have,such as 8051, 8031, 8751, 80C51BH, 80C31BH,etc., their basic composition, basic performance and instruction systemareall thesame.8051 daily representatives51 serial one-chip computers.An one-ch

3、ip computer system is made up of several following parts: ( 1) One microprocessorof 8 (CPU). ( 2) At slice data memory RAM (128B/256B),it use not depositting not can reading /data that write, such as result not middle of operation, final result and data wanted to show, etc. ( 3) Procedure memory ROM

4、/EPROM (4KB/8KB ), is usedto preservethe procedure, some initial data and form in slice. But does not take ROM/EPROM within some one-chip computers, such as 8031 , 8032, 80C ,etc. (4) Four 8 run side by side I/O interface P0four P3, eachmouth can useas introduction , may useas exporting too. ( 5) Tw

5、o timer / counter, eachtimer / counter may set up and count in the way, used to count to the external incident, can setup into a timing way too, and can accordingto count or result of timing realize the control of thecomputer.( 6) Five cut off cutting off the control systemof the source. (7) One all

6、 duplexing serial I/O mouth of UART (universal asynchronous receiver/transmitter (UART) ), is it realize one-chip computer or one-chip computer and serial communication of computer to use for. ( 8) Stretch osc川ator and clock produce circuit, quartz crystal finely tune electric capacity need outer. A

7、llow oscillation frequency as12 megahertasnow at most. Every the above-mentioned part was joined through the inside data bus .Among them, CPU is a core of the one-chip computer, it is the control of the computer and command centre, made up of such partsasarithmetic unit and controller, etc.The arith

8、metic unit can carry on 8 persons of arithmetic operation and unit ALU of logic operation while including one, the 1 storing device temporarilies of 8, storing device 2 temporarily, 8's accumulation device ACC, register B and procedurestateregisterPSW, etc. Personwho accumulate ACC count by 2 in

9、put ends entered of checking etc. temporarily as one operation often, come from personwho store 1 operation is it is it make operation to go on to count temporarily , operation result and loopback ACC with anotherone. In addition, ACC is often regardedas the transferstation of datatransmissionon 805

10、1 inside .The same as general microprocessor, it is the busiest register. Help remembering that agreeingwith A expressesn the order.The controller includesthe procedurecounter, the order is depositted,the order decipher,the osc川ator and timing circuit, etc. The procedure counter is made up of counte

11、r of 8 for two, amounts to 16. It is a byte addresscounterof the procedurein fact, thecontent is the next IA that will carriedout in PC. The content which changesit can change the direction that the procedure carries out . Shake the circuit in 8051 one-chip computers, only need outer quartz crystal

12、and frequency to finely tune the electric capacity, its frequency range is its 12MHz of 1.2MHZ. This pulse signal, as 8051 basic beatsof working, namely the minimum unit of time. 8051 is the same as other computers, the work in harmony under the control of the basic beat, just like an orchestraaccor

13、ding to the beat play that is commanded.There are ROM (procedure memory , can only read ) and RAM in 8051 slices (data memory, can is it can write ) two to read, they have each independentmemory address space, dispose way to be the same with general memory of computer. Procedure8051 memory and 8751

14、slice procedure memory capacity 4KB, address begin from 0000H, usedfor preservingthe procedureand form constant. Data 80518751 8031 of memory datamemory 128B, addressfalse 00FH, use for middle result to deposit operation,the data are stored temporarily and the data are buffered etc. In RAM of this 1

15、28B, thereis unit of 32 bytesesthat can be appointedasthe job register, this and general microprocessor is different, 8051 slice RAM and job register rank one formation the same to arrange the location. It is not very the same that the memory of MCS-51 seriesone-chip computer and general computerdis

16、posesthe way in addition. General computer for first addressspace,ROM and RAM canarrangein different spacewithin the rangeof this addressat will, namely the addressesof ROM and RAM, with distributing different addressspacein a formation. While visiting the memory, corresponding and only an addressMe

17、mory unit, can ROM, it can be RAM too, and by visiting the order similarly. This kind of memory structure is called the structure of Princeton.8051 memories are divided into procedurememory spaceand datamemory spaceon the physics structure, there are four memory spacesin all: The procedure stores in

18、 one and data memory spaceoutside data memory and one in procedure memory spaceand one outside one, the structure forms of this kind of procedure device and data memory separatedform data memory, called Harvard structure. But use the angle from users,8051 memory addressspaceis divided into three kin

19、ds: (1) In the slice, arrangeblocks of FFFFH , 0000H of location , in unison outside the slice (use 16 addresses).(2) The data memory addressspaceoutside one of 64KB, the addressis arrangedfrom 0000H 64KB FFFFH (with 16 addressed too to the location. (3) Data memory addressspaceof 256B (use 8 addres

20、ses).Three above-mentioned memory spaceaddressesoverlap, for distinguishing and designing the order symbol of different data transmission in the instruction system of 8051: CPU visit slice, ROM order spend MOVC , visit block RAM order uses MOVX outsidethe slice, RAM order usesMOV to visit in slice.8

21、051 one-chip computerhavefour 8 walk abreastI/O port, call P0, P1, P2andP3. Each port is 8 accuratetwo-way mouths, accountsfor 32 pins altogether. Every one I/O line can be used as introduction and exportedindependently.Each port includes a latch (namely special function register), one exports the d

22、river and a introduction buffer . Make data can latch when outputting, data can buffer when making introduction , but four function of passwaytheseself-same.Expand amongthe system of memory outside having slice, four portthesemay serveas accuratetwo-way mouth of I/O in common use. Expandamongthe sys

23、tem of memory outside having slice, P2 mouth seehigh 8 addressoff; P0 mouth is a two-way bus, sendthe introduction of 8 low addressesand data/ export in timesharingOutput grade, P3of mouth , P1 of P1, connectwith inside have load resistanceof drawing , every one of they can drive 4 Model LS TTL load

24、 to output. As while inputting the mouth, any TTL or NMOS circuit can drive P1 of 8051 one-chip computersas P3mouth in a normal way . Becausedraw resistanceon output gradeof them have, can opena way collector too or drain-sourceresistanceis it urgeto open a way, do not needto have the resistanceof d

25、rawing outerly . Mouths are all accurate two-way mouths too. When the conduct is input, must write the correspondingport latch with 1 first . As to 80C51 one-chip computer,port can only offer milliampere of output electric currents, is it output mouth go when urging one ordinary basing of transistor

26、to regard as,shouldcontacta resistanceamongthe port and transistorbase, in order to the electricity while restraining the high level from exporting P1P3Being restoredto the throne is the operation of initializing of an one-chip computer.Its main function is to turn PC into 0000H initially , makethe

27、one-chip computerbegin to hold the conduct procedurefrom unit 0000H. Except that the onesthat enterthesystemare initialized normally,as becauseprocedure operate it make mistakes or operate there aren't mistake, in order to extricate oneself from a predicament, need to be pressed and restoredto t

28、he throne the key restartingtoo. It is an input end which is restoredto the throne the signal in 8051 China RST pin. Restoreto the throne signal high level effective , should sustain 24 shake cycle (namely 2 machine cycles) the above its effective times. If 6 of frequency of utilization brilliant to

29、 shake, restoreto the throne signal duration should exceed4 delicateto finish restoringto the throne andoperating. Producethe logic picture of circuit which is restoredto the throne the signal:Restoreto thethrone the circuit andincludetwo partsoutsidein the chip entirely. Outside that circuit produc

30、e to restore to the throne signal (RST ) hand over to Schmitt's trigger, restore to the throne circuit sample to output , Schmitt of trigger constantly in each S5P2, machine of cycle in having one more , then just got and restoredto the throne and operatedthe necessarysignal insidly. Restoreto t

31、he throne resistanceof circuit generally, electric capacity parameter suitable for 6 brilliant to shake,can is it restoreto the throne signal high level duration greaterthan 2 machine cycles to guarantee.Being restoredto the throne in the circuit is simple, its function is very important. Piecesof o

32、ne-chip computersystem could normal running,shouldfirst check it can restore to the throne not succeeding.Checking and can pop one'shead and monitor the pin with the oscillograph tentatively, push and is restored to the throne the key, the wave form that observes and has enough range is exported

33、 (instantaneous),canalso through is it restoreto the throne circuit group holding value carry on the experimentto change.译文51系列单片机的功能和结构结构和功能的监控监-51系列之一-计算机芯片监控监-51名是一幅一个电 脑晶片,英特尔公司生产系列.这家公司推出8级一个计算机芯片监控监-51系 列之后,于1980年8引入一个计算机芯片监控监,于1976年48系列.。它属于 这一类型很多行一个芯片的电脑芯片都如8051、8031、8751、80c51bh,80c31bh等,其

34、基本组成、性能和基本教学制度, 都是一样的.8051每日代表-51系列之一-电脑晶片有一个芯片的计算机系统是由以下几个方面:(1)18微处理器(CPU).(2)在切片数据存储羊(128B/256B),使用可以不读书不数据写如因经营不中,最后结果要和数据显示等. (3)存储器存储程序/可擦写可编程只读存储器(4KB/8KB),用于保存程序和数据, 初步形成片.但并不存储器/可擦写可编程只读存储器在一些人的电脑芯片,如 8031、8032、80c等.(4)经营的84并肩一/四OP0P鼓口,每口可以用作介绍,也 可以用作输出.(5)两个定时/柜台,每个计时器/柜台可设立和计算的方法,用来 计算的外部

35、事件,可以建立成一个时间的方式也可以和根据计算结果或时间实现控制的计算(六)五切断切断源头上控制系统.(七)各一序I/O 口 UART件步接 收世界/发送(UART),它是实现一个计算机芯片和一个计算机芯片和通讯系列电 脑上使用.(8)强、时钟振荡器电路生产、水晶石英细调需要外部电容.为使振 动频率目前最.每上述地区内的数据是通过加入单片机.其中,CPU的核心是一个电脑芯片,它是计算机和指挥控制中心等部分组成, 运算器和控制等.运算器的可携带8人计算a经营单位的经营逻辑,其中,1temporarilies 存储装置8、暂时贮存器2、8的行政协调会累积装置、B、注 册登记程序国有PSVWI.累积

36、计200人,行政协调委员会结束对进入检查.暂时运作往往是来自一店经营者,这是经营下去,使计暂时经营成果和行政协调会. 此外,行政协调会经常被视为转运站,在8051年的数据传输.一般微处理器一样,是 繁忙登记.帮助大家,表示了赞同的命令.控制程序包括柜台命令详解,振荡器 电路和时间等.程序相当于16.这是一个字节地址位的程序,其实,内容是未来 IA将进行PC.修改的内容,它可以改变方向,进行程序.在8051电路动摇一个 电脑芯片、石英晶体外,只需要相当频繁调整电容,具范围是12mhz的频率 1.2mhz.这一脉冲信号,作为8051年工作的基本节拍,即单位时间内的最低.8051年是计算机一样,在和

37、谐的工作基本控制打,就像打了一个乐团,按照发挥, 指挥. 有存储器(程序存储器,只能读),8051年在羊片(存储数据,是可以写出) 二读,他们每个独立存储空间处理,处理方式是一样的,一般的电脑记忆.8051年和8751年拨款程序存储程序存贮器4kb,从0000h地址,用于保存程序和方式 不变.数据8051-87518031128b记忆存储数据,00fh假地址,用于存放操作结果 中,暂时储存数据和资料等无人。在这种羊 128b,有32个单位字节可以出任就 业登记,这是与一般不同的微处理器、8051切片和就业登记成立一个级别相同 的地点安排.这是很不相同的记忆监控监-51系列之一-计算机芯片,除了

38、一般 电脑的方式处置.一般电脑先向空间、存储器和 RAM目安排在不同的空间范围 内解决这一意愿,即存储器的地址和RAM地址分配不同的空间形成. 同时来访 的记忆,相应的存储器,只有一个地址,可以存储,也可以撞击,并以同样的访问. 这种记忆结构称为普林斯顿结构.8051记忆分为程序存储空间和数据存储空间 的物理结构,有四个存储空间:我们的程序储存在一个数据存储空间之外的数据 存储和一个程序存储空间、外一、结构形式的这种程序装置和数据存储与形式 的数据存储,称为哈佛结构.但用用户的角度,讨论8051年的记忆空间分为三类: (1)在时代安排Ffffh座,0000h地点、从容外片(地址用十六).(二)

39、处理数据存储空间之外64kb之一,被安排从地址0000hFfffh64kb(地址16),地点太.三) 处理数据存储空间256b(地址8使用).上述三个存储空间地址重叠,鉴别设计, 象征不同的数据传输的语言系统8051:CPU访问片,以存储器,阻止访问命令Ra 用途外用一张旅游片。8051年1-48芯片计算机与我走/澳港,要求PR P1、P2和P3.每个港口 8 准确双向口,共占32别针.每一个我/O线可作为引进和输出独立.每个港口有 门闩(即登记特殊功能)、驾驶人、出口实行缓冲.可当门闩使outputting 数据,数据可以缓冲时推出,但这些四个功能自我同一.在扩大对外开放具有时代记忆系 统,

40、这四个港口可准确双向口一 /O共同使用。在扩大对外开放具有时代记忆系 统,高8P2口地址见客.P0 口是一个双向车采用8送数据低地址/出口Timesharing 在8051年的巡回一个计算机芯片和四个一 /O港口很巧妙的设 计.熟悉我/港澳逻45电路,不仅有利于正确、合理地使用港口、激励周边逻辑 电路设计的一个计算机芯片有所提高.负载能力和接口港口有一定的要求,因为 产量等,P0和P1 口的最终产量、P3 口的结构,在不同的年级,所以,负载能力和 接口要求其门南辕北辙相处.不同于其他P0 口口,其产量即将年级抵抗.o在使 用它的嘴巴,用共同使用,是生产事故等级亮起电路,它是利用NMOS2吁采取抵 制外,应同时输入,走出失败.当被用作介绍,应该写"一”的门闩头.每一个有能 驾驶8P0口输出模式LSTTL载荷.P1 口是一个正确的双向口也作为我/海外广泛使用.P0 口不同产量的电路,请联系电力负荷就

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论