STM32F103T6U6A STMicroelectronics, STM32F103T6U6A Datasheet
![no-image](/images/manufacturer_photos/0/6/637/stmicroelectronics_sml.jpg)
STM32F103T6U6A
Specifications of STM32F103T6U6A
Available stocks
Related parts for STM32F103T6U6A
STM32F103T6U6A Summary of contents
Page 1
Low-density performance line, ARM-based 32-bit MCU with Flash, USB, CAN, 6 timers, 2 ADCs, 6 communication interfaces Features ■ ARM 32-bit Cortex™-M3 CPU Core – 72 MHz maximum frequency, 1.25 DMIPS/MHz (Dhrystone 2.1) performance at 0 ...
Page 2
Contents Contents 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 3
STM32F103x4, STM32F103x6 5 Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 4
Contents 7 Ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 8 Revision ...
Page 5
STM32F103x4, STM32F103x6 List of tables Table 1. Device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 6
List of tables Table 45. USB: Full-speed electrical characteristics ...
Page 7
STM32F103x4, STM32F103x6 List of figures Figure 1. STM32F103xx performance line block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 8
List of figures Figure 43. Recommended footprint Figure 44. TFBGA64 - active ball array mm, 0.5 mm pitch, package outline . . . . . . . . . . 78 Figure 45. Recommended ...
Page 9
... This datasheet provides the ordering information and mechanical device characteristics of the STM32F103x4 and STM32F103x6 low-density performance line microcontrollers. For more details on the whole STMicroelectronics STM32F103xx family, please refer to Section 2.2: Full compatibility throughout the The low-density STM32F103xx datasheet should be read in conjunction with the low-, medium- and high-density STM32F10xxx reference manual ...
Page 10
Description 2.1 Device overview Table 2. STM32F103xx low-density device features and peripheral counts Peripheral Flash - Kbytes SRAM - Kbytes General-purpose Advanced-control SPI USART USB CAN GPIOs 12-bit synchronized ADC Number of channels CPU frequency Operating voltage ...
Page 11
STM32F103x4, STM32F103x6 Figure 1. STM32F103xx performance line block diagram TRACECLK TRACED[0: NJTRST JTDI JTCK/SWCLK JTMS/SWDIO JTDO as AF NRST VDDA VSSA 51AF PA[ 15:0] PB[ 15:0] PC[15:0] PD[2:0] 4 Chann els 3 co mpl. channels ETR and BKIN ...
Page 12
Description Figure 2. Clock tree OSC_OUT OSC_IN OSC32_IN OSC32_OUT MCO 1. When the HSI is used as a PLL clock input, the maximum system clock frequency that can be achieved is 64 MHz. 2. For the USB function to be ...
Page 13
STM32F103x4, STM32F103x6 2.2 Full compatibility throughout the family The STM32F103xx is a complete family whose members are fully pin-to-pin, software and feature compatible. In the reference manual, the STM32F103x4 and STM32F103x6 are identified as low-density devices, the STM32F103x8 and STM32F103xB ...
Page 14
Description 2.3 Overview ® 2.3.1 ARM Cortex™-M3 core with embedded Flash and SRAM The ARM Cortex™-M3 processor is the latest generation of ARM processors for embedded systems. It has been developed to provide a low-cost platform that meets the needs ...
Page 15
STM32F103x4, STM32F103x6 This hardware block provides flexible interrupt management features with minimal interrupt latency. 2.3.6 External interrupt/event controller (EXTI) The external interrupt/event controller consists of 19 edge detector lines used to generate interrupt/event requests. Each line can be independently configured ...
Page 16
Description in reset mode when V external reset circuit. The device features an embedded programmable voltage detector (PVD) that monitors the V /V power supply and compares it to the V DD DDA generated when V than the V threshold. ...
Page 17
STM32F103x4, STM32F103x6 2.3.13 DMA The flexible 7-channel general-purpose DMA is able to manage memory-to-memory, peripheral-to-memory and memory-to-peripheral transfers. The DMA controller supports circular buffer management avoiding the generation of interrupts when the controller reaches the end of the buffer. Each ...
Page 18
Description Advanced-control timer (TIM1) The advanced-control timer (TIM1) can be seen as a three-phase PWM multiplexed on 6 channels. It has complementary PWM outputs with programmable inserted dead-times. It can also be seen as a complete general-purpose timer. The 4 ...
Page 19
STM32F103x4, STM32F103x6 SysTick timer This timer is dedicated for OS, but could also be used as a standard downcounter. It features: ● A 24-bit downcounter ● Autoreload capability ● Maskable system interrupt generation when the counter reaches 0 ● Programmable ...
Page 20
Description 2.3.21 GPIOs (general-purpose inputs/outputs) Each of the GPIO pins can be configured by software as output (push-pull or open-drain), as input (with or without pull-up or pull-down peripheral alternate function. Most of the GPIO pins are shared ...
Page 21
STM32F103x4, STM32F103x6 3 Pinouts and pin description Figure 3. STM32F103xx performance line LQFP64 pinout PC13-TAMPER-RTC PC14-OSC32_IN PC15-OSC32_OUT VBAT PD0 OSC_IN ...
Page 22
Pinouts and pin description Figure 4. STM32F103xx performance line TFBGA64 ballout 1 PC14- A OSC32_IN PC15- B OSC32_OUT C OSC_IN D OSC_OUT E NRST V SSA F V REF DDA 22/ PC13- PB9 PB4 ...
Page 23
STM32F103x4, STM32F103x6 Figure 5. STM32F103xx performance line LQFP48 pinout PC13-TAMPER-RTC PC15-OSC32_OUT Figure 6. STM32F103xx performance line VFQFPN48 pinout PC13-TAMPER-RTC PC14-OSC32_IN PC15-OSC32_OUT PD1-OSC_OUT VBAT 1 2 PC14-OSC32_IN 3 4 ...
Page 24
Pinouts and pin description Figure 7. STM32F103xx performance line VFQFPN36 pinout V OSC_IN/PD0 OSC_OUT/PD1 NRST PA0-WKUP 24/ DD_3 QFN36 V 5 SSA V 6 DDA 7 PA1 8 PA2 9 10 ...
Page 25
STM32F103x4, STM32F103x6 Table 5. Low-density STM32F103xx pin definitions Pins Pin name BAT PC13-TAMPER RTC PC14-OSC32_IN PC15 OSC32_OUT OSC_IN 6 ...
Page 26
Pinouts and pin description Table 5. Low-density STM32F103xx pin definitions (continued) Pins Pin name - 25 H6 PC5 PB0 PB1 PB2 PB10 22 30 ...
Page 27
... This alternate function can be remapped by software to some other port pins (if available on the used package). For more details, refer to the Alternate function I/O and debug configuration section in the STM32F10xxx reference manual, available from the STMicroelectronics website: www.st.com. 9. The pins number 2 and 3 in the VFQFPN36 package, 5 and 6 in the LQFP48 and LQFP64 packages and C1 and C2 in the TFBGA64 package are configured as OSC_IN/OSC_OUT after reset, however the functionality of PD0 and PD1 can be remapped by software on these pins ...
Page 28
Memory mapping 4 Memory mapping The memory map is shown in Figure 8. Memory map 0xFFFF FFFF 7 0xE010 0000 Cortex-M3 Internal Peripherals 0xE000 0000 6 0xC000 0000 5 0xA000 0000 4 0x8000 0000 3 0x6000 0000 2 Peripherals 0x4000 ...
Page 29
STM32F103x4, STM32F103x6 5 Electrical characteristics 5.1 Parameter conditions Unless otherwise specified, all voltages are referenced to V 5.1.1 Minimum and maximum values Unless otherwise specified the minimum and maximum values are guaranteed in the worst conditions of ambient temperature, supply ...
Page 30
Electrical characteristics Figure 9. Pin loading conditions 5.1.6 Power supply scheme Figure 11. Power supply scheme 1.8-3.6V 5 × 100 × 4.7 µ µF + ...
Page 31
STM32F103x4, STM32F103x6 5.1.7 Current consumption measurement Figure 12. Current consumption measurement scheme 5.2 Absolute maximum ratings Stresses above the absolute maximum ratings listed in Table 7: Current characteristics, and damage to the device. These are stress ratings only and functional ...
Page 32
Electrical characteristics Table 7. Current characteristics Symbol I Total current into V VDD I Total current out of V VSS Output current sunk by any I/O and control pin I IO Output current source by any I/Os and control pin ...
Page 33
STM32F103x4, STM32F103x6 Table 9. General operating conditions (continued) Symbol Power dissipation for suffix suffix 7 Ambient temperature for 6 suffix version T A Ambient temperature for 7 suffix version T Junction temperature range ...
Page 34
Electrical characteristics Table 11. Embedded reset and power control block characteristics Symbol Programmable voltage V PVD detector level selection (2) V PVD hysteresis PVDhyst Power on/power down V POR/PDR reset threshold (2) V PDR hysteresis PDRhyst (2) T Reset temporization ...
Page 35
STM32F103x4, STM32F103x6 5.3.4 Embedded reference voltage The parameters given in temperature and V Table 12. Embedded internal reference voltage Symbol V Internal reference voltage REFINT ADC sampling time when (1) T reading the internal reference S_vrefint voltage Internal reference voltage ...
Page 36
Electrical characteristics Table 13. Maximum current consumption in Run mode, code with data processing running from Flash Symbol Parameter Supply current Run mode 1. Based on characterization, not tested in production. 2. External clock is 8 MHz ...
Page 37
STM32F103x4, STM32F103x6 Figure 13. Typical current consumption in Run mode versus frequency (at 3 code with data processing running from RAM, peripherals enabled – 45°C Figure 14. Typical ...
Page 38
Electrical characteristics Table 15. Maximum current consumption in Sleep mode, code running from Flash or RAM Symbol Parameter Supply current Sleep mode 1. based on characterization, tested in production External clock is 8 MHz ...
Page 39
STM32F103x4, STM32F103x6 Table 16. Typical and maximum current consumptions in Stop and Standby modes Symbol Parameter Regulator in Run mode, low-speed and high-speed internal RC oscillators and high-speed oscillator OFF (no independent watchdog) Supply current in Stop mode Regulator in ...
Page 40
Electrical characteristics Figure 16. Typical current consumption in Stop mode with regulator in Run mode versus temperature at V 120 100 –45 °C Figure 17. Typical current consumption in Stop mode with regulator in Low-power ...
Page 41
STM32F103x4, STM32F103x6 Figure 18. Typical current consumption in Standby mode versus temperature 3.3 V and 3 4.5 4 3.5 3 2.5 2 1.5 1 0.5 0 –45 °C Typical current consumption The MCU is placed ...
Page 42
Electrical characteristics Table 17. Typical current consumption in Run mode, code with data processing running from Flash Symbol Parameter Supply I current in DD Run mode 1. Typical values are measures Add an additional power consumption of ...
Page 43
STM32F103x4, STM32F103x6 Table 18. Typical current consumption in Sleep mode, code running from Flash or RAM Symbol Parameter Supply I current in DD Sleep mode 1. Typical values are measures Add an additional power consumption of 0.8 ...
Page 44
Electrical characteristics On-chip peripheral current consumption The current consumption of the on-chip peripherals is given in under the following conditions: ● all I/O pins are in input mode with a static value at V ● all peripherals are disabled unless ...
Page 45
STM32F103x4, STM32F103x6 Table 20. High-speed external user clock characteristics Symbol User external clock source f HSE_ext frequency V OSC_IN input pin high level voltage HSEH V OSC_IN input pin low level voltage HSEL t w(HSE) OSC_IN high or low time ...
Page 46
Electrical characteristics Figure 19. High-speed external clock source AC timing diagram V HSEH 90% 10% V HSEL t r(HSE) EXTER NAL CLOCK SOURC E Figure 20. Low-speed external clock source AC timing diagram V LSEH 90% 10% V LSEL t ...
Page 47
STM32F103x4, STM32F103x6 Table 22. HSE 4-16 MHz oscillator characteristics Symbol f Oscillator frequency OSC_IN R Feedback resistor F Recommended load capacitance C versus equivalent serial resistance of the crystal (R i HSE driving current 2 g Oscillator transconductance m (4) ...
Page 48
Electrical characteristics Table 23. LSE oscillator characteristics (f Symbol Parameter R Feedback resistor F Recommended load capacitance C versus equivalent serial resistance of the crystal (R I LSE driving current 2 g Oscillator transconductance m (3) t Startup time SU(LSE) ...
Page 49
STM32F103x4, STM32F103x6 Figure 22. Typical application with a 32.768 kHz crystal Resonator with integrated capacitors 5.3.7 Internal clock source characteristics The parameters given in temperature and V High-speed internal (HSI) RC oscillator Table 24. HSI oscillator ...
Page 50
Electrical characteristics Low-speed internal (LSI) RC oscillator Table 25. LSI oscillator characteristics Symbol (2) f Frequency LSI (3) t LSI oscillator startup time su(LSI) (3) I LSI oscillator power consumption DD(LSI –40 to ...
Page 51
STM32F103x4, STM32F103x6 Table 26. Low-power mode wakeup timings Symbol (1) t WUSLEEP (1) t WUSTOP (1) t WUSTDBY 1. The wakeup times are measured from the wakeup event to the point in which the user application code reads the first ...
Page 52
Electrical characteristics Table 28. Flash memory characteristics (continued) Symbol Parameter I Supply current DD V Programming voltage prog 1. Guaranteed by design, not tested in production. Table 29. Flash memory endurance and data retention Symbol Parameter N Endurance END t ...
Page 53
STM32F103x4, STM32F103x6 Table 30. EMS characteristics Symbol Voltage limits to be applied on any I/O pin to V FESD induce a functional disturbance Fast transient voltage burst limits applied through 100 EFTB pins to ...
Page 54
Electrical characteristics 5.3.11 Absolute maximum ratings (electrical sensitivity) Based on three different tests (ESD, LU) using specific measurement methods, the device is stressed in order to determine its performance in terms of electrical sensitivity. Electrostatic discharge (ESD) Electrostatic discharges (a ...
Page 55
STM32F103x4, STM32F103x6 5.3.12 I/O current injection characteristics As a general rule, current injection to the I/O pins, due to external voltage below V above V (for standard, 3 V-capable I/O pins) should be avoided during normal product DD operation. However, ...
Page 56
Electrical characteristics 5.3.13 I/O port characteristics General input/output characteristics Unless otherwise specified, the parameters given in performed under the conditions summarized in compliant. Table 35. I/O static characteristics Symbol Parameter Standard IO input low level voltage V IL (1) IO ...
Page 57
STM32F103x4, STM32F103x6 All I/Os are CMOS and TTL compliant (no software configuration required). Their characteristics cover more than the strict CMOS-technology or TTL parameters. The coverage of these requirements is shown in in Figure 25 and Figure 23. Standard I/O ...
Page 58
Electrical characteristics Figure 25 tolerant I/O input characteristics - CMOS port Figure 26 tolerant I/O input characteristics - TTL port 58/87 Doc ID 15060 Rev 5 STM32F103x4, STM32F103x6 ...
Page 59
STM32F103x4, STM32F103x6 Output driving current The GPIOs (general-purpose inputs/outputs) can sink or source up to ±8 mA, and sink or source up to ±20 mA (with a relaxed V In the user application, the number of I/O pins which can ...
Page 60
Electrical characteristics Input/output AC characteristics The definition and values of input/output AC characteristics are given in Table 37, respectively. Unless otherwise specified, the parameters given in performed under the ambient temperature and V in Table 9. Table 37. I/O AC ...
Page 61
STM32F103x4, STM32F103x6 Figure 27. I/O AC characteristics definition Maximum frequency is achieved if (t 5.3.14 NRST pin characteristics The NRST pin input driver uses CMOS technology connected to a permanent pull-up resistor, R (see PU Unless otherwise specified, ...
Page 62
Electrical characteristics Figure 28. Recommended NRST pin protection External reset circuit 2. The reset network protects the device against parasitic resets. 3. The user must ensure that the level on the NRST pin can go below the V Table 38 ...
Page 63
STM32F103x4, STM32F103x6 5.3.16 Communications interfaces interface characteristics Unless otherwise specified, the parameters given in performed under the ambient temperature, f conditions summarized in The STM32F103xx performance line communication protocol with the following restrictions: ...
Page 64
Electrical characteristics 2 Figure 29 bus AC waveforms and measurement circuit I²C bus Start SDA t f(SDA) t h(STA) SCL t w(SCLH) 1. Measurement points are done at CMOS levels: 0.3V Table 41. SCL frequency ( ...
Page 65
STM32F103x4, STM32F103x6 SPI interface characteristics Unless otherwise specified, the parameters given in performed under the ambient temperature, f conditions summarized in Refer to Section 5.3.12: I/O current injection characteristics input/output alternate function characteristics (NSS, SCK, MOSI, MISO). Table 42. SPI ...
Page 66
Electrical characteristics Figure 30. SPI timing diagram - slave mode and CPHA = 0 NSS input t SU(NSS) CPHA= 0 CPOL=0 t w(SCKH) CPHA w(SCKL) CPOL=1 t a(SO) MISO OUT su(SI) MOSI I NPUT Figure ...
Page 67
STM32F103x4, STM32F103x6 Figure 32. SPI timing diagram - master mode High NSS input CPHA= 0 CPOL=0 CPHA= 0 CPOL=1 CPHA=1 CPOL=0 CPHA=1 CPOL=1 t su(MI) MISO INP UT MOSI OUTUT 1. Measurement points are done at CMOS levels: 0.3V USB ...
Page 68
Electrical characteristics Table 44. USB DC electrical characteristics Symbol Input levels V USB operating voltage DD (4) V Differential input sensitivity DI (4) V Differential common mode range CM (4) V Single ended receiver threshold SE Output levels V Static ...
Page 69
STM32F103x4, STM32F103x6 5.3.18 12-bit ADC characteristics Unless otherwise specified, the parameters given in performed under the ambient temperature, f conditions summarized in Note recommended to perform a calibration after each power-up. Table 46. ADC characteristics Symbol Parameter V ...
Page 70
Electrical characteristics Equation 1: R AIN < R ------------------------------------------------------------- - R AIN × ADC The formula above error below 1/4 of LSB. Here (from 12-bit resolution). Table 47. R AIN T (cycles) s 1.5 7.5 ...
Page 71
STM32F103x4, STM32F103x6 Table 49. ADC accuracy Symbol ET Total unadjusted error EO Offset error EG Gain error ED Differential linearity error EL Integral linearity error 1. ADC DC accuracy values are measured after internal calibration. 2. Better performance could be ...
Page 72
Electrical characteristics Figure 35. Typical connection diagram using the ADC R AIN (1) V AIN 1. Refer to Table represents the capacitance of the PCB (dependent on soldering and PCB layout quality) plus the parasitic pad capacitance ...
Page 73
STM32F103x4, STM32F103x6 Figure 37. Power supply and reference decoupling(V 1. The V input is available only on the TFBGA64 package. REF+ 5.3.19 Temperature sensor characteristics Table 50. TS characteristics Symbol ( (1) Avg_Slope ( (2) t ...
Page 74
Package characteristics 6 Package characteristics 6.1 Package mechanical data In order to meet environmental requirements, ST offers these devices in different grades of ® ECOPACK packages, depending on their level of environmental compliance. ECOPACK specifications, grade definitions and product status ...
Page 75
STM32F103x4, STM32F103x6 Figure 38. VFQFPN36 mm, 0.5 mm pitch, package outline Seating plane Pin # 0.20 1. Drawing is not to scale. ...
Page 76
Package characteristics Figure 40. VFQFPN48 mm, 0.5 mm pitch, package (1) outline Seating Plane Bottom View D2 1. Drawing is not to scale. 2. All leads/pads should also be soldered ...
Page 77
STM32F103x4, STM32F103x6 Figure 42. LQFP64 mm, 64-pin low-profile quad flat package outline Drawing is not to scale. 2. Dimensions are in millimeters. Table 53. LQFP64 mm, 64-pin low-profile quad ...
Page 78
Package characteristics Figure 44. TFBGA64 - active ball array mm, 0.5 mm pitch, package outline Seating plane 1. Drawing is not to scale. Table 54. TFBGA64 - active ball array, 5 ...
Page 79
STM32F103x4, STM32F103x6 Figure 45. Recommended PCB design rules for pads (0.5 mm pitch BGA) Dpad Dsm 1. Non solder mask defined (NSMD) pads are recommended mils solder paste screen printing process Pitch 0 pad ...
Page 80
Package characteristics Figure 46. LQFP48 mm, 48-pin low-profile quad flat package outline Seating plane ccc Pin 1 1 identification 1. Drawing is not to scale. ...
Page 81
STM32F103x4, STM32F103x6 6.2 Thermal characteristics The maximum chip junction temperature (T Table 9: General operating conditions on page The maximum chip-junction temperature, T using the following equation: Where: max is the maximum ambient temperature in °C, ● Θ ...
Page 82
Package characteristics 6.2.2 Selecting the product temperature range When ordering the microcontroller, the temperature range is specified in the ordering information scheme shown in Each temperature range suffix corresponds to a specific guaranteed ambient temperature at maximum dissipation and, to ...
Page 83
STM32F103x4, STM32F103x6 Using the values obtained in – For LQFP64, 45 °C 115 °C + (45 °C/W × 134 mW) = 115 °C + 6.03 °C = 121.03 °C Jmax This is within the range of the suffix ...
Page 84
Ordering information scheme 7 Ordering information scheme Table 57. Ordering information scheme Example: Device family STM32 = ARM-based 32-bit microcontroller Product type F = general-purpose Device subfamily 103 = performance line Pin count pins ...
Page 85
STM32F103x4, STM32F103x6 8 Revision history Table 58. Document revision history Date Revision 22-Sep-2008 30-Mar-2009 1 Initial release. “96-bit unique ID” feature added and I/O information clarified Timers specified on page 1 Table 4: Timer feature comparison PB4, PB13, PB14, PB15, ...
Page 86
Revision history Table 58. Document revision history (continued) Date Revision 24-Sep-2009 20-May-2010 19-Apr-2011 86/87 Note 5 updated and Note 4 STM32F103xx pin definitions. V and T added to RERINT Coeff voltage. Typical I DD_VBAT maximum current consumptions in Stop and ...
Page 87
... STM32F103x4, STM32F103x6 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. ...