当前位置:网站首页>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
边栏推荐
- 《强化学习周刊》第56期:GraphIRL、REDEEMER & 眼科强化学习的潜在研究
- 数据一致性:双删为什么要延时?
- 易基因:植物宏病毒组研究:植物病毒的进化与生态 | 顶刊综述
- Cisco ike2 IPSec配置
- YOLO之父宣布退出CV界,坦言无法忽视自己工作带来的负面影响
- CAS:1260586-88-6_Biotin-C5-Azide_Biotin-C5-Azide
- Golang Chapter 1: Getting Started
- 【bug】汇总Elipse项目中代码中文乱码解决方法!
- CAS:1192802-98-4_UV 裂解的生物素-PEG2-叠氮
- 【历史上的今天】8 月 3 日:微软研究院的创始人诞生;陌陌正式上线;苹果发布 Newton OS
猜你喜欢
随机推荐
2022-08-02 mysql/stonedb slow SQL-Q18 - memory usage surge analysis
382. Linked List Random Node
VIM操作
4年工作经验,多线程间的5种通信方式都说不出来,你敢信?
XSS online shooting range---Warmups
Codeup刷题笔记-简单模拟
CAS:153162-70-0_N-BOC-6-Biotinamidohexylamine
决策树、GBDT、XGBOOST树的可视化
电商数仓ODS层-----日志数据装载
21天打卡挑战学习MySQL——《Window下安装MySql》第一周 第三篇
[kali-vulnerability scanning] (2.1) Nessus lifts IP restrictions, scans quickly without results, and plugins are deleted (middle)
How to write a database document management tool based on WPF (2)
CAS:153162-70-0_N-BOC-6-生物素酰氨基己胺
nxp官方uboot移植到野火开发板PRO(修改LCD部分和网络部分)
Causes of Mysql Disk Holes and Several Ways to Rebuild Tables
What is Adobe?
2022-08-02 mysql/stonedb慢SQL-Q18-内存使用暴涨分析
如何基于WPF写一款数据库文档管理工具(二)
HCIP第十五天
嵌入式系统:概述









