ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

嵌入式系统原理与设计 Principles of Embedded System and Design

2021-09-15 11:03:28  阅读:221  来源: 互联网

标签:instruction embedded Embedded Principles system System Cortex M3 ARM


Overview

This course is mainly an experimental course.

I remember that after we spent about four weeks learning some theoretical knowledge, and then we embarked on designing our own embedded projects.

Theoretical knowledge includes:

  • Structure of embedded system
  • Introduction to Cortex-M3 chip and its instruction system

一、Structure of embedded System

Embedded system is a special-purpose computer system.

It integrates software and hardware, and normally has a well-controlled volume and power consumption.

Like the control system of a car.

Essential-Parts-of-an-Embedded-System

The essential parts of an embedded system are Core/CPU, Memory and Hardwired Unit like Timer.

Core is the most important element. And one of the Core we learned is Cortex-M3.

二、Introduction to Cortex-M3

1) Cortex-M3 and ARM

Cortex-M3 is a 32-bit processor core, which adopts the Harvard architecture.

arm-m3

The core is designed by ARM. After obtaining patent authorization, chip compannies can add parts to the core to make their own chips.

Like Snapdragon from Qualcomm.

2) Instruction System

The ARM instruction system is too complex, I will only describe the general format of the ARM instructions here.

The general format of the ARM instruction is:

ins

The content in <> Angle brackets is necessary, the content in {} Curly braces can be omitted

  • opcode is an instruction mnemonic, such as MOV.
  • {S} determines whether the execution result of the instruction affects the value of APSR.
  • Rd stands for destination register
  • Rn represents the source register
  • OP2 represents the third operand, which can be an immediate value or a register.

Example:

ADDEQS R0,R1,#8

三、结课项目

We bought the STM32F103C8T6 development board kit and assembled it with the motor, mecanum wheel, and Bluetooth module to make a smart car that can be controlled by an app.

The IDE we use is Keil's μVision 5. The source code of the car is written in C language.

In addition, I also wrote an Android APP for controlling the vehicle via Bluetooth in Java language.

标签:instruction,embedded,Embedded,Principles,system,System,Cortex,M3,ARM
来源: https://www.cnblogs.com/danielwong2021/p/15271293.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有