当前位置:网站首页>[single chip microcomputer] 2.1 hardware composition of AT89S52 single chip microcomputer
[single chip microcomputer] 2.1 hardware composition of AT89S52 single chip microcomputer
2022-07-27 17:38:00 【tsunaa】
Learning resources : Hardware structure of single chip microcomputer
2.1 AT89S52 Hardware composition of single chip microcomputer
(1)8 Bit microprocessor (CPU);
(2) Data storage (256B RAM);
(3) Program memory (8KB Flash ROM);
(4)4 individual 8 Bit programmable parallel I/O mouth (P0 mouth 、P1 mouth 、P2 Mouth and P3 mouth );
(5)1 A full duplex asynchronous serial port ;
(6)3 A programmable 16 Bit timer / Counter (T0、T1 and T2);
(7)1 A watchdog timer ;
(8) The interrupt system has 6 Broken source 、6 Interrupt vectors ;
(9) special function register (SFR)32 individual ;
(10) Low power consumption modes include idle mode and power down mode , And it has interrupt recovery mode under power failure mode ;
(11)3 Program encryption lock location .
All functional components in the chip are connected by a single bus , The basic structure Is still CPU The traditional microcomputer structure with peripheral chips .

CPU Special function registers are used to control various functional components (SFR,Special Function Register) Centralized control mode .
The following is an introduction to figure 2-1 All functional parts in the middle piece :
(1)CPU( Microprocessor )
8 Bit CPU, And general CPU Basically the same , It also includes Arithmetic unit and controller Two major parts , also Control oriented bit processing function .
(2) Data storage (RAM)
Intraslice For the purpose of 256B, Off slice Up to 64KB. Intraslice 256B Of RAM At high speed RAM Formal integration of , It can speed up the operation of single chip microcomputer and reduce power consumption .
(3) Program memory (Flash ROM)
Used to store programs .AT89S52 Intraslice Yes 8KB Of Flash Memory ; If the on-chip program memory capacity is insufficient , Off slice It can be expanded to 64KB Program memory , namely “ Intraslice + Off slice ” The program memory of The total capacity does not exceed 64KB.
(4) Timer / Counter
In the film 3 individual 16 Bit timer / Counter , have 4 Ways of working .
(5) Interrupt the system
have 6 individual Interrupt source ,2 level Interrupt priority .
(6) Serial port
1 individual full duplex Asynchronous serial port ,4 Ways of working . Serial communication is possible , Extended parallelism I/O mouth , It can form a multi computer system with multiple single-chip computers .
(7)P0 mouth 、P1 mouth 、P2 Mouth and P3 mouth
4 individual 8 Bit parallel I/O mouth .
(8) special function register (SFR)
share 32 individual special function register , be used for CPU Manage the peripherals in the chip 、 Control and monitor . The special function register is actually the control register and status register of each peripheral component in the chip , These special function registers Map on-chip RAM District Of 80H~FFH Within the address range of .
(9)1 A watchdog timer WDT
When the single-chip microcomputer makes the program fall into a dead cycle or fly state due to interference , Can cause MCU reset , Return the program to normal operation .
AT89S52 Fully compatible with AT89C51/AT89S51 Single chip microcomputer , Use AT89C51/AT89S51 SCM system , On the basis of retaining the original software and hardware , You can use AT89S52 Direct substitution .
边栏推荐
- Understand the basic properties of BOM and DOM
- 二舅的外甥和他的学生们
- Xcode releases test package testflight
- 面试官:什么是脚手架?为什么需要脚手架?常用的脚手架有哪些?
- How does vs2019 C language run multiple projects at the same time, how to add multiple source files containing main functions in a project and debug and run them respectively
- 数据库超话(一)
- 这种精度高,消耗资源少的大模型稀疏训练方法被阿里云科学家找到了!已被收录到IJCAI
- Purchase in Appstore
- Global string object (function type) +math object
- 【obs】NewSocketLoopEnable 网络优化
猜你喜欢

【单片机】2.1 AT89S52单片机的硬件组成

Smart fish tank design based on stm32

成本高、落地难、见效慢,开源安全怎么办?
![[OBS] newsocketloopenable network optimization](/img/ef/ae95f94ccd9389498eebf61ba40508.png)
[OBS] newsocketloopenable network optimization

【cf】#681 A. Kids Seating (Div. 2, based on VK Cup 2019-2020 - Final)

Switch and router technology-02-working principle of Ethernet switch

New attributes of ES6 array

Kubernetes第八篇:使用kubernetes部署NFS系统完成数据库持久化(Kubernetes工作实践类)

Three table joint query 2

神经网络实现手写数字分类matlab
随机推荐
Big manufacturers finally can't stand "adding one second", and companies such as Microsoft, Google meta propose to abolish leap seconds
Tencent cloud upload
步 IE 后尘,Firefox 的衰落成必然?
泰山OFFICE技术讲座:WORD奇怪的段落边框
详解二叉树之堆
Following the example of IE, is the decline of Firefox inevitable?
How does vs2019 C language run multiple projects at the same time, how to add multiple source files containing main functions in a project and debug and run them respectively
如何通过C#/VB.NET从PDF中提取表格
风口之下,隐形正畸还能走多远?
Explain the pile of binary trees in detail
7 岁男孩被 AI 机器人折断手指,仅因下棋太快?
Helm install kubevela complete makefile script content
Hidden iframe design details of SAP ui5 fileuploader
Database hyperphone (I)
今日睡眠质量记录82分
【obs】x264_encoder_encode 编码输出pts dts和 framesize
交换机和路由器技术-02-以太网交换机工作原理
Windows与网络基础-15-本地安全策略
CUE语言基础入门:CUE是一门为配置而生的语言
URL return nil and urlhash processing