当前位置:网站首页>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
边栏推荐
猜你喜欢

软件测试人员必备的60个测试工具清单,建议收藏一波~

LyScript 实现应用层钩子扫描器

CAS:908007-17-0_Biotin-azide_Biotin azide

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

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

授人以渔 - 如何自行查询任意 SAP UI5 控件属性的文档和技术实现细节试读版

斩获双奖|易知微荣获“2021中国数字孪生解决方案优秀供应商”“中国智能制造优秀推荐产品”双奖项!

2022年全国职业院校技能大赛网络安全 B模块 B-1任务一:主机发现与信息收集 国赛原题

深度学习和机器学习有什么区别?

October 2019 Twice SQL Injection
随机推荐
Cisco ike2 IPSec configuration
Codeup brushing notes - simple simulation
113. Teach a Man how to fish - How to query the documentation and technical implementation details of any SAP UI5 control property by yourself
数据一致性:双删为什么要延时?
Internet user account information management regulations come into effect today: must crack down on account trading and gray products
YOLO之父宣布退出CV界,坦言无法忽视自己工作带来的负面影响
[kali-vulnerability scanning] (2.1) Nessus lifts IP restrictions, scans quickly without results, and plugins are deleted (middle)
466. Count The Repetitions
云计算国内外发展现状
电商数仓ODS层-----日志数据装载
nxp官方uboot移植到野火开发板PRO(修改LCD部分和网络部分)
HCIP第十五天
距LiveVideoStackCon 2022 上海站开幕还有3天!
[b01lers2020]Life on Mars
CAS:1260586-88-6_生物素-C5-叠氮_Biotin-C5-Azide
趣链的产品构架
Flutter 桌面探索 | 自定义可拖拽导航栏
Optimize the query (work in progress)
Security Fundamentals 8 --- XSS
[3D检测系列-PV-RCNN] PV-RCNN论文详解、PV-RCNN代码复现、包含官网PV-RCNN预训练权重及报错问题