当前位置:网站首页>STM32 learning (Introduction)
STM32 learning (Introduction)
2022-07-16 06:31:00 【Tong Duxiu】
stm32 The learning
Tips : Blogging is the first time to practice , I hope to make more suggestions for deficiencies
List of articles
Preface
First , My humble opinion , Get something new , It's bullshit to understand the principle first , Because in many cases, we prefer to pay attention to what we see , So I think I got something I haven't seen , We can get a mature one first demo Run, right , But if a worker wants to do well, he must first sharpen his tools , In the bare metal programming software used by Xiaobian , Yes keil Follow cube,cube At present, it is a software that many newcomers learn, but I don't like it when I use it ( It is said on the Internet that there are some bug, Xiaobian didn't find , Just not used to it ), And for the bottom layer, he seems to be shielded ( Some omissions ) So the first step is to make software
One 、keil Installation
Xiaobian doesn't say much , I'll find you something of this level
link
Here is a few additional words. If there is nothing in it, leave a message in the comment area , Xiaobian will update to Baidu cloud , But there are many online
Two 、 run demo Before , So let's see stm32 What paves the way first
According to xiaobian , Whether it's stm32 Or other microcontrollers like aruino Follow 51, They are programmable chips that run the corresponding functions according to the compiled binary files , You can use language (c/c++/python/lua) Compiling , To control the io Pin to achieve data transmission or control external devices , Of course, they are all humble opinions , The more authoritative answer should be based on some kind of architecture company, what semiconductor , But it's none of my business , It doesn't matter to you , You can only use it when you are just getting started Tips : I still have to go back and see
3、 ... and 、 Run one demo Look at the phenomenon
The simplest is the running water lamp , So let's learn from brother atomic's project ( For open source , I take atomic brother )
【 The lighting phenomenon needs to be updated 】
Four 、 Ask questions based on phenomena
1. How did you light the light
Obviously ,led It's LED, right , If led Common land , Then we just give him a high level light :
library :
GPIO_ResetBits(GPIOx,GPIO_Pin_x);
register :
GPIOB_ODR &= ~(1<<0); // Lighting 1
GPIOB_ODR |= (1<<0); // Lights out 1
Add :GPIOB_ODR ——>#define GPIOB_ODR (*(unsigned int *)0x40010C0C) Address mapping
2. What did he do before lighting the lamp ( Power on and start )
STM32 There are three startup modes for series single chip computers , Users can use the Settings BOOT0 and BOOT1 Pin level status , To select the startup mode after reset ( draw pcb Can be connected externally when )
5、 ... and . problem
Other pins can be used to light the lamp ? It may be used for other purposes ?
summary
Tips : Here is a summary of the article :
for example : That's what we're going to talk about today , This article only briefly introduces pandas Use , and pandas Provides a large number of functions and methods that enable us to process data quickly and conveniently .
边栏推荐
- Deep neural network -- implementation of LSTM composer
- HDU 3666 THE MATRIX PROBLEM (差分约束+栈优化spfa判负环)
- 嵌入式软件开发 STM32F407 按键输入 标准库版
- C语言动态内存分配原理以及堆区的使用(malloc、calloc、realloc、free)
- Macro definition leads to incorrect result of ternary operation
- POJ 2763 Housewife Wind (树链剖分+边权化点权)
- 嵌入式单片机该如何选型?
- _ button. Enable=no does not work
- HDU 2874 Connections between cities (并查集+lca倍增法)
- Evo-ViT: Slow-Fast Token Evolution for Dynamic Vision Transformer
猜你喜欢
随机推荐
RT_thread信号量的使用
DCGAN:DEEP CONVOLUTIONAL GENERATIVE ADVERSARIAL NETWORKS——论文分析
【MATLAB】matlab第二课——绘图初步
嵌入式软件开发 STM32F407 跑马灯 HAL库版
[paper notes] - conditional motion propagation - self supervised - CMP optical flow prediction - 2019-cvpr
c语言 字符串的系列操作(字符串的逆序输出、字符串类型与int、double的互相转换)
Customize breadcrumb navigation
anaconda常用指令
RTthread-线程的创建
How to export wechat chat records
【论文笔记】—暗光视频增强—Supervised—StableLLVE网络—2021-CVPR
C语言预处理指令大全
[paper notes] - dark video enhancement supervised stablllve network 2021-cvpr
【论文笔记】—低照度图像增强—ZeroShot—RRDNet网络—2020-ICME
Machine learning arrangement (introduction of several learning methods)
GAN:Generative Adversarial Nets——论文分析及其背后的数学概念
codeblocks的官网下载与安装
Dhcp-master Automated Deployment
【MATLAB】matlab第三课——绘图进阶
网页图片加载错误的处理



![[code Notes] rrdnet network](/img/90/60a738d6d3bf81dcd975ee61efbbfe.png)





