当前位置:网站首页>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
边栏推荐
猜你喜欢
PowerMockup 4.3.4::::Crack
LVS负载均衡集群
易基因|RNA m5C甲基化测序(RNA-BS)技术介绍
E-commerce data warehouse ODS layer-----log data loading
21天打卡挑战学习MySQL——《MySQL工具的使用》第一周 第二篇
【历史上的今天】8 月 3 日:微软研究院的创始人诞生;陌陌正式上线;苹果发布 Newton OS
2022的七夕,奉上7个精美的表白代码,同时教大家快速改源码自用
软件测试人员必备的60个测试工具清单,建议收藏一波~
113. Teach a Man how to fish - How to query the documentation and technical implementation details of any SAP UI5 control property by yourself
三年黑盒测试工程师对嵌入式软件测试的理解
随机推荐
385. Mini Parser
Bytebase数据库 Schema 变更管理工具
CAS:1620523-64-9_Azide-SS-biotin_生物素-二硫-叠氮
[N1CTF 2018] eating_cms
CAS:1192802-98-4_UV 裂解的生物素-PEG2-叠氮
What is Adobe?
start with connect by implements recursive query
互联网用户账号信息管理规定今起施行:必须严打账号买卖灰产
目标检测技术研究现状及发展趋势
上课笔记(6)(1)——#629. 表达式括号匹配(stack)
CAS:1797415-74-7_TAMRA-Azide-PEG-Biotin
480. Sliding Window Median
XSS online shooting range---Warmups
How to deal with commas in the content of the CSV file of the system operation and maintenance series
CAS:1260586-88-6_Biotin-C5-Azide_Biotin-C5-Azide
决策树、GBDT、XGBOOST树的可视化
CAS:908007-17-0_Biotin-azide _生物素叠氮化物
shell编程基础
Teach a Man How to Fish - How to Query the Properties of Any SAP UI5 Control by Yourself Documentation and Technical Implementation Details Demo
21天打卡挑战学习MySQL——《Window下安装MySql》第一周 第三篇