当前位置:网站首页>STM32 concept and installation [day 1]
STM32 concept and installation [day 1]
2022-07-24 01:55:00 【Red guest white hat】
STM32 Concept and installation
One 、 cognition STM32
1、STM32 Concept
STM32: STMicroelectronics is based on ARM The company's Cortex-M Kernel developed 32 Bit high performance 、 Low power MCU . ST: Italian French semiconductor
M: be based on ARM The company's Cortex-M The high performance of the kernel 、 Low power MCU32:32 Bit MCU
2、STM32 Developed products
STM32 Developed products : Unmanned aerial vehicle (uav) 、 Sweeping robot 、3D The printer 、 Balancing machine 、 Smart bracelets, etc
3、 Study STM32 Corresponding recruitment position
Recruitment position : MCU development engineer 、 SCM software engineer 、STM32 Development Engineer 、 Embedded Development Engineer 、 Embedded Software Engineer .

Two 、ARM And STM32
` Embedded system Application centric , Based on computer technology , Software and hardware can be reduced , To adapt the application system to the function 、 reliability 、 cost 、 Special computer system with strict requirements for volume and power consumption .( written examination ) Characteristics of embedded system Hardware features Small volume 、 High integration efficiency . For specific applications . Low power consumption 、 Good electromagnetic compatibility . Software features The development of embedded software is closely related to hardware . Software code requires high efficiency and high reliability . Software is generally solidified in Flash or Rom in . The software system has high real-time performance . It is generally used C Language development .`
1、ARM And STM32
`ARM--Advanced RISC Machine ARM It's the name of a British electronics company ARM Dare to be the first in the world , Pioneered chipless Production mode of , That is, the company does not produce chips , Nor design chips , It's about designing efficient IP( intellectual property right ) kernel , Licensed to semiconductor companies . ARM Provides a range of kernels 、 System expansion 、 Microprocessor and system chip solutions ARM It's universal 32 position RISC processor ARM It is a high-performance processor with low power consumption ARM Three cores of the chip :Cortex-X1、Cortex-A、Cortex-R、Cortex-M ARM Cortex-A Series is an application processor ARM stay Cortex-A Series processors can be sorted roughly as :Cortex-A78 processor Cortex-A77 processor 、Cortex-A76 processor 、Cortex-A57 processor 、Cortex-A53 processor 、Cortex-A15 processor 、Cortex-A9 processor 、Cortex-A8 processor 、Cortex-A7 processor 、Cortex-A5 processor 、ARM11 processor 、ARM9 processor 、ARM7 processor product : mobile phone 、 Flat 、 TV 、 Smart speaker, etc ARM Cortex-R For real-time processors Reliability is required 、 High availability 、 Fault tolerance 、 The embedded system with maintainability and real-time response provides high-performance computing solutions . High performance : Fast processing capability combined with high clock frequency real time : Processing power meets hard real-time limits in all situations Security : A reliable and reliable system with high fault tolerance economic : For optimal performance 、 Power and area features . ARM Cortex-M Processor family ARM Cortex-M The processor family is a family of energy-efficient, upward compatible 、 Easy to use processor , Help developers meet the needs of future embedded applications . Provide more functions at a lower cost 、 Increasing connectivity 、 Improve code reuse and energy efficiency . Lower power consumption The code is smaller Easier to use More competitive Cortex-M Series cost and power sensitive MCU And terminal applications ( Such as intelligent measurement 、 Man machine interface equipment 、 Automotive and industrial control systems 、 Large household appliances 、 Consumer products and medical devices ) The mixed signal equipment of is optimized . Cortex-M The series is subdivided into M0、M3、M4、M7 And ultra-low power consumption M0+ product : Unmanned aerial vehicle (uav) 、 Sweeping robot 、3D The printer 、 Balancing machine 、 Smart bracelets, etc `
3、 ... and 、 Development environment installation and engineering construction
1、 soft 、 Hardware preparation
Hardware preparation : Guangdong inlay STM32F407ZET6 Development board 、jlink Downloader 、 The computer . Software preparation :
(1)keilv5 Software , Download url :https://www.keil.com/download/product/( Software path :D:\STM32\STM32 Class materials \STM32 Development of information \ development environment \MDK5\mdk528a.exe)
(2)STM32 Developed library functions , Download url :https://www.keil.com/dd2/Pack/( route :D:\STM32\STM32 Class materials \STM32F4 Device support package \Keil.STM32F4xx_DFP.1.0.8.pack)
(3)STM32F4 Official information :https://www.stmcu.org.cn/( route :D:\STM32\STM32 Class materials \STM32 Development of information \ Documentation )
2、 STM32 Chip type identification

3、 Install software and library support package
All software is opened with administrator privileges . Turn off antivirus software , Computer firewall .
(1) install keil v5 Software , Reference blog :https://blog.csdn.net/wwwqqq2014/article/details/115412594
(2) Double click installation STM32 Library support package :Keil.STM32F4xx_DFP.1.0.8.pack( route :D:\STM32\STM32 Class materials \STM32F4 Device support package )
(3) Reference documents :STM32 Project establishment steps .docx establish STM32 engineering
(4) Reference documents :J-Link To configure .docx, Complete the downloader configuration
Four 、 problem
1、 Access to relevant information , Understand what registers are
Registers are part of the CPU . Register is a high-speed storage component with limited storage capacity , They can be used to hold instructions 、 Data and address . In the control unit of the CPU , The registers included are instruction registers (IR) And program counter (PC). In the arithmetic and logic components of the central processing unit , Registers have accumulation device (ACC).
2、 The function of register
1、 It can perform arithmetic and logic operations on the data in the register
2、 An address stored in a register can be used to point to a location in memory , Namely addressing
3、 Peripheral devices that can be used to read and write data to the computer .
3、 Assumed variable unsigned char temp = 0x78, Please put the second position as 1, Sixth place Qing 0( Sixth position 0), It will not affect other bits
0x78( Hexadecimal ) 0 1 1 1 1 0 0 0
The first 7 position The first 0 position
answer :
temp |=(0x01<<2) or temp |=(1<<2)
temp &= ~(0x01<<6) or temp &=~(1<<6)
Study in blocks , Next section see you
边栏推荐
- Detailed explanation of php7 garbage collection mechanism
- Quick sort considerations
- Advantages and disadvantages of XML
- The third week of summer vacation
- Disadvantages of win11
- How to install, download and use the latest version of IDM software
- Draw pictures with canvas
- Non boost ASIO notes: UDP UART socketcan multicast UDS
- Review of HCIA
- Win11 highlights of win11 system
猜你喜欢

MySQL Basics (operators, sorting and paging, multi table queries, functions)

Topological sorting & critical path

Hospital network security architecture

Hcip experiment
![[code case] website confession wall & to do list (including complete source code)](/img/90/c98295ce16551c775380ad6a912956.png)
[code case] website confession wall & to do list (including complete source code)

Arm architecture and programming 7 -- exceptions and interrupts (based on Baiwen arm architecture and programming tutorial video)

About rapidssl certificate

深入了解-微信开发者工具

Webshell management tool and its traffic characteristics analysis

What is the Gantt chart function of Zen
随机推荐
Cmake Getting Started tutorial
141. Circular linked list
How to solve the problem that the universal vision NVR device is connected to the easycvr platform and cannot be online after offline?
Talk about the top 10 mistakes often made in implementing data governance
On the possibility and limitation of defi in the metauniverse
Spark memory management mechanism new version
Distributed resource management and task scheduling framework yarn
Spark partition operators partitionby, coalesce, repartition
Three document usage
医院无线网络系统设计
医院网络安全架构
MGRE GRE OSPF process in hcip
医院综合布线
Matplotlib save image to file
Second and third order trade expressions of linear algebra
CANopen communication - PDO and SDO
中小型医院基础网络解决方案
Digicert code signing certificate
Notes - record the solution to the failure of @refreshscope dynamic refresh configuration
利用canvas画图片
