MCS51系列单片机中英文资料对照外文翻译文献综述_第1页
MCS51系列单片机中英文资料对照外文翻译文献综述_第2页
MCS51系列单片机中英文资料对照外文翻译文献综述_第3页
MCS51系列单片机中英文资料对照外文翻译文献综述_第4页
MCS51系列单片机中英文资料对照外文翻译文献综述_第5页
已阅读5页,还剩9页未读 继续免费阅读

下载本文档

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

文档简介

1、MCS-51 系列单片机中英文资料对照外文翻译文献综述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-grade one-chip computers of MCS-51 series in 1980 af

2、ter 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

3、serial one-chip computers.A 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 depositing not can reading /data that write, such as result not middle of operation, final result and data wanted to sho

4、w, etc. (3) Procedure memory ROM/EPROM (4KB/8KB ), is used to preserve theprocedure , some initial data and form in slice. But does not take ROM/EPROM within some one-chip computers, such as 8031, 8032.(4) Four 8 run side by side I/O interface P0 four P3, each mouth can use as introduction , may use

5、 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 sys

6、tem of the source. (7) One allduplex serial I/O mouth ofUART (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 elect

7、ric capacity need outer. Allow oscillation frequency as 12 megahertz 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

8、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 temporaries of 8, storing device 2 temporarily, 8s accumulation device ACC, register B and procedure state register PSW, etc. Person who

9、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 loop back ACC with another one. In addition, ACC is often regarded as the transfer

10、station of data transmission on 8051 inside. The same as general microprocessor, it is the busiest register. Help remembering that agreeing with a express in the order. The controller includes the procedure counter, the order is deposited, the order deciphering, the oscillator and timing circuit, et

11、c. 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 o

12、ne-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 con

13、trol 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 gener

14、al 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, using for middle result to deposit operation, the data are st

15、ored temporarily and the data are buffered. In RAM of this 128B, there is unit of 32 bytes 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 me

16、mory 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

17、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 t

18、he 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 stru

19、cture. 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 FFF

20、FH (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 orderspe

21、nd 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 ports, 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

22、 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 pass away these self-same. Expand among the system of memo

23、ry outside having slice, four ports 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 timesharingThe circuit

24、 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 port 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

25、 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 mouth, its output grade draws the resistance sup

26、remely. When using it as the mouth in common use, output grade is it leak circuit to turn on, is it urge NMOS draw the resistanceon taking to be outer with it while inputting to go out to fail. When being used as introduction, should write1 to a latch first. Every one with P0 mouth can drive 8 Model

27、 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 loa

28、d, 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

29、is very large, P1mouth high electricity at ordinary times,can is it draw electric current load to offer outwards, draw electric current load to offer outwards, draw the resistance on neednt answer and thinking.Here when the port is used as introduction, must write into 1 to the corresponding latch f

30、irst too, make FET end relatively about 20,000 ohms because of 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 lar

31、ge a conversion controls some than P1.P3 mouth one multi-functional port, mouth getting many than P1 it have 3 doors and 4 buffers. Two parts there, make her besides accurate two-way function with P1 mouth just, can also use the second function of every pin, and door 3 functions one switch in fact,

32、it determines to be to output data of latch tooutput second signal of function. Act as W=At 1 oclock, output Q end signal; act as Q=At 1 oclock, can output W line signal. At the time of programming, it is that the first function is still the second function but neednt have software that set up P3 mo

33、uth in advance .It hardware not inside is the automatic to have two function outputted when CPU carries on SFR and seeks the location to visit to P3 mouth/at not lasting lining, there are inside hardware latch Qs=1. The operation principle of P3mouth is similar to P1mouth.Output grade, P3 of mouth,

34、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, c

35、an 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 outer. 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 o

36、nly 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 P1P3 Being restored to the

37、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

38、make mistakes or operate there arent 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 effectiv

39、e, 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

40、 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 Schmitts trigger, restore to the throne circuit sample to output , Schmitt of trigger constantly i

41、n each S5P2 , machine of cycle in having one more , then just got and restored to the throne and operated the necessary signal inside. 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 lev

42、el 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 ones head and m

43、onitor the pin with the oscilloscope tentatively, push and is restored to the throne the key, the wave form that observes andhas enough range is exported (instantaneous), can also through is it restore to the throne circuit group holding value carry on the experiment to change.MCS-51系列单片机的功能和结构MSC-5

44、1系列单片机具有一个单芯片电脑的结构和功能,它是英特尔 公司的系列产品的名称。这家公司在 1976 年推出后,引进 8 位单芯片的 MCS-48系列计算机后于 1980 年推出的 8位的 MCS-51系列单芯片计算机。 诸如此类的单芯片电脑有很多种, 如 8051,8031 ,8751,80C51BH,80C31BH 等,其基本组成,基本性能和指令系统都是相同的。 8051 是 51 系列单 芯片电脑的代表。一个单芯片的计算机是由以下几个部分组成:( 1)一个 8 位的微处理器( CPU)。( 2)片数据存储器 RAM( 128B/256B ),它只读 /写数据,如 结果不在操作过程中,最终结

45、果要显示数据(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),它是实现单芯片电脑或单芯片计算机和计算机的串行通信使用。 ()振荡器和时钟产生电路, 需

46、要考虑石英晶体微调能力。允许振荡频率为12MHz,每个上述的部分都是通过部数据总线连接。其中CPU是一个芯片计算机的核心,它是计算机的指挥中心,是由算术单元和控制器等部分组成。算术单元可以进 行位算术运算和逻辑运算, ALU 单元是其中一种运算器, 18 个存储设 备,暂存设备的积累设备进行协调,程序状态寄存器 PSW积累了 2 个输 入端的计数等检查暂时作为一个操作往往由人来操作,谁储存 1 输入的 是它使操作去上暂时计数,另有一个操作的结果,回环协调。此外,协 调往往是作为对 8051 的数据传输转运站考虑。作为一般的微处理器,解 码的顺序。振荡器和定时电路等的程序计数器是一个由8 个计数

47、器为 2,总计 16 位。这是一个字节的地址,其实程序计数器,是将在个人电脑进 行。从而改变它的容可以改变它的程序进行。在 8051 的单芯片电脑的电 路,只需要外部石英晶体和频率微调电容, 其频率围为 1.2MHz到 12MHz。 这种脉冲信号,作为 8051 的工作,即单位时间的最低基本节奏。 8051 是其他电脑一样,控制的基本工作在于和谐,就像一个管弦乐队,根据 击败发挥是指挥。有光盘(程序存储器,只能读取) ,并在 8051 片(数据存储器 RAM, 可以是可写可读,他们各自独立的存地址空间,处理办法是,与一般的 电脑记忆体相同。 8051 可 8751 的程序存储的存储容量 4KB

48、 的程序切片, 地 址 开 始 从 0000H 开 始 执 行 , 维 护 的 程 序 和 形 式 不 断 使 用 。 数 据 8051-8751 的存数据存储器 128B)条 8031,地址虚假 00FH,中层结果存 入操作使用,数据存储和数据暂时缓冲等。在这 128B条存,有 32 字节,可以作为工作寄存器使用,这和一般的微处理器是不同的, 8051 片 RAM 和登记形式的同一级到安排的位置。这不是很相同, MCS-51系列存的单 芯片计算机和通用计算机为主。通用计算机的第一个地址空间,ROM和RAM,可安排在不同的空间在这个围的地址围,即ROM和 RAM 地址的形成与分布在不同的地址空

49、间。在访问存,相应的,只有一个地址的存单元, 可以用外部存储,也可以存,并通过访问顺序与此类似。这种存结构的 一种被称为普林斯顿结构。 8051 记忆分为程序存储器空间和数据存储空 间的物理结构上划分,有四个在所有的记忆体空间。在 1 和数据外部数 据存储器和程序存储器空间之一,一组在外面一个存空间的程序商店, 结构这一种形式的程序和数据存储器器件数据存储分开的形式,称为哈 佛结构。但是,从用户使用, 8051 的存地址空间分为三种:分为( 1) 片,(使用 16 个地址一致的 FFFFH,地点为 0000H)。( 2) 64KB的外部数 据存储器空间的一个地址, 该地址是从 0000H 开始

50、执行 64KB的 FFFFH安 排 16 地址,也到该位置。 ( 3 )数据存储器的 256B(使用 8 个地址)的 地址空间。上述三个存空间的地址重叠,区分和设计的 8051 指令系统中 不同的数据传输顺序代码, CPU的访问片,访问 RAM块顺序使用 MOVX指 令外片,存为访问片。8051 单芯片的电脑有 4 个 8 步行并进的 I/O 端口,分别为 P0,P1,P2 和 P3。每个端口 8 位的双向口,共占了 32 针。每一个 I/O 线可作为独 立的入口和出口。每个端口包括一个锁存器, 1 名入口和一出口引进缓 冲区。使数据能锁存输出时,数据缓冲区时,可以引进,但 4 个通道这 些自我相同的功能。系统中的存片展开外来的,这四个港口可作为准确 的双向的 I/O 共同使用的输出口。系统的存中展开外来的片, P2 口处于高位, 8 地址关闭;入口 P0 口是双向总线,发送地址和 8 个低数

温馨提示

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

评论

0/150

提交评论