当前位置:网站首页>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
边栏推荐
- 快速排序注意点
- win11之缺点
- win11系统之win11亮点
- 利用canvas画图片
- Hcip day 9 notes
- Vue3 uses keep alive to cache pages, but every time you switch the tab to enter the page, it will still enter onmounted, resulting in no caching effect. Why?
- Solve the problem that the script tag is written in front of the element node and cannot get the element node
- Draw pictures with canvas
- Hundred million financing events account for more than 30%. Where is the next stop for super automation? -- Manfu Technology
- Is Huatai Securities safe to open an account? How to handle it
猜你喜欢

Exchange 2013 SSL证书安装文档

Exchange 2010通配符SSL证书安装文档

OSPF (fifth day notes)

Notes - record the solution to the failure of @refreshscope dynamic refresh configuration

Basic knowledge of mathematical vector

医院综合布线

Exchange 2010 wildcard SSL certificate installation document

Try to run this command from the system terminal Make sure that you use the correct

微信小程序之性能优化(分包、运行流程细节、精简结构、原生组件通信)

Cartland number---
随机推荐
Database security and data integrity
vantUI,Axiso,常见问题及使用:
Just started to use, ask some questions and tutorials or share posts
深入理解微信小程序的底层框架(二)组件系统、Exparser
Topological sorting & critical path
Problèmes de localisation et de planification des itinéraires (Lingo, mise en œuvre de MATLAB)
Webshell management tool and its traffic characteristics analysis
Hcip seventh day notes
Detailed explanation of php7 garbage collection mechanism
Hcip day 10 notes
[hiflow] regularly send Tencent cloud SMS sending group
Basic knowledge of mathematical vector
原生组件、小程序与客户端通信原理、video、map、canvas、picker等运行原理
How QT counts the frequency of letters in a string
Precautions for using XXL job
jenkins多任務並發構建
Arm architecture and programming 7 -- exceptions and interrupts (based on Baiwen arm architecture and programming tutorial video)
Jenkins multitâche construction simultanée
Network type (notes on the third day)
Technology enabled new insurance: the digital transformation of China Property Insurance
