当前位置:网站首页>The new series of MCU also continues the two advantages of STM32 product family: low voltage and energy saving
The new series of MCU also continues the two advantages of STM32 product family: low voltage and energy saving
2022-07-03 09:54:00 【Brother gun plays embedded】
For beginners , If the MCU Theoretical knowledge of ( Like the clock tree ,GPIO/UART/IIC/SPI Etc ) There is no solid and correct cognition , Then I feel like learning from videos , Even if you learn, you probably know it, but you don't know why . Of course, it does not rule out that some friends can also lay a solid foundation according to the video ( But I think they also interspersed basic learning and understanding in video learning ).
So based on the above analysis , I suggest you :
Don't worry about getting started with video teaching
Choose one STM32 SCM theory books , Around the smallest system , First from STM32 Start with theoretical knowledge
( video + Corresponding theoretical knowledge ) -> Test board verification . To deepen theoretical knowledge
The above process may be slow , But the basic knowledge of the subject is sure to be solid , It will be of great help to the subsequent secondary development and expansion .
STM32 Advantages of single chip microcomputer
In addition to new functions and enhanced peripheral interfaces ,STM32 Interconnected columns are also provided with other STM32 The same standard interface of single chip microcomputer . This peripheral versatility improves the application sensitivity of the whole product series , Enable developers to reuse the same software in multiple designs .
new STM32 Standard peripherals include 10 A timer 、 Two 12 position 1-msample/s A / D converter ( In interleaving mode 2-msample/s)、 Two 12 Bit ADC 、 Two I2C Interface 、5 individual USART Interface and three SPI port . The peripherals of the new product are 12 individual DMA The passage and a CRC Computing unit . And others STM32 Like a microcontroller , It supports 96 Bit unique identification code .
The new series of MCU also continues STM32 The product family has two advantages of low voltage and energy saving .2.0V to 3.6V The operating voltage range is compatible with lithium batteries 、 Mainstream battery technologies such as Ni MH battery . The package is also equipped with a special pin for battery operation mode Vbat. With 72mhz Executing code from flash memory takes only 27mA electric current .
There are four low power modes , The current consumption can be reduced to two microamps . Quick start from low-power mode also saves power ; The starting circuit uses STM32 Internally generated 8MHz The signal wakes the microcontroller from the stop mode , It's not long 6 Microsecond .
STM32 Due to the variety of peripherals , Able to process analog and digital signals , The operation is simple . Applicable to the design of the control circuit .
STM32 Disadvantages of single chip microcomputer
STM32 Is to run instructions , Run the algorithm properly , But for multi-channel signal processing , Need a lot DSP Parallel processing .
Let's assume that everyone has been right about STM32 Have a certain understanding of books or documents . If you don't understand , Please read now STM32 Documents ( Leave a message at the bottom of the article and send it to the website ), To get the most basic knowledge points .
Students with good English , Please don't think you're awesome , You can only read English documents . After all, you are Chinese , You are most familiar with , The best understanding is Chinese . Reading English is still slower than reading Chinese , What we want is the shortest time , Instead of trying to remember all the details in a short time . Of course , If it's a paper , It's good to read the original English version .
STM32 When processors enter the domestic market ,ST official ( Or a third party ) Our promotion work is very good . Translated a large number of English documents , It caters to the thinking of many domestic engineers .
While studying , Focus on two important documents :《STM32F103xxx Reference manual 》,《STM32 Firmware library user manual 》( Leave a message at the bottom of the article and send it to the website ). This is for having enough time 、 Energetic students , It is recommended to download the documents you need to consult , For more information .
read 《STM32F103xxx Reference manual 》, Be sure to pay attention to , You don't need to read all —— There is no time . It is suggested to read , But the first few chapters must be read . Memory and bus architecture 、 Power control 、 Backup register 、 Reset and clock control , Common and reusable functions I/O, Interruptions and time, etc. the first few chapters must take time to read .
Later chapters , It is about the specific function module design . If we use which module , You can read which module . Like in use AD When , You need to read chapter 10 Chapter ADC. No other examples . I believe that every beginner has his own research direction and judgment .
read 《STM32 Firmware library user manual 》, Mainly to simplify programming .STM32 It provides us with a very good firmware function library , We just need to call . Of course , We can also avoid touching these firmware Libraries —— It is said that using it will make the code inefficient , That makes sense . There are also many codes written by netizens on the Internet , Functions with firmware library are not used . How to choose , It's your choice .
How to use mobile phone directly control stm32 Single chip microcomputer ?
utilize wifi To connect your mobile phone app It is also a relatively simple scheme , Of course, you can use the one that comes with your mobile phone usb Come and join us stm32 Of usb To communication ; Compared with wireless transmission , The cable usb More stable .
The single chip microcomputer directly controls the mobile phone with hardware , Mainly using mobile phones usb I've been communicating with the single chip microcomputer . There are mainly two ways :
1、 Mobile phones are in host Pattern : That is, the mobile phone will not provide power to the device , stay usb In the communication process, the mobile phone acts as a slave ;
2、 Mobile phones are in otg Pattern : Mobile phones can provide power to devices , For example, the mobile phone is passing otg Adapter connection u Disk reading data, etc , That's the pattern .
边栏推荐
- Nodemcu-esp8266 development (vscode+platformio+arduino framework): Part 3 --blinker_ MIOT_ Light (lighting technology app control + Xiaoai classmate control)
- Intelligent home design and development
- Nr-prach: access scenario and access process
- 当你需要使用STM32某些功能,而51实现不了时, 那32自然不需要学
- Fundamentals of Electronic Technology (III)__ Chapter 6 combinational logic circuit
- 2021-09-26
- [combinatorics] Introduction to Combinatorics (combinatorial thought 2: mathematical induction | mathematical induction promotion | multiple induction thought)
- I didn't think so much when I was in the field of single chip microcomputer. I just wanted to earn money to support myself first
- Uniapp realizes global sharing of wechat applet and custom sharing button style
- MYSQL数据库底层基础专栏
猜你喜欢
Blue Bridge Cup for migrant workers majoring in electronic information engineering
Fundamentals of Electronic Technology (III)_ Chapter 2 principle of amplification circuit__ Crystal triode and field effect triode
Uniapp realizes global sharing of wechat applet and custom sharing button style
Project cost management__ Cost management technology__ Article 6 prediction
STM32 serial port usart1 routine
手机都算是单片机的一种,只不过它用的硬件不是51的芯片
Convert IP address to int
Happy Dragon Boat Festival—— Zongzi written by canvas~~~~~
Electronic product design, MCU development, circuit cloning
Nr--- Pusch I: sorting out the agreement process
随机推荐
IDEA远程断点调试jar包项目
byte alignment
STM32 interrupt priority management
I didn't think so much when I was in the field of single chip microcomputer. I just wanted to earn money to support myself first
Idea remote breakpoint debugging jar package project
PRACH --- originator
307. Range Sum Query - Mutable
嵌入式本来就很坑,相对于互联网来说那个坑多得简直是难走
Getting started with shell programming
[untitled] proteus simulation of traffic lights based on 89C51 Single Chip Microcomputer
Development of fire evacuation system
MySQL的简单使用(增删改查)
Blue Bridge Cup for migrant workers majoring in electronic information engineering
Project cost management__ Cost management technology__ Article 8 performance review
Assignment to '*' form incompatible pointer type 'linkstack' {aka '*'} problem solving
All processes of top ten management in project management
STM32 serial communication principle
Flink learning notes (XI) table API and SQL
Fundamentals of Electronic Technology (III)__ Fundamentals of circuit analysis__ Basic amplifier operating principle
SCM career development: those who can continue to do it have become great people. If they can't endure it, they will resign or change their careers