当前位置:网站首页>STM32 learning method
STM32 learning method
2022-07-05 07:39:00 【Code boy】
The general requirement is to realize first and then study deeply
Project driven learning
Single chip microcomputer , It refers to basic CPU( Arithmetic unit, etc ) Package with a lot of peripherals into a chip . We write the program to CPU Running in , The control is not simple level , But peripherals , Even if the GPIO Are all peripherals . Peripherals are a series of encapsulated circuits , Only some software interfaces are missing ( There is no hardware interface inside , It's all the same chip ).
So I want to control the hardware of single chip microcomputer , The only thing to do is to configure them correctly through these interfaces , At the bottom, it is shown as the configuration of registers , You read and write to some registers , The peripheral will receive the corresponding signal trigger , Complete the corresponding function . These are basically the peripherals we encounter everyday :
Power and reset —— Operation basis , Need to know ; The clock —— Operation basis , Must master ; interrupt —— Asynchronous interaction , Must master ; Basic peripherals (FLASH/GPIO etc. )—— You can't do anything without them ; Communication peripherals (UART/I2C/SPI etc. )—— Learn what you want to use ; other (ADC/DAC/CMP etc. )—— Use and study . Configuration complete , Let's see what you want to do , Put the desired logic on it .
From my personal experience , I suggest learning like this , Now some things don't understand , It doesn't matter. , Follow the video step by step , Don't go copy Routine code , Be sure to knock with your own hand !!! At first I didn't understand , Let yourself be able to complete the routine of this chapter independently , You can write your own code without bug To run correctly .
after , You can find some small projects that apply to this chapter , Do it yourself . Like learning iic after , You can buy one iic Driven oled The screen , Do some screen display functions by yourself ,... wait . after , Before you know iic After what can be done , Look again iic The concept of , I feel much better , Because some time above , The data transfer , This is what you have come into contact with when working on projects .
In this way, after learning more about each peripheral , You can find some projects , Integrate and use the learned peripherals , In this way, there is basically no problem in the learning of single-chip computers .
If you are studying , You can also participate in some competitions , such as : Electric competition , Smart car competition ,RoboMaster wait .
边栏推荐
- Idea to view the source code of jar package and some shortcut keys (necessary for reading the source code)
- Efficiency difference: the add method used by the set directly and the add method used by the set after judgment
- And let's play dynamic proxy (extreme depth version)
- Web page Chinese display (print, etc.) GBK error, solution, software
- HDU1232 畅通工程(并查集)
- CADD course learning (5) -- Construction of chemosynthesis structure with known target (ChemDraw)
- Rename directory in C [closed] - renaming a directory in C [closed]
- QT's excellent articles
- 行测--资料分析--fb--高照老师
- 2022 PMP project management examination agile knowledge points (7)
猜你喜欢

Clickhouse database installation deployment and remote IP access

Nombre - 1. Création de tableaux

Don't confuse the use difference between series / and / *

Openxlsx field reading problem

611. Number of effective triangles

行测--资料分析--fb--高照老师

Explanation of parallel search set theory and code implementation

Miracast技术详解(一):Wi-Fi Display

Unforgettable summary of 2021
![When jupyter notebook is encountered, erroe appears in the name and is not output after running, but an empty line of code is added downward, and [] is empty](/img/fe/fb6df31c78551d8908ba7964c16180.jpg)
When jupyter notebook is encountered, erroe appears in the name and is not output after running, but an empty line of code is added downward, and [] is empty
随机推荐
Numpy——1.数组的创建
Oracle-触发器和程序包
Cookie operation
Package ‘*****‘ has no installation candidate
Microservice registry Nacos introduction
Pit record of Chmod 2 options in deepin
RTOS in the development of STM32 single chip microcomputer
Detailed explanation of miracast Technology (I): Wi Fi display
The sublime version that XP can run is 3114
P3D gauge size problem
Charles- unable to grab bags and surf the Internet
借助 Navicat for MySQL 软件 把 不同或者相同数据库链接中的某数据库表数据 复制到 另一个数据库表中
selenium 元素定位
Leetcode solution - number of islands
Mouse click fireworks explosion effect
I 用c l 栈与队列的相互实现
UNIX commands often used in work
The golang timer uses the stepped pit: the timer is executed once a day
HDU1232 畅通工程(并查集)
Typecho adds Baidu collection (automatic API submission plug-in and crawler protocol)