Objective
STM32F1 Series Chip is considered as the first series in STM32, which is widely used in real life. Therefore, a summary of the STM32F1 series chip common on-chip resources, each article will focus on the presentation, and provide software source code engineering.
Summarize common resources: Basic IO, timer Tim, serial Usart, ADC analog-to-digital conversion, DAC digital-to-analog conversion, SPI serial communication, exit external interrupt, BKP backup data, RTC Alarm systick System Tick, WDG watchdog (standalone + window), DMA transfer data, On-chip flash programming, FSMC read/write external SRAM, external norflash operation, etc.
For details of each detail, please refer to the following article, where all source code projects are packaged, (360 cloud Disk):https://yunpan.cn/cSBaUas4Ntcq4 access password 7f8b
In the principle of free sharing, but also hope to see the friends concerned about the public number, and share the article to your friends. Pay attention to the public "embedddeveloper" There are more exciting content waiting for you.
Summary content
The following examples give emphasis and provide source code engineering
1.stm32f1_ Development Preparation Work
2.stm32f1_ New Software Engineering
3.stm32f1_ Basic IO Configuration
4.stm32f1_usart input/output-interrupt Receive
5.stm32f1_tim Basic Delay-count
6.stm32f1_tim Timing-Interrupt
Single 7.STM32F1_ADC single-pass acquisition
8.STM32F1_DAC Output Voltage
9.STM32F1_SPI read/write Flash
10.STM32F1_SPI Master-Slave communication
11.STM32F1_DAC Output Triangle Waveform
12.stm32f1_exit Interrupt
13.STM32F1_BKP Backing up data
14.STM32F1_RTC Alarm Clock
15.stm32f1_tim Output PWM Waveform
16.stm32f1_systick system Tick
17.STM32F1_WDG Watchdog (Independent + window)
18.STM32F1_DMA Sending serial data
19.stm32f1_ in-chip flash programming
20.STM32F1_FSMC read/write external SRAM
21.stm32f1_ external SRAM as running memory
22.stm32f1_ external Norflash Stored program code
Description
The above provides software engineering using MDK-ARM integrated development tools, based on the stm32f103 large capacity chip, only need to properly modify the engineering configuration (such as chip model, boot file, etc.), the F1 series of most of the chips are applicable. FSMC function is suitable for large-capacity chip, medium and small capacity chip does not have FSMC function.
The above-mentioned routine is for reference only, the focus is that I spend a certain amount of time each day to sort out, if there is an incorrect place please understand.
At last
If you feel that the content is right for you, and you want to know more about it, please follow the public number, the new content continues to update, and more will appear later.
Stm32f1_ Common Peripheral Resource Summary