当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
CAS:1620523-64-9_Azide-SS-biotin_生物素-二硫-叠氮
382. Linked List Random Node
UVa 10003 - Cutting Sticks(白书,区间DP)
Security Fundamentals 8 --- XSS
Data_web(九)mongodb增量同步到mongodb
Flutter 桌面探索 | 自定义可拖拽导航栏
CAS:1260586-88-6_Biotin-C5-Azide_Biotin-C5-Azide
【bug】汇总Elipse项目中代码中文乱码解决方法!
关于Yii2批量更新的操作
21天打卡挑战学习MySQL—Day第一周 第一篇
488. Zuma Game
pikachu Over permission
CAS:122567-66-2_DSPE-Biotin_DSPE-Biotin
Basic Concepts of Graphs
2022年全国职业院校技能大赛网络安全 B模块 任务十windows操作系统渗透测试 国赛原题
【云原生实用技巧】使用 skopeo 批量同步 helm chart 依赖镜像
距LiveVideoStackCon 2022 上海站开幕还有3天!
电商秒杀系统
FVCOM 3D Numerical Simulation of Hydrodynamics, Water Exchange, Dispersion and Transport of Oil Spills丨FVCOM Model Watershed, Numerical Simulation Method of Marine Water Environment
Adobe是什么?
![[N1CTF 2018] eating_cms](/img/09/3599d889d9007eb45c6eab3043f0c4.png)








