当前位置:网站首页>Embedded systems: overview
Embedded systems: overview
2022-08-03 22:11:00 【TUTUATM】
I. Overview
Embedded Systems: Small computer systems embedded in electronic devices
- The structure is relatively simple, but the basic computer system components are all there
- Low power consumption
(1) System composition
System Diagram
1.CPU core: Different processor architectures use different CPUs
- CISC (Complex Instruction Set Architecture)
- RISC (Reduced Instruction Set Architecture)
2. Debug System: Embedded System Debug Interface
- JTAG: Joint Test Action Group
- SWD: Serial Wire Debug
Different device manufacturers have their own emulators (USB to the above protocol)
3. Storage system: storing instructions and data
- Instruction Storage (Flash/ROM)
- Data Storage (SRAM)
4. Interrupt System: Managing Embedded System Interrupts
- NVIC: Nested Vectored Interrupt Controller, in the ARM core, interrupt management module
5. Peripheral system: Embedded system peripherals, communicate with the kernel system through the bus
- Address bus
- Control Bus
- Address bus
(2) Programming
1. Memory Map: Uniform Addressing
Unify addressing of any device (memory, peripherals, etc.) except the CPU, and then access each external device through the address
2. Manual reading
(1) Overall view the characteristics of the MCU and what peripherals it has
(2) Check the overall hardware block diagram of the MCU to understand the hardware structure of the entire MCU
(3) Check the block diagram of the clock part to find out what clock sources the MCU has and how many frequency clock divisions it can provide
(4) Check the pin diagram of the MCU to know which pins can be used
(5) View peripheral related things according to the corresponding peripheral
- Peripheral functions
- Steps for peripheral configuration
- Peripheral registers
3. Programming process
(1) Initialization
- Clock on
- Related pin configuration: multiplexing or not
- Peripheral register configuration: function mode selection, clock configuration, working mode configuration
- Enable configuration: peripheral enable, interrupt enable or not
(2) Data read and write
- Query mode
- Directly read and write data register buffer
- Interrupt Mode
- Whether the interrupt flag is generated (interrupt trigger source)
- Data transmission and reception (data register buffer)
- Clear the interrupt flag
- DMA Mode
边栏推荐
- 关于GPIO你真的懂了吗?这篇文章都给你整理好了
- Flutter 桌面探索 | 自定义可拖拽导航栏
- YOLO之父宣布退出CV界,坦言无法忽视自己工作带来的负面影响
- 从0到1看支付
- 1 秒完成授权,Authing 全新上线一键登录功能
- Makefile
- XSS online shooting range---haozi
- 【刷题篇】二叉树的右视图
- Gains double award | know micro easily won the "2021 China digital twin solution suppliers in excellence" "made in China's smart excellent recommended products" double award!
- noip初赛
猜你喜欢

CAS:1260586-88-6_生物素-C5-叠氮_Biotin-C5-Azide

Data_web(九)mongodb增量同步到mongodb

Flutter 桌面探索 | 自定义可拖拽导航栏

CAS:1192802-98-4_UV 裂解的生物素-PEG2-叠氮

CAS:908007-17-0_Biotin-azide_Biotin azide

Pay from 0 to 1
![[kali-vulnerability scanning] (2.1) Nessus lifts IP restrictions, scans quickly without results, and plugins are deleted (middle)](/img/93/0b78b6a930380aeecfbbb156df7498.png)
[kali-vulnerability scanning] (2.1) Nessus lifts IP restrictions, scans quickly without results, and plugins are deleted (middle)

YOLO之父宣布退出CV界,坦言无法忽视自己工作带来的负面影响

亿流量大考(2):开发一套高容错分布式系统

HCIP第十三天
随机推荐
Cross-end development technical reserve record
如何基于WPF写一款数据库文档管理工具(二)
386. Lexicographical Numbers
2022年全国职业院校技能大赛网络安全 B模块 任务十windows操作系统渗透测试 国赛原题
线上服务器老是卡,该如何优化?
易基因:植物宏病毒组研究:植物病毒的进化与生态 | 顶刊综述
483. Smallest Good Base
三年黑盒测试工程师对嵌入式软件测试的理解
Codeup brushing notes - simple simulation
21天打卡挑战学习MySQL——《Window下安装MySql》第一周 第三篇
466. Count The Repetitions
Flutter 桌面探索 | 自定义可拖拽导航栏
Optimize the query (work in progress)
How to write a database document management tool based on WPF (2)
IO thread process -> thread synchronization mutual exclusion mechanism -> day6
385. Mini Parser
480. Sliding Window Median
CAS:1797415-74-7_TAMRA-Azide-PEG-Biotin
目标检测技术研究现状及发展趋势
云计算国内外发展现状