Data Sheet
Data Sheet
STM32F107xx
Connectivity line, ARM-based 32-bit MCU with 64/256 KB Flash, USB
OTG, Ethernet, 10 timers, 2 CANs, 2 ADCs, 14 communication interfaces
Features
■ Core: ARM 32-bit Cortex™-M3 CPU
– 72 MHz maximum frequency, LQFP100 14 × 14 mm
1.25 DMIPS/MHz (Dhrystone 2.1) LQFP64 10 × 10 mm
performance at 0 wait state memory
access ■ Up to 10 timers with pinout remap capability
– Single-cycle multiplication and hardware
– Up to four 16-bit timers, each with up to 4
division
IC/OC/PWM or pulse counter and
■ Memories quadrature (incremental) encoder input
– 64 to 256 Kbytes of Flash memory – 1 × 16-bit motor control PWM timer with
– up to 64 Kbytes of general-purpose SRAM dead-time generation and emergency stop
■ Clock, reset and supply management – 2 × watchdog timers (Independent and
Window)
– 2.0 to 3.6 V application supply and I/Os
– SysTick timer: a 24-bit downcounter
– POR, PDR, and programmable voltage
detector (PVD) – 2 × 16-bit basic timers to drive the DAC
– 3-to-25 MHz crystal oscillator ■ Up to 14 communication interfaces with pinout
– Internal 8 MHz factory-trimmed RC remap capability
– Internal 40 kHz RC with calibration – Up to 2 × I2C interfaces (SMBus/PMBus)
– 32 kHz oscillator for RTC with calibration – Up to 5 USARTs (ISO 7816 interface, LIN,
■ Low power IrDA capability, modem control)
– Sleep, Stop and Standby modes – Up to 3 SPIs (18 Mbit/s), 2 with a
multiplexed I2S interface that offers audio
– VBAT supply for RTC and backup registers
class accuracy via advanced PLL schemes
■ 2 × 12-bit, 1 µs A/D converters (16 channels) – 2 × CAN interfaces (2.0B Active) with
– Conversion range: 0 to 3.6 V 512 bytes of dedicated SRAM
– Sample and hold capability – USB 2.0 full-speed device/host/OTG
– Temperature sensor controller with on-chip PHY that supports
– up to 2 MSPS in interleaved mode HNP/SRP/ID with 1.25 Kbytes of dedicated
■ 2 × 12-bit D/A converters SRAM
– 10/100 Ethernet MAC with dedicated DMA
■ DMA: 12-channel DMA controller and SRAM (4 Kbytes): IEEE1588 hardware
– Supported peripherals: timers, ADCs, DAC, support, MII/RMII available on all packages
I2Ss, SPIs, I2Cs and USARTs
■ Debug mode Table 1. Device summary
– Serial wire debug (SWD) & JTAG interfaces Reference Part number
– Cortex-M3 Embedded Trace Macrocell™
STM32F105R8, STM32F105V8
■ Up to 80 fast I/O ports STM32F105xx STM32F105RB, STM32F105VB
– 51/80 I/Os, all mappable on 16 external STM32F105RC, STM32F105VC
interrupt vectors and almost all 5 V-tolerant
STM32F107RB, STM32F107VB
■ CRC calculation unit, 96-bit unique ID STM32F107xx
STM32F107RC, STM32F107VC
Contents
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.1 Device overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.2 Full compatibility throughout the family . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.3 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.3.1 ARM® Cortex™-M3 core with embedded Flash and SRAM . . . . . . . . . 13
2.3.2 Embedded Flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.3.3 CRC (cyclic redundancy check) calculation unit . . . . . . . . . . . . . . . . . . 13
2.3.4 Embedded SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.3.5 Nested vectored interrupt controller (NVIC) . . . . . . . . . . . . . . . . . . . . . . 13
2.3.6 External interrupt/event controller (EXTI) . . . . . . . . . . . . . . . . . . . . . . . 14
2.3.7 Clocks and startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.3.8 Boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.3.9 Power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.3.10 Power supply supervisor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.3.11 Voltage regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.3.12 Low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.3.13 DMA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.3.14 RTC (real-time clock) and backup registers . . . . . . . . . . . . . . . . . . . . . . 16
2.3.15 Timers and watchdogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2.3.16 I²C bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.3.17 Universal synchronous/asynchronous receiver transmitters (USARTs) 18
2.3.18 Serial peripheral interface (SPI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.3.19 Inter-integrated sound (I2S) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.3.20 Ethernet MAC interface with dedicated DMA and IEEE 1588 support . 19
2.3.21 Controller area network (CAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
2.3.22 Universal serial bus on-the-go full-speed (USB OTG FS) . . . . . . . . . . . 20
2.3.23 GPIOs (general-purpose inputs/outputs) . . . . . . . . . . . . . . . . . . . . . . . . 20
2.3.24 Remap capability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2.3.25 ADCs (analog-to-digital converters) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2.3.26 DAC (digital-to-analog converter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2.3.27 Temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2.3.28 Serial wire JTAG debug port (SWJ-DP) . . . . . . . . . . . . . . . . . . . . . . . . . 22
4 Memory mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
5 Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
5.1 Parameter conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
5.1.1 Minimum and maximum values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
5.1.2 Typical values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
5.1.3 Typical curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
5.1.4 Loading capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
5.1.5 Pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
5.1.6 Power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
5.1.7 Current consumption measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
5.2 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5.3 Operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.3.1 General operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.3.2 Operating conditions at power-up / power-down . . . . . . . . . . . . . . . . . . 35
5.3.3 Embedded reset and power control block characteristics . . . . . . . . . . . 35
5.3.4 Embedded reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
5.3.5 Supply current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
5.3.6 External clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
5.3.7 Internal clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
5.3.8 PLL, PLL2 and PLL3 characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
5.3.9 Memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
5.3.10 EMC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
5.3.11 Absolute maximum ratings (electrical sensitivity) . . . . . . . . . . . . . . . . . 52
5.3.12 I/O port characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
5.3.13 NRST pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
5.3.14 TIM timer characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
5.3.15 Communications interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
5.3.16 12-bit ADC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
5.3.17 DAC electrical specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
5.3.18 Temperature sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
6 Package characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
7 Part numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
List of tables
List of figures
1 Introduction
2 Description
The STM32F105xx and STM32F107xx connectivity line family incorporates the high-
performance ARM® Cortex™-M3 32-bit RISC core operating at a 72 MHz frequency, high-
speed embedded memories (Flash memory up to 256 Kbytes and SRAM up to 64 Kbytes),
and an extensive range of enhanced I/Os and peripherals connected to two APB buses. All
devices offer two 12-bit ADCs, four general-purpose 16-bit timers plus a PWM timer, as well
as standard and advanced communication interfaces: up to two I2Cs, three SPIs, two I2Ss,
five USARTs, an USB OTG FS and two CANs. Ethernet is available on the STM32F107xx
only.
The STM32F105xx and STM32F107xx connectivity line family operates in the –40 to
+105 °C temperature range, from a 2.0 to 3.6 V power supply. A comprehensive set of
power-saving mode allows the design of low-power applications.
The STM32F105xx and STM32F107xx connectivity line family offers devices in two different
package types: from 64 pins to 100 pins. Depending on the device chosen, different sets of
peripherals are included, the description below gives an overview of the complete range of
peripherals proposed in this family.
Flash memory in Kbytes 64 128 256 128 256 64 128 256 128 256
SRAM in Kbytes 20 32 64 48 64 20 32 64 48 64
Ethernet No Yes No Yes
General-purpose 4
Timers Advanced-control 1
Basic 2
2 (2)
SPI(I S) 3(2) 3(2) 3(2) 3(2)
I2C 2 1 2 1
Communication
USART 5
interfaces
USB OTG FS Yes
CAN 2
GPIOs 51 80
12-bit ADC 2
Number of channels 16
12-bit DAC 2
Number of channels 2
CPU frequency 72 MHz
Operating voltage 2.0 to 3.6 V
Ambient temperatures: –40 to +85 °C /–40 to +105 °C
Operating temperatures
Junction temperature: –40 to + 125 °C
Package LQFP64 LQFP100
1. Please refer to Table 5: Pin definitions for peripheral availability when the I/O pins are shared by the peripherals required
by the application.
2. The SPI2 and SPI3 interfaces give the flexibility to work in either the SPI mode or the I2S audio mode.
Flash
16 32 32 64 128 256 384 512 64 128 256 128 256
size (KB)
RAM
6 10 10 20 20 48 64 64 20 32 64 48 64
size (KB)
144 pins
36 pins
1. Please refer to Table 5: Pin definitions for peripheral availability when the I/O pins are shared by the peripherals required
by the application.
2. Ports F and G are not available in devices delivered in 100-pin packages.
2.3 Overview
Figure 1. STM32F105xx and STM32F107xx connectivity line block diagram
TRACECLK
TRACED[0:3] TPIU Power
ETM VDD18
as AF Trace/Trig VDD = 2 to 3.6 V
SW/JTAG Voltage reg.
NJTRST VSS
Flashl obl
Interface
3.3 V to 1.8 V
JTDI Ibus Flash 256 KB
JTCK/SWCLK Cortex-M3 CPU 64 bit @VDD
JTMS/SWDIO
JTDO POR
Fmax : 72 MHz Dbus Supply
as A F Reset supervision NRST
SRAM @VDDA
Int VDDA
System 64 KB POR / PDR
RC HS VSSA
Bus Matri x
NVIC RC LS PVD
PLL3
GP DMA1 @VDDA
MII_TXD[3:0]/RMII_TXD[1:0] @VDD
PLL2 OSC_IN
MII_TX_CLK/RMII_TX_CLK 7 channels
XTAL osc OSC_OUT
C_O
MII_TX_EN/RMII_TX_EN PLL 3-25 MHz
MII_RXD[3:0]/RMII_RXD[1:0] GP DMA2
MII_RX_ER/RMII_RX_ER PCLK1 IWDG
5 channels Reset &
MII_RX_CLK/RMII_REF_CLK PCLK2
MII_RX_DV/RMII_CRS_DV clock HCLK Standby
MII_CRS control interface VBAT =1.8 V to 3.6 V
FCLK
MII_COL/RMII_COL Ethernet MAC PLL3 @VBAT
MDC 10/100
OSC32_IN
MDIO DMA Ethernet XTAL 32kHz
OSC32_OUT
PPS_OUT
AHB
UART4 RX,TX as AF
PD[15:0] GPIO port D
UART5 RX,TX as AF
PE[15:0] GPIO port E
MOSI/SD, MISO, MCK,
SPI2
2x(8x16b it) / I2S2(1) SCK/CK, NSS/WS as AF
4 Channels
4 compl. Channels MOSI/SD, MISO, MCK,
TIM1
BKIN, ETR input as AF SPI3
2x(8x16b it) / I2S3 SCK/CK, NSS/WS as AF
bx CAN2 CAN2_TX a
s AF
16 ADC12_INs 12bi t ADC1 IF
CAN2_RX as AF
common to
ADC1 & ADC2 12bit ADC2 IF TIM6 IF 12bit DAC1 DAC_OUT1 as AF
IF
TIM7 12bit DAC 2 DAC_OUT2 as AF
VREF– @VDDA
@VDDA
VREF+
ai15411
1. TA = –40 °C to +85 °C (suffix 6, see Table 60) or –40 °C to +105 °C (suffix 7, see Table 60), junction temperature up to
105 °C or 125 °C, respectively.
2. AF = alternate function on I/O port pin.
● Standby mode
The Standby mode is used to achieve the lowest power consumption. The internal
voltage regulator is switched off so that the entire 1.8 V domain is powered off. The
PLL, the HSI RC and the HSE crystal oscillators are also switched off. After entering
Standby mode, SRAM and register contents are lost except for registers in the Backup
domain and Standby circuitry.
The device exits Standby mode when an external reset (NRST pin), an IWDG reset, a
rising edge on the WKUP pin, or an RTC alarm occurs.
Note: The RTC, the IWDG, and the corresponding clock sources are not stopped by entering Stop
or Standby mode.
2.3.13 DMA
The flexible 12-channel general-purpose DMAs (7 channels for DMA1 and 5 channels for
DMA2) are able to manage memory-to-memory, peripheral-to-memory and memory-to-
peripheral transfers. The two DMA controllers support circular buffer management,
removing the need for user code intervention when the controller reaches the end of the
buffer.
Each channel is connected to dedicated hardware DMA requests, with support for software
trigger on each channel. Configuration is made by software and transfer sizes between
source and destination are independent.
The DMA can be used with the main peripherals: SPI, I2C, USART, general-purpose, basic
and advanced control timers TIMx, DAC, I2S and ADC.
In the STM32F107xx, there is a DMA controller dedicated for use with the Ethernet (see
Section 2.3.20: Ethernet MAC interface with dedicated DMA and IEEE 1588 support for
more information).
Any of the standard timers can be used to generate PWM outputs. Each of the timers has
independent DMA request generations.
Independent watchdog
The independent watchdog is based on a 12-bit downcounter and 8-bit prescaler. It is
clocked from an independent 40 kHz internal RC and as it operates independently from the
main clock, it can operate in Stop and Standby modes. It can be used either as a watchdog
to reset the device when a problem occurs, or as a free running timer for application timeout
management. It is hardware or software configurable through the option bytes. The counter
can be frozen in debug mode.
Window watchdog
The window watchdog is based on a 7-bit downcounter that can be set as free running. It
can be used as a watchdog to reset the device when a problem occurs. It is clocked from the
main clock. It has an early warning interrupt capability and the counter can be frozen in
debug mode.
SysTick timer
This timer is dedicated to real-time operating systems, but could also be used as a standard
down counter. It features:
● A 24-bit down counter
● Autoreload capability
● Maskable system interrupt generation when the counter reaches 0.
● Programmable clock source
USART1, USART2 and USART3 also provide hardware management of the CTS and RTS
signals, Smart Card mode (ISO 7816 compliant) and SPI-like communication capability. All
interfaces can be served by the DMA controller except for UART5.
2.3.20 Ethernet MAC interface with dedicated DMA and IEEE 1588 support
Peripheral not available on STM32F105xx devices.
The STM32F107xx devices provide an IEEE-802.3-2002-compliant media access controller
(MAC) for ethernet LAN communications through an industry-standard media-independent
interface (MII) or a reduced media-independent interface (RMII). The STM32F107xx
requires an external physical interface device (PHY) to connect to the physical LAN bus
(twisted-pair, fiber, etc.). the PHY is connected to the STM32F107xx MII port using as many
as 17 signals (MII) or 9 signals (RMII) and can be clocked using the 25 MHz (MII) or 50 MHz
(RMII) output from the STM32F107xx.
The STM32F107xx includes the following features:
● Supports 10 and 100 Mbit/s rates
● Dedicated DMA controller allowing high-speed transfers between the dedicated SRAM
and the descriptors (see the STM32F105xx/STM32F107xx reference manual for
details)
● Tagged MAC frame support (VLAN support)
● Half-duplex (CSMA/CD) and full-duplex operation
● MAC control sublayer (control frames) support
Eight DAC trigger inputs are used in the STM32F105xx and STM32F107xx connectivity line
family. The DAC channels are triggered through the timer update outputs that are also
connected to different DMA channels.
BOOT0
VDD_3
VSS_3
PC12
PC11
PC10
PA15
PA14
PD7
PD6
PD5
PD4
PD3
PD2
PD1
PD0
PE1
PE0
PB9
PB8
PB7
PB6
PB5
PB4
PB3
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
PE2 1 75 VDD_2
PE3 2 74 VSS_2
PE4 3 73 NC
PE5 4 72 PA 13
PE6 5 71 PA 12
VBAT 6 70 PA 11
PC13-TAMPER-RTC 7 69 PA 10
PC14-OSC32_IN 8 68 PA 9
PC15-OSC32_OUT 9 67 PA 8
VSS_5 10 66 PC9
VDD_5 11 65 PC8
OSC_IN 12 64 PC7
OSC_OUT 13 LQFP100 63 PC6
NRST 14 62 PD15
PC0 15 61 PD14
PC1 16 60 PD13
PC2 17 59 PD12
PC3 18 58 PD11
VSSA 19 57 PD10
VREF- 20 56 PD9
VREF+ 21 55 PD8
VDDA 22 54 PB15
PA0-WKUP 23 53 PB14
PA1 24 52 PB13
PA2 25 51 PB12
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
PA3
VSS_4
PA4
PA5
PA6
PA7
PC4
PC5
PB0
PB1
PB2
PE7
PE8
PE9
VDD_4
PE10
PE11
PE12
PE13
PE14
PE15
PB10
PB11
VSS_1
VDD_1
ai14391
BOOT0
VDD_3
VSS_3
PC12
PC11
PC10
PA15
PA14
PD2
PB9
PB8
PB7
PB6
PB5
PB4
PB3
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
VBAT 1 48 VDD_2
PC13-TAMPER-RTC 2 47 VSS_2
PC14-OSC32_IN 3 46 PA13
PC15-OSC32_OUT 4 45 PA12
PD0 OSC_IN 5 44 PA11
PD1 OSC_OUT 6 43 PA10
NRST 7 42 PA9
PC0 8 41 PA8
PC1 9 LQFP64 40 PC9
PC2 10 39 PC8
PC3 11 38 PC7
VSSA 12 37 PC6
VDDA 13 36 PB15
PA0-WKUP 14 35 PB14
PA1 15 34 PB13
PA2 16 33 PB12
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
PA3
PA4
PA5
PA6
PA7
PC4
PC5
PB0
PB1
PB2
PB10
PB11
VSS_4
VSS_1
VDD_4
VDD_1
ai14392
I / O level(2)
Main
Type(1)
LQFP100
function(3)
LQFP64
Pin name
(after reset) Default Remap
I / O level(2)
Main
Type(1)
LQFP100
function(3)
LQFP64
Pin name
(after reset) Default Remap
USART2_RX(7)/
26 17 PA3 I/O PA3 TIM5_CH4/ADC12_IN3 /
TIM2_CH4(7)/ ETH_MII_COL
27 18 VSS_4 S VSS_4
28 19 VDD_4 S VDD_4
SPI1_NSS(7)/DAC_OUT1 /
29 20 PA4 I/O PA4 SPI3_NSS
USART2_CK(7) / ADC12_IN4
SPI1_SCK(7) /
30 21 PA5 I/O PA5
DAC_OUT2 / ADC12_IN5
SPI1_MISO(7)/ADC12_IN6 /
31 22 PA6 I/O PA6 TIM1_BKIN
TIM3_CH1(7)
SPI1_MOSI(7)/ADC12_IN7 /
32 23 PA7 I/O PA7 TIM3_CH2(7)/ ETH_MII_RX_DV/ TIM1_CH1N
ETH_RMII_CRS_DV
ADC12_IN14 / ETH_MII_RXD0 /
33 24 PC4 I/O PC4
ETH_RMII_RXD0
ADC12_IN15 / ETH_MII_RXD1 /
34 25 PC5 I/O PC5
ETH_RMII_RXD1
ADC12_IN8/TIM3_CH3/
35 26 PB0 I/O PB0 TIM1_CH2N
ETH_MII_RXD2
ADC12_IN9 / TIM3_CH4(7)/
36 27 PB1 I/O PB1 TIM1_CH3N
ETH_MII_RXD3
37 28 PB2 I/O FT PB2/BOOT1
38 - PE7 I/O FT PE7 TIM1_ETR
39 - PE8 I/O FT PE8 TIM1_CH1N
40 - PE9 I/O FT PE9 TIM1_CH1
41 - PE10 I/O FT PE10 TIM1_CH2N
42 - PE11 I/O FT PE11 TIM1_CH2
43 - PE12 I/O FT PE12 TIM1_CH3N
44 - PE13 I/O FT PE13 TIM1_CH3
45 - PE14 I/O FT PE14 TIM1_CH4
46 - PE15 I/O FT PE15 TIM1_BKIN
I2C2_SCL/USART3_TX(7)/
47 29 PB10 I/O FT PB10 TIM2_CH3
ETH_MII_RX_ER
I2C2_SDA/USART3_RX(7)/
48 30 PB11 I/O FT PB11 ETH_MII_TX_EN/ TIM2_CH4
ETH_RMII_TX_EN
I / O level(2)
Main
Type(1)
LQFP100
function(3)
LQFP64
Pin name
(after reset) Default Remap
49 31 VSS_1 S VSS_1
50 32 VDD_1 S VDD_1
SPI2_NSS/I2S2_WS/
I2C2_SMBA / USART3_CK(7)/
51 33 PB12 I/O FT PB12 TIM1_BKIN(7) / CAN2_RX/
ETH_MII_TXD0/
ETH_RMII_TXD0
SPI2_SCK / I2S2_CK /
USART3_CTS(7)/ TIM1_CH1N /
52 34 PB13 I/O FT PB13
CAN2_TX / ETH_MII_TXD1/
ETH_RMII_TXD1
SPI2_MISO / TIM1_CH2N /
53 35 PB14 I/O FT PB14
USART3_RTS(7)
SPI2_MOSI / I2S2_SD /
54 36 PB15 I/O FT PB15
TIM1_CH3N(7)
USART3_TX/
55 - PD8 I/O FT PD8
ETH_MII_RX_DV
USART3_RX/
56 - PD9 I/O FT PD9
ETH_MII_RX_D0
USART3_CK/
57 - PD10 I/O FT PD10
ETH_MII_RX_D1
USART3_CTS/
58 - PD11 I/O FT PD11
ETH_MII_RX_D2
TIM4_CH1 /
59 - PD12 I/O FT PD12 USART3_RTS/
ETH_MII_RX_D3
60 - PD13 I/O FT PD13 TIM4_CH2
61 - PD14 I/O FT PD14 TIM4_CH3
62 - PD15 I/O FT PD15 TIM4_CH4
63 37 PC6 I/O FT PC6 I2S2_MCK/ TIM3_CH1
64 38 PC7 I/O FT PC7 I2S3_MCK TIM3_CH2
65 39 PC8 I/O FT PC8 TIM3_CH3
66 40 PC9 I/O FT PC9 TIM3_CH4
USART1_CK/OTG_FS_SOF /
67 41 PA8 I/O FT PA8
TIM1_CH1(7)/MCO
USART1_TX(7)/ TIM1_CH2(7)/
68 42 PA9 I/O FT PA9
OTG_FS_VBUS
USART1_RX(7)/
69 43 PA10 I/O FT PA10
TIM1_CH3(7)/OTG_FS_ID
I / O level(2)
Main
Type(1)
LQFP100
function(3)
LQFP64
Pin name
(after reset) Default Remap
USART1_CTS / CAN1_RX /
70 44 PA11 I/O FT PA11
TIM1_CH4(7)/OTG_FS_DM
USART1_RTS / OTG_FS_DP /
71 45 PA12 I/O FT PA12
CAN1_TX(7) / TIM1_ETR(7)
72 46 PA13 I/O FT JTMS-SWDIO PA13
73 - Not connected
74 47 VSS_2 S VSS_2
75 48 VDD_2 S VDD_2
76 49 PA14 I/O FT JTCK-SWCLK PA14
TIM2_CH1_ETR / PA15
77 50 PA15 I/O FT JTDI SPI3_NSS / I2S3_WS
SPI1_NSS
78 51 PC10 I/O FT PC10 UART4_TX USART3_TX/ SPI3_SCK
USART3_RX/
79 52 PC11 I/O FT PC11 UART4_RX
SPI3_MISO
USART3_CK/
80 53 PC12 I/O FT PC12 UART5_TX
SPI3_MOSI
81 5 PD0 I/O FT OSC_IN(8) CAN1_RX
(8)
82 6 PD1 I/O FT OSC_OUT CAN1_TX
83 54 PD2 I/O FT PD2 TIM3_ETR / UART5_RX
84 - PD3 I/O FT PD3 USART2_CTS
85 - PD4 I/O FT PD4 USART2_RTS
86 - PD5 I/O FT PD5 USART2_TX
87 - PD6 I/O FT PD6 USART2_RX
88 - PD7 I/O FT PD7 USART2_CK
PB3 / TRACESWO/
89 55 PB3 I/O FT JTDO SPI3_SCK / I2S3_CK
TIM2_CH2 / SPI1_SCK
PB4 / TIM3_CH1/
90 56 PB4 I/O FT NJTRST SPI3_MISO
SPI1_MISO
I2C1_SMBA / SPI3_MOSI / TIM3_CH2/SPI1_MOSI/
91 57 PB5 I/O PB5
ETH_PPS_OUT / I2S3_SD CAN2_RX
92 58 PB6 I/O FT PB6 I2C1_SCL(7)/TIM4_CH1(7) USART1_TX/CAN2_TX
93 59 PB7 I/O FT PB7 I2C1_SDA(7)/TIM4_CH2(7) USART1_RX
94 60 BOOT0 I BOOT0
95 61 PB8 I/O FT PB8 TIM4_CH3(7)/ ETH_MII_TXD3 I2C1_SCL/CAN1_RX
96 62 PB9 I/O FT PB9 TIM4_CH4(7) I2C1_SDA / CAN1_TX
I / O level(2)
Main
Type(1)
LQFP100
function(3)
LQFP64
Pin name
(after reset) Default Remap
4 Memory mapping
The memory map is shown in Figure 4.
5 Electrical characteristics
C = 50 pF VIN
ai15664 ai15665
VBAT
Backup circuitry
Po wer swi tch (OSC32K,RTC,
1.8-3.6V
Wake-up logic
Backup registers)
Level shifter
OUT
IO
GP I/Os Logic
IN Kernel logic
(CPU,
Digital
VDD
VDD & Memories)
1/2/3/4/5 Regulator
5 × 100 nF VSS
+ 1 × 4.7 µF 1/2/3/4/5
VDD
VDDA
VREF
VREF+
10 nF Analog:
10 nF VREF- ADC
+ 1 µF RCs, PLL,
+ 1 µF
...
VSSA
ai14125d
IDD_VBAT
VBAT
IDD
VDD
VDDA
ai14126
Table 13. Maximum current consumption in Run mode, code with data processing
running from Flash
Max(1)
Symbol Parameter Conditions fHCLK Unit
TA = 85 °C TA = 105 °C
72 MHz 68 68.4
48 MHz 49 49.2
Table 14. Maximum current consumption in Run mode, code with data processing
running from RAM
Max(1)
Symbol Parameter Conditions fHCLK Unit
TA = 85 °C TA = 105 °C
72 MHz 65.5 66
48 MHz 45.4 46
Table 15. Maximum current consumption in Sleep mode, code running from Flash or RAM
Max(1)
Symbol Parameter Conditions fHCLK Unit
TA = 85 °C TA = 105 °C
72 MHz 48.4 49
48 MHz 33.9 34.4
Table 16. Typical and maximum current consumptions in Stop and Standby modes
Typ(1) Max
Symbol Parameter Conditions
VDD/VBAT VDD/VBAT VDD/VBAT TA = TA = Unit
= 2.0 V = 2.4 V = 3.3 V 85 °C 105 °C
Regulator in Run mode, low-speed
and high-speed internal RC
32 33 600 1300
oscillators and high-speed oscillator
Supply current OFF (no independent watchdog)
in Stop mode Regulator in Low Power mode, low-
speed and high-speed internal RC
25 26 590 1280
oscillators and high-speed oscillator
OFF (no independent watchdog)
IDD
Low-speed internal RC oscillator and
3 3.8 - - µA
independent watchdog ON
Supply current Low-speed internal RC oscillator
2.8 3.6 - -
in Standby ON, independent watchdog OFF
mode
Low-speed internal RC oscillator and
independent watchdog OFF, low- 1.9 2.1 5(2) 6.5(2)
speed oscillator and RTC OFF
Backup
IDD_VBAT domain supply Low-speed oscillator and RTC ON 1.1 1.2 1.4 2.1(2) 2.3(2)
current
1. Typical values are measured at TA = 25 °C.
2. Based on characterization, not tested in production.
2 1.8 V
Consumption (µA)
2V
1.5 2.4 V
1 3.3 V
3.6 V
0.5
0
–40 °C 25 °C 70 °C 85 °C 105 °C
Temperature (°C) ai17329
Figure 10. Typical current consumption in Stop mode with regulator in Run mode
versus temperature at different VDD values
900.00
800.00
700.00
Consumption (µA)
600.00
500.00
3.6 V
400.00
3.3 V
300.00 3V
200.00 2.7 V
2.4 V
100.00
0.00
–40 °C 25 °C 85 °C 105 °C
Temperature (°C)
ai17122
Figure 11. Typical current consumption in Stop mode with regulator in Low-power
mode versus temperature at different VDD values
900.00
800.00
700.00
Consumption (µA)
600.00
500.00
3.6 V
400.00
3.3 V
300.00 3V
200.00 2.7 V
2.4 V
100.00
0.00
–40 °C 25 °C 85 °C 105 °C
Temperature (°C) ai17123
4.50
4.00
3.50
Consumption (µA)
3.00
2.50
2.00 3.6 V
3.3 V
1.50
3V
1.00 2.7 V
2.4 V
0.50
0.00
–40 °C 25 °C 85 °C 105 °C
Temperature (°C) ai17124
Table 17. Typical current consumption in Run mode, code with data processing
running from Flash
Typ(1)
Symbol Parameter Conditions fHCLK All peripherals All peripherals Unit
enabled(2) disabled
72 MHz 47.3 28.3
48 MHz 32 19.6
36 MHz 24.6 15.4
24 MHz 16.8 10.6
16 MHz 11.8 7.4
(3)
External clock 8 MHz 5.9 3.7 mA
4 MHz 3.7 2.9
2 MHz 2.5 2
1 MHz 1.8 1.53
Supply 500 kHz 1.5 1.3
IDD current in
Run mode 125 kHz 1.3 1.2
36 MHz 23.9 14.8
24 MHz 16.1 9.7
Table 18. Typical current consumption in Sleep mode, code running from Flash or
RAM
Typ(1)
Symbol Parameter Conditions fHCLK Unit
All peripherals All peripherals
enabled(2) disabled
72 MHz 28.2 6
48 MHz 19 4.2
36 MHz 14.7 3.4
24 MHz 10.1 2.5
16 MHz 6.7 2
(3)
External clock 8 MHz 3.2 1.3
4 MHz 2.3 1.2
2 MHz 1.7 1.16
1 MHz 1.5 1.1
Supply 500 kHz 1.3 1.05
IDD current in mA
Sleep mode 125 kHz 1.2 1.05
36 MHz 13.7 2.6
24 MHz 9.3 1.8
16 MHz 6.3 1.3
Running on high
8 MHz 2.7 0.6
speed internal RC
(HSI), AHB prescaler 4 MHz 1.6 0.5
used to reduce the
2 MHz 1 0.46
frequency
1 MHz 0.8 0.44
500 kHz 0.6 0.43
125 kHz 0.5 0.42
1. Typical values are measures at TA = 25 °C, VDD = 3.3 V.
2. Add an additional power consumption of 0.8 mA per ADC for the analog part. In applications, this
consumption occurs only while the ADC is on (ADON bit is set in the ADC_CR2 register).
3. External clock is 8 MHz and PLL is on when fHCLK > 8 MHz.
ETH_MAC 5.2
AHB
OTG_FS 7.7
TIM2 1.5
TIM3 1.5
TIM4 1.5
TIM5 1.5
TIM6 0.6
TIM7 0.3
SPI2 0.2
mA
USART2 0.5
APB1
USART3 0.5
UART4 0.5
UART5 0.5
I2C1 0.5
I2C2 0.5
CAN1 0.8
CAN2 0.8
DAC 0.4
GPIO A 0.5
GPIO B 0.5
GPIO C 0.5
GPIO D 0.5
GPIO E 0.5
APB2 mA
(2)
ADC1 2.1
ADC2(2) 2.0
TIM1 1.7
SPI1 0.4
USART1 0.9
1. fHCLK = 72 MHz, fAPB1 = fHCLK/2, fAPB2 = fHCLK, default prescaler value for each peripheral.
2. Specific conditions for ADC: fHCLK = 56 MHz, fAPB1 = fHCLK/2, fAPB2 = fHCLK, fADCCLK = fAPB2/4, ADON bit
in the ADC_CR2 register is set to 1.
VHSEH
90%
10%
VHSEL
tr(HSE) tW(HSE) t
tf(HSE) tW(HSE)
THSE
External fHSE_ext
IL
clock source OSC _IN
STM32F10xxx
ai14127b
VLSEH
90%
10%
VLSEL
tr(LSE) tW(LSE) t
tf(LSE) tW(LSE)
TLSE
External fLSE_ext
OSC32_IN IL
clock source
STM32F10xxx
ai14140c
For CL1 and CL2, it is recommended to use high-quality external ceramic capacitors in the
5 pF to 25 pF range (typ.), designed for high-frequency applications, and selected to match
the requirements of the crystal or resonator (see Figure 15). CL1 and CL2 are usually the
same size. The crystal manufacturer typically specifies a load capacitance which is the
series combination of CL1 and CL2. PCB and MCU pin capacitance must be included (10 pF
can be used as a rough estimate of the combined pin and board capacitance) when sizing
CL1 and CL2. Refer to the application note AN2867 “Oscillator design guide for ST
microcontrollers” available from the ST website www.st.com.
ai14128b
RF Feedback resistor 5 MY
Recommended load capacitance
C(2) versus equivalent serial RS = 30 kY 15 pF
resistance of the crystal (RS)(3)
I2 LSE driving current VDD = 3.3 V, VIN = VSS 1.4 µA
gm Oscillator Transconductance 5 µA/V
tSU(LSE)(4) startup time VDD is stabilized 3 s
1. Based on characterization, not tested in production.
2. Refer to the note and caution paragraphs below the table, and to the application note AN2867 “Oscillator
design guide for ST microcontrollers”.
3. The oscillator selection can be optimized in terms of supply current using an high quality resonator with
small RS value for example MSIV-TIN32.768kHz. Refer to crystal manufacturer for more details
4. tSU(LSE) is the startup time measured from the moment it is enabled (by software) to a stabilized
32.768 kHz oscillation is reached. This value is measured for a standard crystal resonator and it can vary
significantly with the crystal manufacturer
Note: For CL1 and CL2 it is recommended to use high-quality external ceramic capacitors in the
5 pF to 15 pF range selected to match the requirements of the crystal or resonator (see
Figure 16). CL1 and CL2, are usually the same size. The crystal manufacturer typically
specifies a load capacitance which is the series combination of CL1 and CL2.
Load capacitance CL has the following formula: CL = CL1 x CL2 / (CL1 + CL2) + Cstray where
Cstray is the pin capacitance and board or trace PCB-related capacitance. Typically, it is
between 2 pF and 7 pF.
Caution: To avoid exceeding the maximum value of CL1 and CL2 (15 pF) it is strongly recommended
to use a resonator with a load capacitance CL 7 pF. Never use a resonator with a load
capacitance of 12.5 pF.
Example: if you choose a resonator with a load capacitance of CL = 6 pF, and Cstray = 2 pF,
then CL1 = CL2 = 8 pF.
Resonator with
integrated capacitors
CL1
OSC32_IN fLSE
Bias
32.768 KH z controlled
RF
resonator gain
OSC32_OU T STM32F10xxx
CL2
ai14129b
All timings are derived from tests performed under ambient temperature and VDD supply
voltage conditions summarized in Table 9.
1. The wakeup times are measured from the wakeup event to the point in which the user application code
reads the first instruction.
0.1 to 30 MHz 9 9
VDD ?"3.3 V, TA ?"25 °C, 30 to 130 MHz 26 13 dBµV
SEMI Peak level LQFP100 package
compliant with IEC61967-2 130 MHz to 1GHz 25 31
SAE EMI Level 4 4 -
Static latch-up
Two complementary static tests are required on six parts to assess the latch-up
performance:
● A supply overvoltage is applied to each power supply pin
● A current injection is applied to each input, output and configurable I/O pin
These tests are compliant with EIA/JESD 78A IC latch-up standard.
All I/Os are CMOS and TTL compliant (no software configuration required), their
characteristics consider the most strict CMOS-technology or TTL parameters:
● For VIH:
– if VDD is in the [2.00 V - 3.08 V] range: CMOS characteristics but TTL included
– if VDD is in the [3.08 V - 3.60 V] range: TTL characteristics but CMOS included
● For VIL:
– if VDD is in the [2.00 V - 2.28 V] range: TTL characteristics but CMOS included
– if VDD is in the [2.28 V - 3.60 V] range: CMOS characteristics but TTL included
Input/output AC characteristics
The definition and values of input/output AC characteristics are given in Figure 17 and
Table 37, respectively.
Unless otherwise specified, the parameters given in Table 37 are derived from tests
performed under the ambient temperature and VDD supply voltage conditions summarized
in Table 9.
90% 10%
50% 50%
10% 90%
Maximum frequency is achieved if (tr + tf) "2/3)T and if the duty cycle is (45-55%)"
when loaded by 50pF
ai14131
VDD
External
reset circuit(1)
RPU Internal reset
NRST(2)
Filter
0.1 µF
STM32F10xxx
ai14132c
1 tTIMxCLK
tres(TIM) Timer resolution time
fTIMxCLK = 72 MHz 13.9 ns
0 fTIMxCLK/2 MHz
Timer external clock
fEXT
frequency on CH1 to CH4 f
TIMxCLK = 72 MHz 0 36 MHz
ResTIM Timer resolution 16 bit
16-bit counter clock period 1 65536 tTIMxCLK
tCOUNTER when internal clock is
selected fTIMxCLK = 72 MHz 0.0139 910 µs
4 .7 kΩ 4 .7 kΩ STM32F10xxx
100 Ω
SDA
I²C bus 100 Ω
SCL
S TART REPEATED
S TART
tsu(STA) S TART
SDA
tf(SDA) tr(SDA) tsu(SDA)
S TOP tsu(STA:STO)
th(STA) tw(SCKL) th(SDA)
SCL
tw(SCKH) tr(SCK) tf(SCK) tsu(STO)
ai14133c
400 0x801E
300 0x8028
200 0x803C
100 0x00B4
50 0x0168
20 0x0384
1. RP = External pull-up resistance, fSCL = I 2C speed,
2. For speeds around 200 kHz, the tolerance on the achieved speed is of ‒5%. For other speed ranges, the
tolerance on the achieved speed ‒2%. These variations depend on the accuracy of the external
components used to design the application.
NSS input
tc(SCK)
tSU(NSS) th(NSS)
CPHA= 0
SCK Input
CPOL=0
tw(SCKH)
CPHA= 0 tw(SCKL)
CPOL=1
Figure 21. SPI timing diagram - slave mode and CPHA = 1(1)
NSS input
tSU(NSS) tc(SCK) th(NSS)
CPHA=1
SCK Input
CPOL=0
tw(SCKH)
CPHA=1 tw(SCKL)
CPOL=1
ai14135
High
NSS input
tc(SCK)
CPHA= 0
SCK Input
CPOL=0
CPHA= 0
CPOL=1
CPHA=1
SCK Input
CPOL=0
CPHA=1
CPOL=1
tw(SCKH) tr(SCK)
tsu(MI) tw(SCKL) tf(SCK)
MISO
INP UT MS BIN BI T6 IN LSB IN
th(MI)
MOSI
M SB OUT B I T1 OUT LSB OUT
OUTUT
tv(MO) th(MO)
ai14136
tc(CK)
CK Input CPOL = 0
CPOL = 1
WS input
tsu(SD_SR) th(SD_SR)
ai14881b
1. Measurement points are done at CMOS levels: 0.3 × VDD and 0.7 × VDD.
2. LSB transmit/receive of the previously transmitted byte. No LSB transmit/receive is sent before the first
byte.
tf(CK) tr(CK)
tc(CK)
CK output
CPOL = 0
tw(CKH)
CPOL = 1
tv(WS) tw(CKL) th(WS)
WS output
tv(SD_MT) th(SD_MT)
tsu(SD_MR) th(SD_MR)
ai14884b
Output VOL Static output level low RL of 1.5 kY to 3.6 V(4) 0.3
V
levels VOH Static output level high RL of 15 kY to VSS(4) 2.8 3.6
Pull-down resistance on
17 21 24
PA11, PA12
RPD VIN = VDD
Pull-down resistance on
0.65 1.1 2.0 kY
PA9
Pull-up resistance on PA12 VIN = VSS 1.5 1.8 2.1
RPU
Pull-up resistance on PA9 VIN = VSS 0.25 0.37 0.55
1. All the voltages are measured from the local ground potential.
2. The STM32F105xx and STM32F107xx USB OTG FS functionality is ensured down to 2.7 V but not the full
USB OTG FS electrical characteristics which are degraded in the 2.7-to-3.0 V VDD voltage range.
3. Guaranteed by design, not tested in production.
4. RL is the load connected on the USB OTG FS drivers
Figure 25. USB OTG FS timings: definition of data signal rise and fall time
Crossover
points
Differen tial
data lines
VCRS
VS S
tf tr
ai14137
tr Rise time(2) CL = 50 pF 4 20 ns
tf Fall time(2) CL = 50 pF 4 20 ns
trfm Rise/ fall time matching tr/tf 90 110 %
VCRS Output signal crossover voltage 1.3 2.0 V
1. Guaranteed by design, not tested in production.
2. Measured from 10% to 90% of the data signal. For more detailed informations, please refer to USB
Specification - Chapter 7 (version 2.0).
Ethernet characteristics
Table 47 showns the Ethernet operating voltage.
Table 48 gives the list of Ethernet MAC signals for the SMI (station management interface)
and Figure 26 shows the corresponding timing diagram.
ETH_MDC
td(MDIO)
ETH_MDIO(O)
tsu(MDIO) th(MDIO)
ETH_MDIO(I)
ai15666c
tMDC MDC cycle time (1.71 MHz, AHB = 72 MHz) 582.8 583.3 584 ns
td(MDIO) MDIO write data valid time 305.2 305.9 306.5 ns
tsu(MDIO) Read data setup time TBD TBD TBD ns
th(MDIO) Read data hold time TBD TBD TBD ns
1. TBD stands for to be determined.
Table 49 gives the list of Ethernet MAC signals for the RMII and Figure 27 shows the
corresponding timing diagram.
RMII_REF_CLK
td(TXEN)
td(TXD)
RMII_TX_EN
RMII_TXD[1:0]
tsu(RXD) tih(RXD)
tsu(CRS) tih(CRS)
RMII_RXD[1:0]
RMII_CRS_DV
ai15667
Table 50 gives the list of Ethernet MAC signals for MII and Figure 27 shows the
corresponding timing diagram.
MII_RX_CLK
tsu(RXD) tih(RXD)
tsu(ER) tih(ER)
tsu(DV) tih(DV)
MII_RXD[3:0]
MII_RX_DV
MII_RX_ER
MII_TX_CLK
td(TXEN)
td(TXD)
MII_TX_EN
MII_TXD[3:0]
ai15668
The formula above (Equation 1) is used to determine the maximum external impedance allowed for an
error below 1/4 of LSB. Here N = 12 (from 12-bit resolution).
Note: ADC accuracy vs. negative injection current: Injecting a negative current on any of the
standard (non-robust) analog input pins should be avoided as this significantly reduces the
accuracy of the conversion being performed on another analog input. It is recommended to
add a Schottky diode (pin to ground) to standard analog pins which may potentially inject
negative currents.
Any positive injection current within the limits specified for IINJ(PIN) and UIINJ(PIN) in
Section 5.3.12 does not affect the ADC accuracy.
VDD STM32F10xxx
ai14139d
Figure 31. Power supply and reference decoupling (VREF+ not connected to VDDA)
STM32F10xxx
V REF+
(See note 1)
1 µF // 10 nF V DDA
1 µF // 10 nF
V SSA/V REF-
(See note 1)
ai14380c
Figure 32. Power supply and reference decoupling (VREF+ connected to VDDA)
STM32F10xxx
VREF+/VDDA
(See note 1)
1 µF // 10 nF
VREF–/VSSA
(See note 1)
ai14381c
VREF+ Reference supply voltage 2.4 3.6 V VREF+ must always be below VDDA
VSSA Ground 0 0 V
RLOAD (1) Resistive load with buffer ON 5 kY
When the buffer is OFF, the
Impedance output with buffer Minimum resistive load between
RO(1) 15 kY
OFF DAC_OUT and VSS to have a 1%
accuracy is 1.5 MY
Maximum capacitive load at
CLOAD(1) Capacitive load 50 pF DAC_OUT pin (when the buffer is
ON).
It gives the maximum output
DAC_OUT Lower DAC_OUT voltage excursion of the DAC.
0.2 V
min(1) with buffer ON
It corresponds to 12-bit input code
(0x0E0) to (0xF1C) at VREF+ =
DAC_OUT Higher DAC_OUT voltage 3.6 V and (0x155) to (0xEAB) at
VDDA – 0.2 V
max(1) with buffer ON VREF+ = 2.4 V
DAC_OUT Lower DAC_OUT voltage
0.5 mV
min(1) with buffer OFF It gives the maximum output
DAC_OUT Higher DAC_OUT voltage excursion of the DAC.
VREF+ – 1LSB V
max(1) with buffer OFF
DAC DC current consumption With no load, worst code (0xF1C)
IDDVREF+ in quiescent mode (Standby 220 µA at VREF+ = 3.6 V in terms of DC
mode) consumption on the inputs
With no load, middle code (0x800)
380 µA
DAC DC current consumption on the inputs
IDDA in quiescent mode (Standby With no load, worst code (0xF1C)
mode) 480 µA at VREF+ = 3.6 V in terms of DC
consumption on the inputs
Buffer(1)
R LOAD
12-bit DACx_OUT
digital to
analog
converter
C LOAD
ai17157
1. The DAC integrates an output buffer that can be used to reduce the output impedance and to drive external loads directly
without the use of an external operational amplifier. The buffer can be bypassed by configuring the BOFFx bit in the
DAC_CR register.
6 Package characteristics
Figure 34. LQFP100, 100-pin low-profile quad flat Figure 35. Recommended footprint(1)(2)
package outline(1)
0.25 mm
0.10 inch
GAGE PLANE
k 75 51
D
L 76 50
D1
0.5
D3 L1
75 51 C
0.3
76 50
16.7 14.3
E3 E1 E
100 26
1.2
1 25
100 26
12.3
Pin 1 1 25
ccc C
identification
16.7
e
A1
ai14906
A2
A
SEATING PLANE C
1L_ME
Table 57. LQPF100 – 100-pin low-profile quad flat package mechanical data
millimeters inches(1)
Symbol
Typ Min Max Typ Min Max
A 1.60 0.063
A1 0.05 0.15 0.002 0.0059
A2 1.40 1.35 1.45 0.0551 0.0531 0.0571
b 0.22 0.17 0.27 0.0087 0.0067 0.0106
c 0.09 0.20 0.0035 0.0079
D 16.00 15.80 16.20 0.6299 0.622 0.6378
D1 14.00 13.80 14.20 0.5512 0.5433 0.5591
D3 12.00 0.4724
E 16.00 15.80 16.20 0.6299 0.622 0.6378
E1 14.00 13.80 14.20 0.5512 0.5433 0.5591
E3 12.00 0.4724
e 0.50 0.0197
L 0.60 0.45 0.75 0.0236 0.0177 0.0295
L1 1.00 0.0394
k 3.5° 0° 7° 3.5° 0° 7°
ccc 0.08 0.0031
1. Values in inches are converted from mm and rounded to 4 decimal digits.
Figure 36. LQFP64 – 64 pin low-profile quad flat Figure 37. Recommended footprint(1)(2)
package outline(1)
A 48 33
A2
0.3
A1
49 0.5 32
b 12.7
E E1 10.3
e 10.3
64 17
1.2
1 16
D1 c 7.8
D L1
L 12.7
ai14398b ai14909
Table 58. LQFP64 – 64 pin low-profile quad flat package mechanical data
mm inches(1)
Dim.
Min Typ Max Min Typ Max
A 1.60 0.0630
A1 0.05 0.15 0.0020 0.0059
A2 1.35 1.40 1.45 0.0531 0.0551 0.0571
b 0.17 0.22 0.27 0.0067 0.0087 0.0106
c 0.09 0.20 0.0035 0.0079
D 12.00 0.4724
D1 10.00 0.3937
E 12.00 0.4724
E1 10.00 0.3937
e 0.50 0.0197
s 0° 3.5° 7° 0° 3.5° 7°
L 0.45 0.60 0.75 0.0177 0.0236 0.0295
L1 1.00 0.0394
Number of pins
N
64
1. Values in inches are converted from mm and rounded to 4 decimal digits.
700
600
500
PD (mW)
400 Suffix 6
Suffix 7
300
200
100
0
65 75 85 95 105 115 125 135
TA (°C)
7 Part numbering
Device family
STM32 = ARM-based 32-bit microcontroller
Product type
F = general-purpose
Device subfamily
105 = connectivity, USB OTG FS
107= connectivity, USB OTG FS & Ethernet
Pin count
R = 64 pins
V = 100 pins
Package
T = LQFP
Temperature range
6 = Industrial temperature range, –40 to 85 °C.
7 = Industrial temperature range, –40 to 105 °C.
Options
xxx = programmed parts
TR = tape and real
For a list of available options (speed, package, etc.) or for further information on any aspect
of this device, please contact your nearest ST sales office.
OTG PHY
USB DP
Full-speed DM
DP
USB DM
OTG HNP VBUS
Full-speed V BUS VSS
core
VSS
ID
SRP
VDD(1) 5 V to VDD
Regulator(2)
ai15653b
OTG PHY
USB DP
full-speed/
DM
USB
OTG HNP
Full-speed V BUS
core
VSS
ID
VDD(2)
SRP
Current-limited
EN power distribution 5 V
GPIO
OVRCR switch
GPIO + IRQ
flag STMPS2141STR(1)
ai15654b
OTG PHY
USB DP
full-speed/
VSS
ID
VDD(2)
SRP
Current-limited
EN power distribution 5 V
GPIO
OVRCR switch
GPIO + IRQ
flag STMPS2141STR(1)
ai15655b
PPS_OUT(2)
ai15656
/2 or /20
2.5 or 25 MHz synchronous 50 MHz
ai15657
Figure 44. RMII with a 25 MHz crystal and PHY with PLL
STM32F107xx Ethernet
PHY 10/100
MCU RMII_TX_EN
Ethernet
MAC 10/100 RMII_TXD[1:0]
RMII_RXD[1:0]
HCLK(1) RMII
RMII_CRX_DV = 7 pins
RMII_REF_CLK REF_CLK RMII + MDC
IEEE1588 PTP = 9 pins
Timer MDIO
input
trigger Timestamp MDC
TIM2 comparator
/2 or /20
2.5 or 25 MHz synchronous 50 MHz
ai15658
STM32F107xx Ethernet
PHY 10/100
MCU RMII_TX_EN
Ethernet
MAC 10/100 RMII_TXD[1:0]
RMII_RXD[1:0]
HCLK RMII
RMII_CRX_DV = 7 pins
RMII_REF_CLK RMII + MDC
IEEE1588 PTP 50 MHz 50 MHz = 9 pins
Timer MDIO
input
trigger Time stamp MDC
TIM2 comparator
XTAL 50 MHz
25 MHz OSC PLLS XT1/XT2
NS DP83848(1)
ai15659b
1. The NS DP83848 is recommended as the input jitter requirement of this PHY. It is compliant with the output
jitter specification of the MCU.
XTAL LCD
Cortex-M3 core SPI touch
14.7456 MHz
72 MHz screen
ai15660
XTAL LCD
Cortex-M3 core SPI touch
14.7456 MHz
72 MHz screen
by 5 PLL2
25 MHz x8 Cortex-M3 core
up to
72 MHz
PLL
Div x9
by 5 VCO OTG
Out Div by 3 PHY
x18 48 MHz
sel
PLL3 Up to
x10 50 MHz MCLK
Ethernet MCO I2S 2% accuracy
PHY MCO error
SCLK
sel
ai15662b
With the clock tree implemented on the STM32F107xx, only one crystal is required to work
with both the USB (host/device/OTG) and the I2S (Audio) interfaces. Figure 49 illustrate the
solution.
by 4 PLL2
x12 Cortex-M3 core
Up to
71.88 MHz
PLL
Div x6.5
by 4 VCO OTG
Out Div by 3 47.9232 MHz PHY
sel x13
ai15663b
NA
Ethernet + OTG PLL3
PLL2ON PLLON PLL3ON ETH PHY
+ Audio class 14.7456 /4 PLL2 /4 /3 VCO
x12 x6.5 x20 must use its
I2S(1) Out
own crystal
OTG + basic
8 NA PLL2OFF XT1 /1 PLLON x9 /3 PLL3OFF PLL NA
audio
PLL3
OTG + Audio PLL2ON PLLON PLL3ON
14.7456 /4 PLL2 /4 /3 VCO NA
class I2S(1) x12 x6.5 x20
Out
PLL3
Audio class I2S PLL2ON PLLON PLL3ON
14.7456 /4 PLL2 /4 NA VCO NA
only(1) x12 x6.5 x20
out
1. SYSCLK is set to be at 72 MHz except in this case where SYSCLK is at 71.88 MHz.
Table 62 give the IDD run mode values that correspond to the conditions specified in
Table 61.
Table 62. Applicative current consumption in Run mode, code with data
processing running from Flash
Symbol parameter Conditions(1) Typ(2) Max(2) Unit
85 °C 105 °C
Revision history
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the
right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any
time, without notice.
All ST products are sold pursuant to ST’s terms and conditions of sale.
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no
liability whatsoever relating to the choice, selection or use of the ST products and services described herein.
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this
document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products
or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such
third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED
WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS
OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOT
RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING
APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY,
DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE
GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void
any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any
liability of ST.
Information in this document supersedes and replaces all information previously supplied.
The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.