网站大量收购独家精品文档,联系QQ:2885784924

第2章_硬件结构双语教学_黄英_《单片机原理及应用》讲义.ppt

第2章_硬件结构双语教学_黄英_《单片机原理及应用》讲义.ppt

  1. 1、本文档共51页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
第2章_硬件结构双语教学_黄英_《单片机原理及应用》讲义

Microcontroller Principle and Application Chapter 2 Hardware structure of microcontroller 2.1.1 The features of 8051 core ? 8051 : The core of MCS-51 devices The original member of the MCS-51 familiy Block Diagram of 8051 core Figure: 2.4.1 Clock circuit Fig.1 Using the On-Chip Oscillator 2.5.3 Power down mode Home Work of Chapter 2 P43 (一)填空题(全部,共6题) (二)选择题(全部,共7题) ? Because Ports 1, 2, 3 have fixed internal pull-ups, they are sometimes called quasi-bidirectional ports. ? Port 0, on the other hand, is considered truly bidirectional, because it floats when configured as an input (a high-impedance input). 2.3 Parallel Input/output ports ? To be used as an input, the port bit latch must contain a “1”, which turns off the output driver FET. ? So the pin is pulled high by the internal pull-up resisters but can be pulled low by an external source. ? Port 1, 2, 3 have internal pull-up resisters. ? After reset, “1” writes to all port latches. 2.3.5 Operation of the pin of port 0, 2, 3 2.3 Parallel Input/output ports ? Please analyze by yourself ? Similar to that of port 1 Return Chapter 2 Hardware structure of microcontroller 2.4 Clock circuit and timing What’s Timing ? The time correlation among signals in executing instructions. What’s Clock Circuit ? To produce timing signals for running microcontroller. 2.4 Clock circuit and timing 1. On-chip oscillator ? All MCS-51 microcontrollers have an on-chip oscillator which can be used as the clock source for CPU. 2. Using the On-Chip Oscillator ? To connect a crystal or ceramic resonator between the XTAL1 and XTAL2 pins, and capacitors to ground. 2.4.1 Clock circuit C1, C2: about 30pF Range of resonator frequency : 1.2MHz~12MHz(Range) 6MHz(often) 12MHz(high speed serial communication) 40MHz(show up) 2.4.1 Clock circuit Clock Circuit: See the Fig.2 Fig.2 Clock Circuit ? The internal clock generator produces

文档评论(0)

xcs88858 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8130065136000003

1亿VIP精品文档

相关文档