当前位置:网站首页>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 .
边栏推荐
- And play the little chestnut of dynamic agent
- Basic operation of external interrupt (keil5)
- Simple use of timeunit
- Ugnx12.0 initialization crash, initialization error (-15)
- Idea to view the source code of jar package and some shortcut keys (necessary for reading the source code)
- What is Bezier curve? How to draw third-order Bezier curve with canvas?
- What is deep learning?
- Basic series of SHEL script (III) for while loop
- Numpy——1.数组的创建
- Apple terminal skills
猜你喜欢
CADD课程学习(5)-- 构建靶点已知的化合结构(ChemDraw)
I implement queue with C I
Daily Practice:Codeforces Round #794 (Div. 2)(A~D)
Practical application cases of digital Twins - fans
大学生活的自我总结-大一
Package ‘*****‘ has no installation candidate
Machine learning Seaborn visualization
Deepin get file (folder) list
Altimeter data knowledge point 2
Play with grpc - go deep into concepts and principles
随机推荐
SQL JOINS
(top) pretty girl binary color code portal
Opendrive ramp
Openxlsx field reading problem
Simple operation of nixie tube (keil5)
arcpy. SpatialJoin_ Analysis spatial connection analysis
deepin 20 kivy unable to get a window, abort
Idea to view the source code of jar package and some shortcut keys (necessary for reading the source code)
I 用c l 栈与队列的相互实现
String alignment method, self use, synthesis, newrlcjust
NSIS search folder
Reading literature sorting 20220104
How to delete the virus of inserting USB flash disk copy of shortcut to
"Source code interpretation" famous programmer TJ's only library
Day08 ternary operator extension operator character connector symbol priority
arcgis_ spatialjoin
Let me teach you how to develop a graphic editor
QT small case "addition calculator"
Oracle-触发器和程序包
With the help of Navicat for MySQL software, the data of a database table in different or the same database link is copied to another database table