32-bit ARM Cortex M3 microcontrollers with 128KB flash memory
Manufacturer: stm
# Introduction to the STM32F103RB Product Series
## 1. Overview
The STM32F103RB is part of STMicroelectronics' popular STM32F1 series of 32 - bit microcontrollers based on the ARM Cortex - M3 core. These microcontrollers are designed to offer a high - performance, cost - effective, and energy - efficient solution for a wide range of embedded applications.
## 2. Core and Architecture
### ARM Cortex - M3 Core
- The ARM Cortex - M3 core is at the heart of the STM32F103RB. It features a Harvard architecture with a 3 - stage pipeline, which enables efficient instruction fetching and execution. This core provides a high level of performance with a maximum operating frequency of up to 72 MHz, allowing for fast data processing and real - time operation.
- It supports the Thumb - 2 instruction set, which combines the code density of 16 - bit Thumb instructions with the performance of 32 - bit ARM instructions. This results in reduced code size and lower memory requirements, making it suitable for applications with limited storage space.
### Memory Organization
- **Flash Memory**: The STM32F103RB is equipped with 128 KB of embedded Flash memory. Flash memory is non - volatile, which means it retains its data even when the power is turned off. This memory is used to store the application code, allowing for easy reprogramming and updates.
- **SRAM**: It has 20 KB of static random - access memory (SRAM). SRAM is used for storing variables, data buffers, and the stack during program execution. The relatively large SRAM size enables the microcontroller to handle complex algorithms and data processing tasks.
## 3. Peripherals
### General - Purpose Input/Output (GPIO)
- The STM32F103RB has a total of 51 general - purpose input/output pins. These pins can be configured as either inputs or outputs, and they support various modes such as push - pull, open - drain, and pull - up/down resistors. GPIO pins are used for interfacing with external devices such as sensors, actuators, and displays.
### Universal Synchronous/Asynchronous Receiver/Transmitter (USART)
- There are 3 USART interfaces available. USARTs are used for serial communication, allowing the microcontroller to communicate with other devices such as computers, sensors, and wireless modules. They support both synchronous and asynchronous communication modes, with configurable baud rates, data bits, stop bits, and parity.
### Serial Peripheral Interface (SPI)
- Two SPI interfaces are provided. SPI is a high - speed serial communication protocol used for communicating with external devices such as flash memories, sensors, and displays. It supports full - duplex communication and can operate at high clock speeds, making it suitable for applications that require fast data transfer.
### Inter - Integrated Circuit (I2C)
- There are 2 I2C interfaces on the STM32F103RB. I2C is a multi - master, multi - slave serial communication protocol commonly used for connecting low - speed devices such as sensors, EEPROMs, and real - time clocks. It uses a simple two - wire interface (SDA and SCL) and supports multiple devices on the same bus.
### Analog - to - Digital Converter (ADC)
- The microcontroller features a 12 - bit ADC with up to 16 channels. The ADC is used to convert analog signals from sensors such as temperature sensors, light sensors, and potentiometers into digital values that can be processed by the microcontroller. It has a high conversion speed and can operate
64-TFBGA
64-LQFP
Image Preview