版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、51系列单片机的功能和结构结构和功能的监控监-51系列之一-计算机芯片监控监-51名是一幅一个电脑晶片,英特尔公司生产系列. 这家公司推出8级一个计算机芯片监控监-51系列之后,于1980年8引入一个计算机芯片监控监,于1976年48系列.。它属于这一类型很多行一个芯片的电脑芯片都如8051、8031、8751、80c51bh,80c31bh等,其基本组成、性能和基本教学制度,都是一样的. 8051每日代表-51系列之一-电脑晶片 有一个芯片的计算机系统是由以下几个方面: (1)18微处理器(cpu). (2)在切片数据存储羊(128b/256b),使用可以不读书不数据写如因经营不中,最后结果
2、要和数据显示等. (3)存储器存储程序/可擦写可编程只读存储器(4kb/8kb),用于保存程序和数据,初步形成片. 但并不存储器/可擦写可编程只读存储器在一些人的电脑芯片,如8031、8032、80c等. (4)经营的84并肩一/四op0p3接口,每口可以用作介绍,也可以用作输出. (5)两个定时/柜台,每个计时器/柜台可设立和计算的方法,用来计算的外部事件,可以建立成一个时间的方式也可以和根据计算结果或时间实现控制的计算(六)五切断切断源头上控制系统. (七)各一序i/o口uart(异步接收世界/发送(uart),它是实现一个计算机芯片和一个计算机芯片和通讯系列电脑上使用. (8)强、时钟振
3、荡器电路生产、水晶石英细调需要外部电容. 为使振动频率目前最. 每上述地区内的数据是通过加入单片机.其中,cpu的核心是一个电脑芯片,它是计算机和指挥控制中心等部分组成,运算器和控制等. 运算器的可携带8人计算a经营单位的经营逻辑,其中,1temporarilies存储装置8、暂时贮存器2、8的行政协调会累积装置、b、注册登记程序国有psw等. 累积计200人,行政协调委员会结束对进入检查. 暂时运作往往是来自一店经营者,这是经营下去,使计暂时经营成果和行政协调会. 此外,行政协调会经常被视为转运站,在8051年的数据传输. 一般微处理器一样,是繁忙登记. 帮助大家,表示了赞同的命令. 控制程
4、序包括柜台命令详解,振荡器电路和时间等. 程序相当于16. 这是一个字节地址位的程序,其实,内容是未来ia将进行pc. 修改的内容,它可以改变方向,进行程序. 在8051电路动摇一个电脑芯片、石英晶体外,只需要相当频繁调整电容,其范围是12mhz的频率1.2mhz. 这一脉冲信号,作为8051年工作的基本节拍,即单位时间内的最低. 8051年是计算机一样,在和谐的工作基本控制打,就像打了一个乐团,按照发挥,指挥. 有存储器(程序存储器,只能读),8051年在羊片(存储数据,是可以写出)二读,他们每个独立存储空间处理,处理方式是一样的,一般的电脑记忆. 8051年和8751年拨款程序存储程序存贮
5、器4kb,从0000h地址,用于保存程序和方式不变. 数据8051-87518031128b记忆存储数据,00fh假地址,用于存放操作结果中,暂时储存数据和资料等无人。在这种羊128b,有32个单位字节可以出任就业登记,这是与一般不同的微处理器、8051切片和就业登记成立一个级别相同的地点安排. 这是很不相同的记忆监控监-51系列之一-计算机芯片,除了一般电脑的方式处置. 一般电脑先向空间、存储器和ram,可安排在不同的空间范围内解决这一意愿,即存储器的地址和ram,地址分配不同的空间形成. 同时来访的记忆,相应的存储器,只有一个地址,可以存储,也可以撞击,并以同样的访问. 这种记忆结构称为普
6、林斯顿结构. 8051记忆分为程序存储空间和数据存储空间的物理结构,有四个存储空间:我们的程序储存在一个数据存储空间之外的数据存储和一个程序存储空间、外一、结构形式的这种程序装置和数据存储与形式的数据存储,称为哈佛结构. 但用用户的角度,讨论8051年的记忆空间分为三类:(1)在时代安排ffffh座,0000h地点、从容外片(地址用十六). (二)处理数据存储空间之外64kb之一,被安排从地址0000hffffh64kb(地址16),地点太. 三)处理数据存储空间256b(地址8使用). 上述三个存储空间地址重叠,鉴别设计,象征不同的数据传输的语言系统8051:cpu访问片,以存储器,阻止访问
7、命令ra用途外用一张旅游片。8051年1-48芯片计算机与我走/澳港,要求p0、p1、p2和p3. 每个港口8准确双向口,共占32别针. 每一个我/o线可作为引进和输出独立. 每个港口有门闩(即登记特殊功能)、驾驶人、出口实行缓冲. 可当门闩使outputting数据,数据可以缓冲时推出,但这些四个功能自我同一. 在扩大对外开放具有时代记忆系统,这四个港口可准确双向口一/o共同使用。在扩大对外开放具有时代记忆系统,高8p2口地址见客. p0口是一个双向车采用8送数据低地址/出口timesharing 在8051年的巡回一个计算机芯片和四个一/o港口很巧妙的设计. 熟悉我/港澳逻辑电路,不仅有利
8、于正确、合理地使用港口、激励周边逻辑电路设计的一个计算机芯片有所提高. 负载能力和接口港口有一定的要求,因为产量等,p0和p1口的最终产量、p3口的结构,在不同的年级,所以,负载能力和接口要求其门南辕北辙相处. 不同于其他p0口口,其产量即将年级抵抗.。在使用它的嘴巴,用共同使用,是生产事故等级亮起电路,它是利用nmos呼吁采取抵制外,应同时输入,走出失败. 当被用作介绍,应该写一的门闩头. 每一个有能驾驶8p0口输出模式lsttl载荷. p1口是一个正确的双向口也作为我/海外广泛使用. p0口不同产量的电路,请联系电力负荷就在有阻力. 事实上,反抗是两种影响,同时负责操作:1配量负责,定期阻
9、力. 另一种可能是导致这两个国家与接近,使总经理改变阻值近似零或一组值两形势十分沉重. 0时,大约是反抗,可以寄以很高的速度; 如果阻值很大,p1口,以妨碍国家引进高. p1口高产量的电力平时,它是利用电流负载提供庇护,以此抵制和不必回答. 在这里介绍的是用作码头,必须写1到相应的门闩头也使操作结束。相对约20,000ohms因负载阻力,因为在现场40,000ohms,不会产生影响的数据,输入. p2口的结构有些类似于p0口有开关. 这是促使口腔类似,但有些不是嘴巴大转换控制p1. p3口人的多功能港口,嘴也越来越多,p1比、3和4缓冲门. 这两个部分,使她除了精确的双向功能与p1口仅,也可以
10、使用第二功能每针. 、一门三转功能实际上 它决定将产量数据信号门闩第二产出功能. 在担任w=1时,问到生产信号; 作为在q=1时,信号线可以生产w. 节目时,它是第一个功能,但仍是第二个功能不用软件p3口提前成立. 这不是硬件是在自动有两个功能outputted当cpu进行社会主义和寻求地点(所在地或字节)访p3口/不是在持久排队,有在硬件门闩促使=1.the经营原则p3口类似于p1口.生产级的p3口,p1,p1,内有连接负载阻力划,每个人可以带动4产出模型lsttl载荷. 而作为输入口,任何nmos电路可驱动ttl或p1的8051一个电脑芯片p3口的正常发展. 由于产量等作出抵抗的人,也可以
11、公开方式收藏或流失的根源就是反抗的方式,要求公开,不须具备抵抗绘画. 别人都准确双向口也. 当行为投入,要写出一首相应的港口与门闩. 以80c51一个计算机芯片,只能提供港口毫安的电流电产出,它是生产口去要求一个普通的计算是将晶体管、接触的阻力应该在港口及半导体基地 同时为了抑制高电力输出p1p3级是恢复王位是一个着手运作一个计算机芯片. 其主要功能是将电脑变成0000h开始,使一个开始进行计算机芯片进行程序0000h单位. 除了那些进入正常initialized系统,因为它的程序操作失误或操作失误不多,为了摆脱困境,必须按国家和恢复王位,恢复太重要了. 这是一项投入恢复王位,结束了在8051
12、年中国信息表寄. 恢复王位高有效信号,应保持24震撼周期(机器周期,2)有效时间段. 6如果使用频率前去辉煌,恢复王位信号完成期限不得超过4微妙的王位,恢复营业. 逻辑电路生产情况,恢复王位的信号:恢复王位的电路两部分组成,包括外部的芯片完全. 外界产生电路恢复王位信号(表)交给史密特的启动,恢复王位样品电路产量,史密特触发不断每一s5p2、机器周期有一次,光有与恢复王位和经营所需insidly信号. 恢复王位抵抗一般线路、电容参数适合6精彩震撼,是否能恢复王位高信号机会大于2周期保证. 正在恢复王位是简单的电路,其作用是非常重要的. 张一电脑芯片系统可正常运作,应先检查一下,才能恢复王位没有
13、成功. 检测可以流行头和监督寄与初步示波器,并把恢复王位的关键,波的形式,并认为有足够的距离输出(瞬间),也就是通过它来恢复电路值进行实现改变。structure and function of the mcs-51 series structure 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
14、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 ar
15、e 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 midd
16、le 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
17、 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 c
18、ontrol 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) s
19、tretch 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
20、 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, 8s accumu
21、lation 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 loo
22、pback 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 , t
23、he 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
24、 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 un
25、it 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, the
26、y 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
27、, 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 r
28、ank 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 w
29、ill, 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 prin
30、ceton. 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 k
31、ind 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 d
32、ata 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 di
33、fferent 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-
34、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
35、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-wa
36、y bus, send the introduction of 8 low addresses and data / export in timesharing 待添加的隐藏文字内容3the 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 designin
37、g 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 c
38、ommon 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 o
39、ut 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
40、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
41、 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 outwa
42、rds, draw the resistance on neednt 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 d
43、ata 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
44、, 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 oclock, output q end signal; act as q =at 1 oclock,
45、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 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 loca
46、tion 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 l
47、oad 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 r
48、esistance 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 basi
49、ng 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 throne is the operation of initializing of an one-chip computer. its main function is to turn pc into
50、 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 arent mistake, in order to extricate oneself from a predicament , need to be press
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 代销合作合同范本
- 快消品平面广告制作合同案例
- 电脑租赁合同谈判要点
- 全面供货合同样本集
- 有关网络期货交易合同范例
- 术中唤醒手术
- 《k线组合淘金术》课件
- 产后护理身材护理
- 小学生道德讲堂活动
- 海绵刷项目可行性研究报告
- 英文版肺功能检查课件(PPT 50页)
- 《有机合成》说播课课件(全国高中化学优质课大赛获奖案例)
- 高中地理经纬网PPT通用课件
- 城市景观生态
- 五年级英语上册第六单元(新版pep)完美版(课堂PPT)
- 2022年修理厂改革实施方案范文
- 败血症PPT优质课件
- 铁路建设项目工程质量管理办法
- 架空输电线路检修规范
- 【课件】第六单元第十二节外国影视音乐课件-2021-2022学年高中音乐人音版(2019)必修音乐鉴赏
- 血凝报告单模板
评论
0/150
提交评论