A brief introduction to the STM32F1XX series. It can have RTOS, a real-time operating system, or it can be used directly as a single-chip microcomputer.
Functions include adc, dac, bkp, can, cec, crc, dbgmcu, dma, exti, flash, fsmc, gpio, i2c, iwdg, pwr, rcc, rtc, sdio, spi, tim, usart, wwdg, misc
The functions of each interface of a specific chip vary little from board to board, after all, they must comply with chip specifications.
The development environment is basically WINDOWS (unix-like gcc), and the development tools are MDK-ARM (keil), EWARM (IAR), HiTOP, GCC (RIDE), TrueSTUDIO..
The development IDE integrates the startup file, and gcc also integrates the startup file, which can be found in the library.
Release_Notes.html
..STM32F10x_StdPeriph_Lib_V3.5.0LibrariesCMSISCM3DeviceSupportSTSTM32F10xstartupDebugging jlink It should be noted that sometimes, jlink debugging will pop up an error and cannot download debug. Restart it and it will work.
1. Peripheral library functions
Contents..STM32F10x_StdPeriph_Lib_V3.5.0LibrariesSTM32F10x_StdPeriph_DriverDownloadwww.st.com
Product->Microcontrollers
You can see a picture on the web page, select the model of your chip, for example, mine is STM32 F1 -> then select the specific model, STM32 F103RCT6
http://www.st.com/web/en/catalog/mmc/SC1169/SS1031/LN1565/PF164486
There are a lot of things, just search the firmware library to find them
More to discover on your own
Found this
How to migrate from the STM32F10xxx firmware library V2.0.3 to the STM32F10xxx standard peripheral library V3.0.0 (AN2953)
http://www.st.com/web/en/catalog/tools/PF257859
Download http://www.st.com/st-web-ui/static/active/en/st_prod_software_internet/resource/technical/software/firmware/stsw-stm32023.zip
Different products have slightly different versions. The above version is V3.3
The following is a brief introduction to the differences between the CAN function libraries of V2.0 and v3.x.
STM32F10x_StdPeriph_Driver Libraries stm32f10x_rcc.h
CAN on APB1_peripheral peripheral bus
v2.0 has only one CAN bus (different naming from v3.x) This project uses the V2.0 library and uses this naming. There is no CAN_TypeDef* CANx in the stm32f10x_can.h parameter
#define RCC_APB1Periph_CAN ((uint32_t)0x02000000)v3.0 has only one CAN bus (stm32f10x_can.h parameter contains CAN_TypeDef* CANx).
This version and later use the CMSIS standard
#define RCC_APB1Periph_CAN1 ((uint32_t)0x02000000)v3.3, v3.5 have two CAN buses (stm32f10x_can.h parameter with CAN_TypeDef* CANx)
#define RCC_APB1Periph_CAN1 ((uint32_t)0x02000000)
#define RCC_APB1Periph_CAN2 ((uint32_t)0x04000000)
In addition, some implementations in stm32f10x_can.c have been added, deleted, and modified. You have to discover them slowly by yourself (beyondCompare)
Detailed version changes are in (STM32F10x_StdPeriph_Lib_V3.5.0.zip, stm32f10x_stdperiph_lib_v3.0.0.zip)
..Release_Notes.html
..LibrariesSTM32F10x_StdPeriph_DriverRelease_Notes.html
Introduction
It is worth noting that the new version uses the CMSIS standard and has document management doxygen, which allows you to view the API through html files.
http://www.arm.com/zh/products/processors/cortex-m/cortex-microcontroller-software-interface-standard.php
Previous article:ARM register analysis
Next article:Using Valgrind on ARM Linux
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Keysight Technologies Helps Samsung Electronics Successfully Validate FiRa® 2.0 Safe Distance Measurement Test Case
- Innovation is not limited to Meizhi, Welling will appear at the 2024 China Home Appliance Technology Conference
- Innovation is not limited to Meizhi, Welling will appear at the 2024 China Home Appliance Technology Conference
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Download from the Internet--ARM Getting Started Notes
- Learn ARM development(22)
- Learn ARM development(21)
- Learn ARM development(20)
- Learn ARM development(19)
- Learn ARM development(14)
- Industrial Communication Issues with the AMIC110 SoC
- Analysis Example: A Zener Diode Regulator Circuit
- Comparison of CC2540 and nRF51822 application development
- [Evaluation of Anxinke Bluetooth Development Board PB-02-Kit] Light up the LED
- 6. Voltage-divided bias common emitter amplifier circuit
- MSP430F6638 MCU FLL——Frequency Locked Loop
- Bluetooth packaging problem
- 【Qinheng Trial】Five final chapters--IoT system based on CH549
- What should you pay attention to when purchasing encryption chips?
- What exactly is op amp noise?