当前位置:网站首页>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 .
边栏推荐
- [MySQL] database knowledge record
- How to delete the virus of inserting USB flash disk copy of shortcut to
- Word import literature -mendeley
- Today, share the wonderful and beautiful theme of idea + website address
- Opendrive ramp
- Esmini longspeedaction modification
- Simple operation of running water lamp (keil5)
- (tool use) how to make the system automatically match and associate to database fields by importing MySQL from idea and writing SQL statements
- I 用c l 栈与队列的相互实现
- Batch modify the txt file code to UTF-8 (notepad++)
猜你喜欢

Numpy——1.數組的創建

大学生活的自我总结-大一

Numpy——1. Creation of array

UE5热更新-远端服务器自动下载和版本检测(SimpleHotUpdate)

I implement queue with C I

Using GEE plug-in in QGIS

Set theory of Discrete Mathematics (I)

How to deal with excessive memory occupation of idea and Google browser

HDU1231 最大连续子序列(分治or动规or双指针)

Pagoda create multiple sites with one server
随机推荐
And play the little chestnut of dynamic agent
Package ‘*****‘ has no installation candidate
Batch modify the txt file code to UTF-8 (notepad++)
I implement queue with C I
Eclipse project recompile, clear cache
Matrix keyboard scan (keil5)
Mouse click fireworks explosion effect
arcpy. SpatialJoin_ Analysis spatial connection analysis
Differences between pycharm and idle and process -- join() in vs Code
Basic series of SHEL script (III) for while loop
Efficiency difference: the add method used by the set directly and the add method used by the set after judgment
Using C language to realize IIC driver in STM32 development
Day07 type of mathematical operator automatic conversion relational operator bitwise operator blind date math
Machine learning Seaborn visualization
Apple system shortcut key usage
Tshydro tool
UNIX commands often used in work
list. files: List the Files in a Directory/Folder
Don't confuse the use difference between series / and / *
deepin 20 kivy unable to get a window, abort