STM32 Getting Started Learning Experience Summary

Publisher:黄金大花猫Latest update time:2017-11-12 Source: eefocusKeywords:STM32 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere


    1. Why spend time on "hesitation"?

    Experience summary: Whenever we get started (ARM is like this, DSP is the same), there will always be many questions and concerns. We are eager to know what the prospects of learning STM32 are? What foundation is needed? Is it difficult? Is it suitable for me? But when can we start learning STM32 with excitement and anxiety? Days are passing day by day! Have you started to act? Without thinking about action, you will never get started! Use this time to read books, the effect can be 10,000 times better.

    Everyone generally comes from 51 single-chip microcomputers. Think back, how did we get started when we learned single-chip microcomputers before? In fact, we all read books first (theory) and then play with boards (practice). Strictly speaking, it should be an imitation experiment. Only after familiarity will you write program code to implement a certain function. Therefore, if you are consulting STM32; if you are excited about STM32; if you want to get started with STM32; then, from now on, don't hesitate, don't think about the prospects of STM32 in detail. Make a decision that may affect your life! No need to consult, no need to get excited, start reading books (documents)!! Everyone has come this way.

    2. Why do you feel you have no idea where to start and have no clue when reading materials

    ? Experience summary: Reading materials requires planning, patience and speed. The so-called "materials" here include STM32 books and documents. Because STM32 has a feature that many datasheets are in Chinese, some students did not buy books and directly read the STM32 user manual. However, whether reading books or documents, we need to plan. It's not 3 pages today and 5 pages tomorrow. I have been reading a book for two months and I am still procrastinating. Please remember that you are not learning loneliness, but STM32! Reading books or documents is not to kill time. Fight with your back to the wall and set a bottom line for yourself: go through it roughly within two weeks! Don't ask to understand everything. In fact, it is impossible to understand everything. But we must understand the basic knowledge and have an impression of the difficult knowledge. At least when we encounter problems in the future, we will feel familiar and feel that we have seen it somewhere before, so we will look up the information and search for answers on the Internet. When we have questions, the efficiency is super high.

    Two weeks have passed. Have you read the knowledge of STM32? Have you not finished it? Then, you should consider whether you have tried your best in these days. Do you really want to learn STM32? Or do you still want to keep up with the trend because STM32 is very popular? Do you want to give up when you encounter problems that you can't solve? Now is the time for you to make a second decision. Please decide whether you will continue to study STM32. If you want to keep up with the trend on impulse, please give up immediately. You have wasted two weeks. Do you want to waste another 14 days? If you want to endure hardships and become a superior person, OK, please continue reading:)

    3. Do you DIY the development board yourself or buy a ready-made one?

    Experience summary: After understanding some theoretical knowledge, there are two ways in front of you:

    first, draw the PCB board, solder, and debug by yourself.

    Second, choose a cost-effective development board.

    I have done PCB design several times before, and at that time, all expenses could be reimbursed in the laboratory, so I made a PCB board myself. It is recommended that students who have reimbursement conditions design a board to learn by themselves. After all, the design of a 2-layer PCB is not very difficult.

    Students who cannot be reimbursed can buy a development board to learn. Because it costs at least 150 yuan to make the board yourself, plus the cost of chip components and LCD screen, it may cost about 250 yuan to make the smallest system. So it is more cost-effective to buy a development board. After all, the STM32 development board on the market is already very cheap. It is not convenient to compare the STM32 development boards of various brands here. I personally recommend the STM32 Shenzhou series development board, which is relatively powerful on the market. After all, it is built by the official team, and the cost performance and documentation are very perfect. There are 400 to 500 pages of documents, and various specifications can be selected according to personal circumstances. Mine is the STM32 Shenzhou III development board.

    In a word, the development board you choose must be the most cost-effective and have the most complete information, rather than the most affordable but incomplete one. Sometimes it doesn't matter if it's a little expensive. Sharpening the knife does not delay the work. Having a good board is equivalent to having a good hoe. In fact, most students choose development boards for learning, not for project development. Therefore, it is very important to make it easy for you to get started with STM32 and have complete information, which can save a lot of time. As the saying goes, time is money.

    4. Familiar with the development board and try to write programs

    Experience: At this time, you can no longer stay in theory. Your current mood should be: seeing the development board, you immediately feel an indescribable excitement! However, you can't eat hot tofu in a hurry! Please patiently browse the development board manual provided by the manufacturer and familiarize yourself with the development board you bought. According to the manual, do all the relevant tests and operation steps on the development board, and you will find that it is so simple to develop STM32! Then let's start the road to STM32 embedded master development!


Keywords:STM32 Reference address:STM32 Getting Started Learning Experience Summary

Previous article:For beginners - suggestions for learning STM32
Next article:A topic about the unstable sine signal collected by STM32F207 AD

Recommended ReadingLatest update time:2024-11-23 07:41

STM32 Series Part 7 - Basic Principles of Serial Communication
Two communication methods: 1. Serial communication Transmission principle: data is transmitted in bit order. Advantages: less pin resources Disadvantages: Relatively slow 2. Parallel communication Transmission principle: each bit of data is transmitted simultaneously. Advantages: Fast speed Disadvantages: Occup
[Microcontroller]
STM32 Series Part 7 - Basic Principles of Serial Communication
Understanding of SysTick_Init() function and Delay_us() in STM32
Understanding of SysTick_Init() function (sysTick_Config(), TimingDelay_Decrement() customization) and Delay_us() in STM32: Experiment: 3 LED lights flash at a frequency of 500ms.
[Microcontroller]
STM32 Study Notes 5: Getting Started with Library Functions
Firmware library file analysis: 1- Startup file written in assembly startup_stm32f10x_hd.s: Set the stack pointer, set the PC pointer, initialize the interrupt vector table, configure the system clock, use the C library function _main to finally go to the C world 2-Clock Configuration File system_stm32f10x.c: Set the
[Microcontroller]
STM32 Study Notes 5: Getting Started with Library Functions
ADS8684 driver based on STM32
Environment: STM32F103RC, main frequency 72MHz (external crystal) or 64MHz (HSI)          Ordinary IO port simulates spi Note: After changing the range in automatic scanning mode, AUTO_RST_Mode() must be added. Code: // ADS8684.c     #define ADS8684_GLOBALS #include "ADS8684.h"   /*****************************
[Microcontroller]
STM32 debugging support (DBG)
The STM32F10xxx uses the Cortex™-M3 core, which contains a hardware debug module that supports complex debugging operations. The hardware debug module allows the core to stop when fetching instructions (instruction breakpoints) or accessing data (data breakpoints). When the core stops, the internal state of the core
[Microcontroller]
STM32 debugging support (DBG)
STM32 interrupt priority grouping
The Cortex-M3 can have up to 8 interrupt priority grouping methods, because CM3 has a mandatory rule that SubPriority must occupy at least one bit (if there is no such mandatory rule, then there are up to 9 CM3 grouping methods). We know that STM32 makes the MSB4 bits of the register that specifies the interrupt prior
[Microcontroller]
Design of CAN bus motion controller based on STM32 and FPGA
    Nowadays, motion control is developing in the direction of high speed, high precision and openness, which puts forward higher requirements for the execution components. In the past, motion controllers were mainly based on single-chip microcomputers or PLCs plus discrete digital circuit designs. Due to the performan
[Microcontroller]
Design of CAN bus motion controller based on STM32 and FPGA
About STM32 FLASH operation
When it comes to STM32's FLASH, our first reaction is that it is used to install programs. In fact, the STM32's on-chip FLASH is not only used to install programs, but also to install chip configuration, chip ID, bootloader, etc. Of course,  FLASH can also be used to store data. FLASH Classification According to the
[Microcontroller]
Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号