Phone

    00852-6915 1330

STM32F103 STMicroelectronics: Features, Applications, Datasheet

  • Contents

STM32 is a family of 32-bit microcontroller integrated circuits by STMicroelectronics.There are five F1 lines: Connectivity (STM32F105/107), Performance (STM32F103), USB Access (STM32F102), Access (STM32F101), Value (STM32F100).


Catalog

STM32F103 Applications

STM32F103 Features

STM32F103 Advantage

STM32F103 Manufacturer

STM32F103 Documents

STM32F103 Development Tools

STM32F103 Development Process

Component Datasheet

STM32F103 Pinout

FAQ


STM32F103 Applications

STM32F103 is a commonly used enhanced series microcontroller of STMicro, which is suitable for:

  • Applications in power electronic systems
  • Motor driven
  • Application control
  • Medical treatment
  • Handheld devices
  • PC gaming peripherals
  • GPS platform
  • Programming controller
  • Frequency converter
  • Scanner
  • Printer
  • Alarm system
  • Video intercom
  • Heating and ventilation
  • Air conditioning system
  • LED strip screen control

STM32F103 Features

The main resources and features of STM32F103 series microprocessors are as follows:

  1. 51 fast I/O ports. All I/O ports can be mapped to 16 external interrupts, and almost all ports allow 5V signal input. Each port can be configured by software as output (push-pull or open-drain), input (with or without pull-up or pull-down) or other peripheral function ports.
  2. 2 12-bit analog-to-digital converters, 16 external input channels, the conversion rate can reach 1MHz, and the conversion range is 0~36V; With dual sampling and holding function; A temperature sensor is embedded inside, which can conveniently measure the temperature of the processor.
  3. The flexible 7-channel general-purpose DMA can manage data transfer from memory to memory, device to memory, and memory to device without any intervention by the CPU. Data can be moved quickly through DMA, and CPU resources can be used for other operations. The DMA controller supports the management of the ring buffer, which avoids the interrupt generated when the controller transfer reaches the end of the buffer. The peripherals it supports include timers, ADCs, SPI, I2C, and USART.
  4. Debug mode: Support standard 20-pin JTAG simulation debugging and serial single-wire debugging (SWD) function for Cortex-M3 core. Usually the default debugging interface is the JTAG interface.
  5. The STM32F103 series microprocessor contains 7 timers.
  6. Containing abundant communication interfaces: three USART asynchronous serial communication interfaces, two I2C interfaces, two SPI interfaces, one CAN interface and one USB interface, which provide a guarantee for data communication.

STM32F103 Advantage

Video: Blue Pill STM32F103 Arm Programming

STM32F103 Video Description:

This video will demonstrate how to upload an hex file to the Blue Pill STM32F103C8 Arm module. This is a cost effective approach to get into Arm programming as the modules are inexpensive and all tools needed are free.

STM32F103 Microcontrollers use the Cortex-M3 core, with a maximum CPU speed of 72 MHz. The portfolio covers from 16 Kbytes to 1 Mbyte of Flash with motor control peripherals, USB full-speed interface and CAN.

 


STM32F103 Manufacturer

STMicroelectronics Logo

STMicroelectronics is a global independent semiconductor company and is a leader in developing and delivering semiconductor solutions across the spectrum of microelectronics applications. An unrivaled combination of silicon and system expertise, manufacturing strength, Intellectual Property (IP) portfolio and strategic partners positions the Company at the forefront of System-on-Chip (SoC) technology and its products play a key role in enabling today's convergence trends.


STM32F103 Documents

Programming Manual (STM32F103 Reference Manual)

STM32F10xxx/20xxx/21xxx/L1xxxx Cortex®-M3 programming manual

STM32F10xxx XL-density Flash programming

STM32F10xxx Flash memory microcontrollers

Errata Sheet

STM32F101xC/D/E and STM32F103xC/D/E high-density device limitations

STM32F101xF/G and STM32F103xF/G XL-density device limitations

STM32F101x4/6, STM32F102x4/6 and STM32F103x4/6 low-density device limitations

STM32F101x8/B, STM32F102x8/B and STM32F103x8/B medium-density device limitations


STM32F103 Development Tools

Before developing the STM32F103 series MPU, you need to prepare the corresponding software and hardware. The hardware mainly includes the STM32F103 development board (or user target board), J-Link download simulator, etc.; the software mainly includes the KeilVision4IDE development platform. The following is a brief description of their functions and characteristics.

(1) STM32F103 development board (or user target board) is the development target.

(2) The J-Link download emulator is the hub of program download. The standard 20-core flat cable with it can download the program to the internal storage space of the processor through the JTAG interface. No external power supply is needed, and it can work after being connected to the PC with a USB cable. It also has the characteristics of fast download speed and low power consumption.

(3) KeilVision4IDE is a window-based software development platform. It integrates a powerful and modern editor, project manager and make tool, and almost integrates all the tools needed for embedded system development: C/C++ compiler, macro assembler, linker/locator, HEX file generator, etc. The software provides two working modes: compile and debug mode. In the compilation mode, developers can create projects, select target devices, create new files, enter source code, and generate executable files. In the debug mode, developers can use its powerful integrated debugger to debug the application, such as setting breakpoints, single-step execution, etc., which facilitates the search and modification of program errors.


STM32F103 Development Process

(1) Connect the PC and the STM32F103 development board with the J-Link emulator.

(2) Use the KeilVision4IDE development platform to create a new project and write source programs.

Open the KeilVision4 software, create a new project file, select the device for the project: STMicroelectronics' STM32F103R8 chip, click OK, a dialog box will pop up, prompting whether to choose to add the startup code to the target project. The startup code is used to complete the initialization of the system and is essential for embedded systems. Add the startup code to the target project, which can greatly save the preparation of the startup code. After the project is created, you can create a new C file under the project, write the source program, and add it to the project after completion. Finally, the library files STM32F10xRLIB and STM32F10xDLIB are also added to the project.

(3) Program compilation, download, simulation and debugging, etc.

After the program is written, you can compile the file. After compiling without errors, select the Options option. After the Debug program is successfully compiled and linked, select Project/OptionsforTarge. After opening the dialog box, select the Debug tab, and select Cortex-M3J- from the Use drop-down button. Link. After selecting, click setTIngs, click the Add button in the pop-up dialog box, and select STM32F10xMed-densityFlash. Click OK to complete the configuration. The program can be downloaded to the target device through Load.

If you need to debug the program online, select Start/StopDebugSession. At this time, you can insert breakpoints, set pointers, single-step execution, reset, etc., and you can also observe the changes of each register value and perform waveform simulation. In short, it is very convenient to debug the program online.


Component Datasheet

STM32F103x8, STM32F103xB Datasheet

STM32F103xC, STM32F103xD, STM32F103xE Datasheet

STM32F103x4, STM32F103x6 Datasheet

STM32F103xF, STM32F103xG Datasheet


STM32F103 Pinout

Here are pinouts of STM32F103xC/D/E below.

STM32F103xCDE-performance-line-LQFP144-pinout
 

Figure: STM32F103xC/D/E Performance Line LQFP144 Pinout

 
STM32F103xCDE-performance-line-LQFP100-pinout
 

Figure: STM32F103xC/D/E Performance Line LQFP100 Pinout

 

FAQ

  • How many timers does the STM32F103 series microprocessor contain?

7

  • How can data be moved quickly through STM32F103?

DMA

  • How many external interrupts can all I/O ports be mapped to?

16 external interrupts

  • What type of cable can the STM32F103 development board work after being connected to the PC?

USB

  • How Do I Program My Arduino STM32?

Setting Up the STM32 on Arduino IDE.

Open Arduino IDE and select Preferences. Next click on Tools → Board → Board Manager. After performing the steps above, you can see the STM32 in the boards list.

  • What is STM Board?

STM32 is a family of 32-bit microcontroller integrated circuits by STMicroelectronics. ... Internally, each microcontroller consists of the processor core, static RAM, flash memory, debugging interface, and various peripherals.

  • Why is SMT32 So Popular?

The STM32 series of microcontrollers from ST Microelectronics is a popular, and very large, family of ARM-based 32-bit microcontrollers. ... While the STM32 microcontrollers are quite versatile and highly configurable, it is this very fact that makes them hard to initialize.

  • Where is STM32 Used?

There are various types and varieties of STM32 Microcontrollers available and they belong to the ARM-architecture family of Microcontrollers. These microcontrollers are used in a variety of applications, from simple printers to complex circuit boards in vehicles.

  • How Do I Start Learning STM32?

Step 1: Pre-requisites. Install the main tools to program STM32 and run a first example: ...

Step 2: Blink LED example on the NUCLEO-L476RG board using STM32CubeMX and HAL. ...

Step 3: UART and new board introduction. ...

Step 4: Sensors usage with B-L475E-IOT01A. ...

Step 5: Build an IOT system.

  • What is STM32 blue pill?

STM32 Blue Pill is a high-performance, breadboard friendly development board with loads of features in a small form factor. It features a 32-bit ARM Cortex M3 processor running at 72MHz frequency with 64Kbytes of flash memory and 20 Kbytes of SRAM.

 

Kynix

Kynix was founded in 2008, specializing in the electronic components distribution business. We adhere to honesty and ethics as our business philosophy and have gradually established an excellent reputation and credibility in our international business. With the accurate quotation, excellent credit, reasonable price, reliable quality, fast delivery, and authentic service, we have won the praise of the majority of customers.

Join our mailing list!

Be the first to know about new products, special offers, and more.

Leave a Reply

We'd love to hear from you! Feel free to share your thoughts and comments below. Rest assured, your email address will remain private.

Name *
Email *
Captcha *
Rating:

Kynix

  • How to purchase

  • Order
  • Search & Inquiry
  • Shipping & Tracking
  • Payment Methods
  • Contact Us

  • Tel: 00852-6915 1330
  • Email: info@kynix.com
  • Follow Us

authentication

Kynix

© 2008-2026 kynix.com all rights reserved.