STM32_正点原子
STM32_正点原子
QT-Smile
这个作者很懒,什么都没留下…
展开
-
STM32F103_study66_The punctual atoms(STM32 Temperature sensor experiment)
注意这儿的线帽操作!!!!!!!!!!!!!!!!!!!1原创 2021-05-25 14:21:32 · 102 阅读 · 0 评论 -
STM32F103_study67_The punctual atoms(STM32 OLED display experiment)
画重点原创 2021-05-25 14:20:51 · 76 阅读 · 0 评论 -
STM32F103_study68_Phonetic module knowledge
2.原创 2021-05-24 16:18:42 · 61 阅读 · 0 评论 -
STM32F103_study69_The punctual atoms(STM32 SPI communication principle and configuration)
2.3.4.5.6.MISOM:master I:input S:slave O:output7.7.8.在这里插入图片描述原创 2021-05-25 14:20:06 · 70 阅读 · 0 评论 -
STM32F103_study64_The punctual atoms(Simulator and downloader)
1.2.3.4.5.原创 2021-04-16 14:42:03 · 66 阅读 · 0 评论 -
STM32F103_study62_The punctual atoms(Clock system initialization function analysis)
原创 2021-04-15 18:12:19 · 62 阅读 · 0 评论 -
STM32F103_study61_The punctual atoms(Clock System Intro)
3.STM32的所有时钟都源于这个5个,即使是系统时钟4.系统时钟:所有的外设时钟都来源于系统时钟6.7.78原创 2021-04-15 16:46:47 · 68 阅读 · 0 评论 -
STM32F103_study60_The punctual atoms(Input capture experimentInput)
2.3.4.一. Experiment Name:二、The experiment purpose:三. Development steps:四. Software and hardware used:1.keil2.Development board3.The emulator4.Two USB data cables5.The simulation line五. Functions and registers rel...原创 2021-04-15 09:37:42 · 70 阅读 · 0 评论 -
STM32F103_study59_The punctual atoms(Input capture experimentInput to capture experimental theoreti)
定时器的常见三个应用:中断PWM输出输入捕获1.2.3.4.原创 2021-04-14 21:23:14 · 85 阅读 · 0 评论 -
STM32F103_study57_The punctual atoms(STM32 Port multiplexing and remapping configuration)
重映射步骤 这里把PB6和PB7引脚重映射为USART1的USART1_TX和USART1_RX 所以这里使能GPIO时钟,是使能的GPIOB的时钟 使能功能外设时钟;使能的是USART1的时钟什么情况打开AFIO时钟?原创 2021-04-14 18:48:22 · 79 阅读 · 0 评论 -
STM32F103_study56_The punctual atoms(STM32 PWM output experimental code analysis)
一. Experiment Name:PWM输出实验二. Development steps:三. Software and hardware used:1.keil2.Development board3.The emulator4.Two USB data cables5.The simulation line四. Functions and registers related to serial port operation:五...原创 2021-04-14 20:25:44 · 142 阅读 · 0 评论 -
STM32F103_study55_The punctual atoms(STM32 PWM output experimental theoretical knowledge)
原创 2021-04-14 15:17:12 · 68 阅读 · 0 评论 -
STM32F103_study54_The punctual atoms(STM32 There have always been questions about learning STM32)
2.原创 2021-04-14 16:21:42 · 87 阅读 · 0 评论 -
STM32F103_study52_The punctual atoms(STM32 The running light experiment )
一. Experiment Name:The running light experiment二. Development steps:1.我们做的是跑马灯实验。所以首先确定与灯连接的GPIO引脚是那一个,是那组GPIO引脚。2.这次跑马灯,灯会一亮一灭,所以的设置定时器(这里不用delay()函数,感觉这函数用的不专业)。3.设置定时器,定时器就会溢出,所以还需要设置与定时器相关的中断,以及中断服务函数。三. Software and hardware used:1.keil2.Devel原创 2021-04-14 11:29:06 · 105 阅读 · 1 评论 -
STM32F103_study51_The punctual atoms(STM32 Timer interrupt )
感觉下面这个图有问题?从0加到ARR,总共加了ARR+1次。这个是定时器加一次所用的时间。相乘就是,实现一次溢出所要花费的时间。原创 2021-04-14 09:51:59 · 94 阅读 · 0 评论 -
STM32F103_study50_The punctual atoms(STM32 General timer basic principle )
1预分频相当于做了一除法运算,把频率变小了,但是周期却变大了2.3.原创 2021-04-14 08:26:20 · 96 阅读 · 0 评论 -
STM32F103_study49_The punctual atoms(STM32 Bit operation and logical operation in C language )
原创 2021-04-13 21:38:30 · 65 阅读 · 0 评论 -
STM32F103_study48_The punctual atoms(STM32 Serial communication experiment )
0x0D是回车,0x0A是换行u8 Res;------这是因为用的是ascall码,而ascall码只有8位,数据传输有事使用的串口传输,串口传输是串行传输,是一个字符一个字符进行传输的,每次只接受一个字符,接受一个字符完就会产生一次中断。USART_RX_STA:代码前面定义过。(1)if((USART_RX_STA&0x8000)==0)//接收未完成,USART_RX_STA&0x8000)==0------说明上一次接收到的不是0x0AUSART_...原创 2021-04-13 22:31:44 · 160 阅读 · 0 评论 -
STM32F103_study46_The punctual atoms(STM32 The location of all interrupt service functions )
这个是STM32提供的标准数据库,不是HAL提供的。原创 2021-04-13 19:45:42 · 77 阅读 · 0 评论 -
STM32F103_study43_The punctual atoms(STM32 Echo experiment based on serial communication )
1.目的:做回显实验:2.开发步骤:只要是用到串口的实验,都必须对串口做下列的配置3.所用到的软件和硬件:4.串口操作的相关的函数、寄存器:USART_SR状态寄存器:USART_DRUSART_DR五、逻辑分析:1.我们是做回显实验,会用到串口,所以我们的先分析串口我们应该怎么设置。之前任何操作都需要使能。不仅仅是外设,那该使能哪一个串口呢?我们查看原理图和系统结构图可知。我们需要的串口最好是异步通信的,这样代码书写要简单...原创 2021-04-13 19:59:37 · 156 阅读 · 0 评论