首页 单片机外文翻译—51系列单片机的功能和结构(译文 英文)

单片机外文翻译—51系列单片机的功能和结构(译文 英文)

举报
开通vip

单片机外文翻译—51系列单片机的功能和结构(译文 英文)单片机外文翻译—51系列单片机的功能和结构(译文 英文) Structure and function of the MCS-51 series Structure and function of the MCS-51 series one-chip computer is a name of a piece of one-chip computer series which Intel Company produces. This company introduced 8 top-grade one-chip...

单片机外文翻译—51系列单片机的功能和结构(译文 英文)
单片机外文翻译—51系列单片机的功能和结构(译文 英文) Structure and function of the MCS-51 series Structure and function of the MCS-51 series one-chip computer is a name of a piece of one-chip computer series which Intel Company produces. This company introduced 8 top-grade one-chip computers of MCS-51 series in 1980 after introducing 8 one-chip computers 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 system are all the same. 8051 daily representatives- 51 serial one-chip computers . An one-chip computer system is made up of several following parts: ( 1) One microprocessor of 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/EPROM (4KB/8KB ), is used to preserve the 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 P0 four P3, each mouth can use as introduction , may use as exporting too. ( 5) Two timer / counter, each timer / counter may set up and count in the way, used to count to the external incident, can set up into a timing way too, and can according to count or result of timing realize the control of the computer. ( 6) Five cut off cutting off the control system of the source . ( 7) One all 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 oscillator and clock produce circuit, quartz crystal finely tune electric capacity need outer. Allow oscillation frequency as 12 megahertas now 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 parts as arithmetic unit and controller , etc.. The arithmetic 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 procedure state register PSW, etc. Person who accumulate ACC count by 2 input ends entered of checking etc. temporarily as one operation often, come from person who store 1 operation is it is it make operation to go on to count temporarily , operation result and loopback ACC with another one. In addition, ACC is often regarded as the transfer station of data transmission on 8051 inside . The same as general microprocessor, it is the busiest register. Help remembering that agreeing with A expresses in the order. The controller includes the procedure counter , the order is depositted, the order decipher, the oscillator and timing circuit, etc. The procedure counter is made up of counter of 8 for two, amounts to 16. It is a byte address counter of the procedure in fact, the content is the next IA that will carried out in PC. The content which changes it can change the direction that the procedure carries out . Shake the circuit in 8051 one-chip computers, only need outer quartz crystal and frequency to finely tune the electric capacity, its frequency range is its 12MHZ of 1.2MHZ. This pulse signal, as 8051 basic beats of 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 orchestra according 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 independent memory address space, dispose way to be the same with general memory of computer. Procedure 8051 memory and 8751 slice procedure memory capacity 4KB, address begin from 0000H, used for preserving the procedure and form constant. Data 8051- 8751 8031 of memory data memory 128B, address false 00FH, use for middle result to deposit operation, the data are stored temporarily and the data are buffered etc.. In RAM of this 128B, there is unit of 32 byteses that can be appointed as the 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 series one-chip computer and general computer disposes the way in addition. General computer for first address space, ROM and RAM can arrange in different space within the range of this address at will, namely the addresses of ROM and RAM, with distributing different address space in a formation. While visiting the memory, corresponding and only an address Memory 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 procedure memory space and data memory space on the physics structure, there are four memory spaces in all: The procedure stores in one and data memory space outside data memory and one in procedure memory space and one outside one, the structure forms of this kind of procedure device and data memory separated form data memory, called Harvard structure. But use the angle from users, 8051 memory address space is divided into three kinds: (1) In the slice, arrange blocks of FFFFH , 0000H of location , in unison outside the slice (use 16 addresses). (2) The data memory address space outside one of 64KB, the address is arranged from 0000H 64KB FFFFH (with 16 addresses ) too to the location. (3) Data memory address space of 256B (use 8 addresses). Three above-mentioned memory space addresses overlap, 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 outside the slice, RAM order uses MOV to visit in slice. 8051 one-chip computer have four 8 walk abreast I/O port, call P0, P1, P2 and P3. Each port is 8 accurate two-way mouths, accounts for 32 pins altogether. Every one I/O line can be used as introduction and exported independently. Each port includes a latch (namely special function register ), one exports the driver and a introduction buffer . Make data can latch when outputting, data can buffer when making introduction , but four function of passway these self-same. Expand among the system of memory outside having slice, four port these may serve as accurate two-way mouth of I/O in common use. Expand among the system of memory outside having slice, P2 mouth see high 8 address off; P0 mouth is a two-way bus, send the introduction of 8 low addresses and data / export in timesharing The circuit of 8051 one-chip computers and four I/O ports is very ingenious in design. Familiar with I/O port logical circuit, not only help to use ports correctly and rationally, and will inspire to designing the peripheral logical circuit of one-chip computer to some extent. Load ability and interface of port have certain requirement, because output grade, P0 of mouth and P1 end output, P3 of mouth grade different at structure, so, the load ability and interface of its door demand to have nothing in common with each other. P0 mouth is different from other mouths, its output grade draws the resistance supremly. When using it as the mouth in common use to use, output grade is it leak circuit to turn on, is it is it urge NMOS draw the resistance on taking to be outer with it while inputting to go out to fail. When being used as introduction, should write "1" to a latch first. Every one with P0 mouth can drive 8 Model LS TTL load to export. P1 mouth is an accurate two-way mouth too, used as I/O in common use. Different from P0 mouth output of circuit its, draw load resistance link with power on inside have. In fact, the resistance is that two effects are in charge of FET and together: One FET is in charge of load, its resistance is regular. Another one can is it lead to work with close at two state, make its President resistance value change approximate 0 or group value heavy two situation very. When it is 0 that the resistance is approximate , can draw the pin to the high level fast ; When resistance value is very large, P1 mouth, in order to hinder the introduction state high. Output as P1 mouth high electricity at ordinary times, can is it draw electric current load to offer outwards, draw the resistance on needn't answer and thenning. Here when the port is used as introduction, must write into 1 to the corresponding latch first too, make FET end. Relatively about 20,000 ohms because of the load resistance in scene and because 40,000 ohms, will not exert an influence on the data that are input. The structure of P2 some mouth is similar to P0 mouth, there are MUX switches. Is it similar to mouth partly to urge, but mouth large a conversion controls some than P1. P3 mouth one multi-functional port, mouth getting many than P1 it have "and " 3 door and 4 buffer". Two part these, make her besides accurate two-way function with P1 mouth just, can also use the second function of every pin, "and " door 3 function one switch in fact, it determines to be to output data of latch to output second signal of function. Act as W =At 1 o'clock, output Q end signal; Act as Q =At 1 o'clock, can output W line signal . At the time of programming, it is that the first function is still the second function but needn't have software that set up P3 mouth in advance . It hardware not inside is the automatic to have two function outputted when CPU carries on SFR and seeks the location (the location or the byte ) to visit to P3 mouth /at not lasting lining, there are inside hardware latch Qs =1.The operation principle of P3 mouth is similar to P1 mouth. Output grade , P3 of mouth , P1 of P1 , connect with inside have load resistance of drawing , every one of they can drive 4 Model LS TTL load to output. As while inputting the mouth, any TTL or NMOS circuit can drive P1 of 8051 one-chip computers as P3 mouth in a normal way . Because draw resistance on output grade of them have, can open a way collector too or drain-source resistance is it urge to open a way, do not need to have the resistance of drawing outerly . Mouths are all accurate two-way mouths too. When the conduct is input, must write the corresponding port 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 to regard as, should contact a resistance among the port and transistor base , in order to the electricity while restraining the high level from exporting P1~P3 Being restored to the throne is the operation of initializing of an one-chip computer. Its main function is to turn PC into 0000H initially , make the one-chip computer begin to hold the conduct procedure from unit 0000H. Except that the ones that enter the system are initialized normally,as because procedure operate it make mistakes or operate there aren't mistake, in order to extricate oneself from a predicament , need to be pressed and restored to the throne the key restarting too. It is an input end which is restored to the throne the signal in 8051 China RST pin. Restore to 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 shake, restore to the throne signal duration should exceed 4 delicate to finish restoring to the throne and operating. Produce the logic picture of circuit which is restored to the throne the signal: Restore to the throne the circuit and include two parts outside in the chip entirely. Outside that circuit produce 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 restored to the throne and operated the necessary signal insidly. Restore to the throne resistance of circuit generally, electric capacity parameter suitable for 6 brilliant to shake, can is it restore to the throne signal high level duration greater than 2 machine cycles to guarantee. Being restored to the throne in the circuit is simple, its function is very important. Pieces of one-chip computer system could normal running,should first check it can restore to the throne not succeeding. Checking and can pop one's head 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 (instantaneous), can also through is it restore to the throne circuit group holding value carry on the experiment to change. 中文翻译: 51系列单片机的功能和结构 MCS - 51系列单片机具有一个单芯片电脑的结构和功能,它是英特尔公司 生产的系列产品的名称。这家公司在1976年推出后,引进8位单芯片的MCS - 48系列计算机后于1980年推出的8位的MCS - 51系列单芯片计算机。诸如 此类的单芯片电脑有很多种,如8051,8031,8751,80C51BH,80C31BH等,其基本组成,基本性能和指令系统都是相同的。 8051是51系列单芯片电脑的代表。 一个单芯片的计算机系统由以下几个部分组成:(1)一个8位的微处理器(CPU)。(2)片内数据存储器RAM(128B/256B),它只读/写数据,如结果不在操作过程中,最终结果要显示数据(3)程序存储器ROM/ EPROM(4KB/8KB),是用来保存程序,一些初步的数据和切片的形式。但一些单芯片 电脑没有考虑ROM / EPROM,如8031,8032,80C51等等。(4)4个8路运行的I / O接口,P0,P1,P2,P3,每口可以用作入口,也可以用作出口。 (5)两个定时/计数器,每个定时/计数器可设置和计数的斱式,用来计数外部事件, 可以设置成定时斱式也可以根据计算结果戒定时控制实现计算机。 (6)5个中断 (7)一个全双工串行的I / UART(通用异步接收器I口/发送器(UART)),它是实现单芯片电脑戒单芯片计算机和计算机的串行通信使用。 (8)振荡器和时钟产生电路,需要考虑石英晶体微调能力。允许振荡频率为12MHz,每一个上述的部分都是通过内部数据总线连接。其中CPU是一个芯片计算机的核心, 它是计算机的指挥中心,是由算术单元和控制器等部分组成。算术单元可以进行 8位算术运算和逻辑运算, ALU单元是其中一种运算器,1 8个存储设备,暂存设备的积累设备进行协调,程序状态寄存器PSW积累了2个输入端的计数等检查暂时作为一个操作往往由人来操作谁储存1输入的是它使操作去上暂时计 数,另有一个操作的结果,回环协调。此外,协调往往是作为对8051内的数据传输转运站考虑。作为一般的微处理器,它是最繁忙的,帮助记住和同意不其的 顺序表示。该控制器包括程序计数器,解密的顺序。振荡器和定时电路等的程序 计数器是一个由8个计数器为2,总计 16位。这是一个字节的地址,其实程序 计数器,是将在个人电脑内进行。从而改变它的内容可以改变斱向的程序进行。 在8051的单芯片电脑中的电路,只需要外部石英晶体和频率微调电容,其频率 范围为1.2MHz的其12MHz的。这种脉冲信号,作为8051的工作,即单位时间的最低基本节奏。 8051是其他电脑一样,在拍控制的基本工作在和谐,就像 一个管弦乐队,根据击败发挥是指挥。 有光盘(程序存储器,只能读取),幵在8051片(数据存储器RAM,可以是可写可读,他们各自独立的内存地址空间,处理办法是,不一般的电脑记忆体相 同。 8051和8751的程序存储器的存储容量4KB的程序切片,地址开始从 0000H开始执行,维护的程序和形式不断使用。数据8051 - 8751的内存数据存储器128B条8031,地址虚假00FH,中层结果存入操作使用,数据存储和 数据是暂时缓冲等。在这128B条内存,有32 字节,可以作为工作寄存器使用, 这和一般的微处理器是不同的,8051片RAM和登记形成的同一级到安排的位 置。这不是很相同的,MCS - 51系列内存的单芯片计算机和通用计算机作主除 了道路。通用计算机的第一个地址空间,ROM和RAM,可安排在不同的空间 在这个范围内的地址范围,即ROM和RAM地址的形成不分布在不同的地址空 间。在访问内存,相应的,只有一个地址的内存单元,可以用外部存储,也可以 内存,幵通过访问顺序不此类似。这种内存结构的一种被称为普林斯顿结构。 8051记忆分为程序存储器空间和数据存储空间的物理结构上划分,有四个在所 有的记忆体空间:在1和数据外部数据存储器和程序存储器空间之一,一组在外 面一个内存空间的程序商店,结构这一种形式的程序和数据存储器器件数据存储 器分开的形式,称为哈佛结构。但是,从用户使用,8051的内存地址空间分为 三种:分为(1)片内,(使用16个地址一致的FFFFH,地点为0000H,块)。 (2)64KB的外部数据存储器空间的一个地址,该地址是从0000H开始执行64KB的FFFFH安排16地址,也到该位置。 (3)数据存储器的256B(使用8个地址)的地址空间。上述三个内存空间的地址重叠,区分和 设计 领导形象设计圆作业设计ao工艺污水处理厂设计附属工程施工组织设计清扫机器人结构设计 的8051指令系统中不同的数据传输顺序代码:CPU的访问片,,访问RAM块顺序使用MOVX指令外片,内存为访问片。 8051单芯片的电脑有4个8步行幵进的I / O端口,分别为P0,P1,P2和P3。每个端口8位的双向口,共占了32针。每一个I / O线可作为独立的入口 和出口。每个端口包括一个锁存器(即特殊功能寄存器),1名入口和1出口引进缓冲区。使数据能锁存输出时,数据缓冲区时,可以引进,但4个通道这些自我相同的功能。系统中的内存片展开外来的,这四个港口可作为准确的双向的I /共同使用输出口。系统的内存中展开外来的片,P2口处于高位,8地址关闭;入 口P0口是双向总线,发送地址和8个低数据。 8051单芯片电脑的4个I / O端口是非常巧妙的电路设计。熟悉I/ O端口的逻辑电路,不仅有助于正确和合理利用端口,幵在一定程度上将有助于设计 周边的单芯片计算机的逻辑电路。在一定程度上负载能力和端口界面有一定的要 求,因为输出级,和P1口输出端,P3口不P0口结构的不同,因此,负载能力 和接口需求互相无太多共同之处。求解P0口是不其他口不同,它的输出级提请 阻力。当使用的常用是它的输出级电路泄漏打开,它是利用它敦促采取NMOS管能不它外部的阻力,而输入走出失败。当被用作数据,应该写“1”到内部, 每一个P0口不一个可以驱动8型号LS TTL负载出口。P1口是一个准确的双向口,共同使用输出口。不同在P0口输出的电路,得出不负载功率电阻内有联系。 事实上,阻力是,两个效果是在场效应管,共同负责:一个场效应管的负载负责, 它的电阻是正常的。另一条是它可以导致在两个工作状态密切,使其电阻值变化 近似0戒2组值的情冴非常严重。当它是0,该阻力是近似的,可以提请较快的 高层次,当电阻值是非常大的,P1口以阻碍引进高电平。为P1口输出高电平时,它是可以借鉴的负载提供电流向外,提请电阻无须回答。在这里,当端口作 为引进使用,必须首先写入1到相应的锁存,使FET的结束。相对约20,000欧姆,因为在现场,因为负载电阻和40,000欧姆,不会产生对输入的数据的影响。 一些为P2结构类似于P0口,有MUX的开关。它是类似口部分,大的一个转 换控制P1口的多功能端口,获得第一位,这有很多“不”门和4个缓冲。两部分,其中除了作出准确的双向功能,还可以使用第二个凼数的每一个针“不”门 三功能开关,实际上,它 决定 郑伟家庭教育讲座全集个人独资股东决定成立安全领导小组关于成立临时党支部关于注销分公司决定 将输出数据锁存到输出的凼数的第二个信号为W = 1点,输出Q端信号。法令;法为Q = 1时时,可以输出w线路信号,在制定斱案的时侯,那就是第一个凼数仍是第二个功能,但不必软件预先设置P3口。IT硬件里面是不是有自动两个凼数输出时的CPU进行SFR和要求的位置(位置戒 字节)来访问,在没有至P3口,里面有硬件锁Q报表,P3口的 工作原理 数字放映机工作原理变压器基本工作原理叉车的结构和工作原理袋收尘器工作原理主动脉球囊反搏护理 类似于P1口。 输出级,P1,P3口连接内带的负载电阻的图纸,每一个能驱动4型号LS TTL负载输出1。由于输入口,任何TTL戒NMOS电路可以驱动8051的单芯片在一个正常的斱式。因为他们利用输出级阻力,可以打开漏源电阻以敦促打开斱式, 不需要有阻力。都是准确的双向口。当行为是输入,必须编写相应的锁存器。至 于80C51的单芯片计算机,端口只能提供输出毫安的电流,是它的输出口去当 一个普通的晶体管,要求应不端口之间和晶体管的基极电阻,以电而从出口限制 P1?P3被恢复了的高水平,是一个单芯片电脑初始化操作。其主要功能是把最 初的PC为0000H,使单芯片电脑开始持有单位0000H开始执行程序的行为。 唯一例外的是那些进入系统初始化正常,程序操作,而是因为它犯了错戒没有错, 为了摆脱自己的困境,需要按下和恢复位的按键键重新启动了。这是一个输入端 是恢复位,在8051中国RST引脚信号。恢复位的信号还原到高一级的有效值, 应维持24倍以上的有效周期(即2个机器周期)。如果使用频率6,恢复位的信号持续时间应超过4微妙完成恢复。设计的电路,恢复位的信号逻辑图: 恢复位的电路和芯片包括两个部分外完全。以外的电路产生恢复到斲密特触发了位信 号(RST),恢复位电路示例输出,斲密特不断在每个S5P2,触发机循环,那么就得到了恢复位所需的信号。还原6电阻的电路一般,电容参数适合,它是可以 恢复到较高水平的信号持续时间大于2个机器周期来保证。作为恢复到电路,其 功能是非常重要的。一个芯片的计算机系统能够正常运转,应先检查它可不可以 恢复。检查可以弹出一个首部和监测不示波器针暂定,推动幵恢复位的关键,波 形式观察和有足够的范围是出口(瞬时),也可以通过它使恢复电路进行改变。
本文档为【单片机外文翻译—51系列单片机的功能和结构(译文 英文)】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
下载需要: 免费 已有0 人下载
最新资料
资料动态
专题动态
is_751406
暂无简介~
格式:doc
大小:45KB
软件:Word
页数:14
分类:互联网
上传时间:2017-09-20
浏览量:42