STMicroelectronics STM32F070F6P6
- Part No.:
- STM32F070F6P6
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 20-TSSOP (0.173", 4.40mm Width)
- Datasheet:
-
STM32F070F6P6.pdf
- Description:
- IC MCU 32BIT 32KB FLASH 20TSSOP
- Quantity:
- Payment:

- Shipping:

Inventory:257
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32F070F6P6 from STMicroelectronics is an ARM® Cortex®-M0 32-bit microcontroller in TSSOP20 package, featuring 32 KB flash, 6 KB SRAM with hardware parity, USB 2.0 Full-Speed interface, and 12-bit ADC (1.0 µs conversion time). It operates from 2.4–3.6 V and supports low-power Stop/Standby modes with RTC alarm and periodic wakeup-used in USB-powered sensor nodes and industrial control edge devices.
For engineers reviewing the STM32F070F6P6 datasheet, STM32F070F6P6 pinout, STM32F070F6P6 application, or STM32F070F6P6 equivalent, key selection criteria include USB FS integration without external PHY, 5V-tolerant I/O count (up to 19 pins), 48 MHz max CPU frequency, and TSSOP20 footprint suitability for space-constrained PCB layouts.
Technical Context
The STM32F070F6P6 implements a single-cycle Cortex-M0 core with integrated NVIC, SysTick, and SWD debug interface. Its clock system combines internal 8 MHz RC (with x6 PLL) and external 4–32 MHz crystal support, enabling precise USB timing via dedicated 48 MHz PLL output.
Peripherals are memory-mapped and share APB1/APB2 buses: USB FS controller uses dedicated DMA channel; ADC connects to 16 input channels with temperature sensor and VREFINT; TIM1 provides six-channel PWM for motor control, while TIM3/TIM14–TIM17 deliver IC/OC and IR decoding capability.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M0, 48 MHz max - enables real-time deterministic execution for USB protocol stack and sensor fusion. |
| Flash / SRAM | 32 KB flash / 6 KB SRAM with HW parity - sufficient for USB HID firmware + sensor processing; parity protects against bit flips in safety-critical code. |
| USB Interface | USB 2.0 Full-Speed (12 Mbit/s) with BCD & LPM - eliminates need for external transceiver; supports battery charging detection and low-power suspend/resume. |
| ADC | 12-bit, 1.0 µs conversion, 0–3.6 V range - supports fast sampling of analog sensors (e.g., thermistors, current shunts) with internal reference calibration. |
| I/O Pins | 19 GPIOs, all 5V tolerant - simplifies interfacing with legacy 5V logic and industrial sensors without level shifters. |
| Power Range | 2.4–3.6 V supply - compatible with single-cell Li-ion (3.0–3.6 V) and regulated 3.3 V rails; VDDA = VDD allows shared power domain. |
| Low-Power Modes | Sleep, Stop (0.34 µA), Standby (0.24 µA) - enables multi-year battery life in wireless sensor endpoints with RTC-triggered wakeups. |
Pinout & Package
TSSOP20 (YA) package: 20-pin thin shrink small-outline package, 6.4 × 4.4 mm body, 0.65 mm pitch, ECOPACK2-compliant. Pinout validated per DS10697 Rev 4 Figure 3 and Table 10.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Digital power supply | 2.4–3.6 V main supply; decoupling required near pin for stable core operation. |
| VSS | Digital ground | Reference return path for digital I/O and core logic; separate from analog ground in layout. |
| VDDA | Analog power supply | Must be tied to VDD; powers ADC, reset circuitry, and internal voltage reference. |
| PA0–PA9 | General-purpose I/O | 10 pins with 5V tolerance; PA0–PA3 support ADC1_IN0–IN3; PA9/PA10 used for USART1_TX/RX. |
| PA11/PA12 | USB DM/DP | Dedicated full-speed USB differential pair; requires 27 Ω series resistors and proper ESD protection. |
| NRST | Active-low reset | Push-pull input with internal pull-up; accepts 1.2–VDD logic levels; external RC filter recommended per Figure 18. |
| BOOT0 | Boot mode select | High at power-on selects system memory bootloader; pulled low via 10 kΩ resistor for normal flash execution. |
Key Features
| Feature | Design Value |
|---|---|
| USB FS with BCD/LPM | Enables self-powered HID devices (e.g., keyboards) with automatic charger detection and suspend-to-RAM recovery. |
| 12-bit ADC with VREFINT | Internal 1.22 V reference calibrated at factory (±1.5% accuracy) allows ratiometric measurements without external reference. |
| 5V-tolerant I/Os | 19 pins withstand 5.5 V inputs - permits direct connection to RS-232 transceivers, optocouplers, and industrial PLC I/O modules. |
| RTC with alarm & wakeup | Calendar function with sub-second resolution; generates interrupt or event to exit Stop mode in ≤10 µs - ideal for periodic sensor polling. |
| Advanced-control timer (TIM1) | 6-channel complementary PWM with dead-time insertion - supports 3-phase motor control and digital power supply feedback loops. |
Applications
| USB Human Interface Device (HID) | Industrial Sensor Node |
|---|---|
Use Scenario: Compact USB keyboard or barcode scanner with embedded firmware. IC Role / Device Role / Timing Role: Main MCU executing HID descriptor handling, keystroke scanning, and USB packet assembly at 1 kHz report rate. Use Value: Integrated USB FS eliminates external PHY; TSSOP20 footprint reduces board area by >40% vs. LQFP48 alternatives. |
Use Scenario: Battery-powered temperature/humidity monitor transmitting data over USB to host PC. IC Role / Device Role / Timing Role: ADC acquisition controller with RTC-triggered sampling every 30 seconds and USB bulk transfer on demand. Use Value: 0.24 µA Standby current extends CR2032 battery life beyond 5 years; internal VREFINT ensures stable sensor readings across voltage drop. |
| Smart Lighting Controller | USB-C Power Adapter Monitor |
Use Scenario: DALI or 0–10 V dimmable LED driver with local USB configuration port. IC Role / Device Role / Timing Role: PWM generator (TIM1) for LED current control and USART-based DALI master interface. Use Value: Six-channel PWM supports multi-zone lighting; 5V-tolerant PA2/PA3 interface directly with DALI bus transceivers. |
Use Scenario: USB-C PD adapter with real-time voltage/current monitoring and firmware update capability. IC Role / Device Role / Timing Role: ADC supervisor measuring VBUS and CC line voltages; USB endpoint for vendor-defined PD log retrieval. Use Value: 12-bit ADC with 1.0 µs conversion captures transient overvoltage events; BCD support identifies connected chargers for adaptive power negotiation. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32F042F4P6 | 16 KB flash, no USB FS (only USB device without BCD/LPM); same TSSOP20 package. | Lacks battery charging detection and low-power suspend - unsuitable for self-powered HID or energy-harvesting nodes. | Select only if USB is unused or replaced by UART-to-USB bridge; retains identical pinout and debug interface. |
| STM32F070C6T6 | LQFP48 package, 32 KB flash, 6 KB SRAM, same peripherals - adds 13 more GPIOs and one extra USART. | Requires larger PCB area and higher BOM cost; better for designs needing CAN or multiple serial interfaces. | Choose when >19 I/Os or additional communication channels (e.g., second I2C or SPI) are required; not pin-compatible. |
Compared with STM32F070F6P6, the F042F4P6 sacrifices USB functionality for lower cost and smaller code size, while the F070C6T6 trades compactness for expanded I/O and peripheral headroom - making the F6P6 optimal for USB-integrated, space-constrained edge nodes.
Availability
STM32F070F6P6 is available at Aetrix Electronics and suitable for USB HID devices, battery-powered sensor nodes, smart lighting controllers, and USB-C adapter monitors requiring stable component supply and long-term manufacturability.
Supply support for STM32F070F6P6 includes scheduled delivery planning, volume procurement assistance, BOM continuity management, traceable sourcing, and lifecycle availability coordination for OEM customers, industrial embedded developers, connected-device designers, and electronics production programs.
Manufacturer
STMicroelectronics is a global semiconductor leader headquartered in Geneva, specializing in microcontrollers, power management, and automotive ICs with strong industrial and consumer market presence.
The STM32F0 series targets cost-sensitive, resource-efficient embedded applications-designed for rapid development of USB-connected, low-power edge devices with minimal external components.
FAQ
Does STM32F070F6P6 support USB device enumeration without external crystal?
Yes. The internal 48 MHz PLL can be driven by the 8 MHz HSI RC oscillator, enabling full USB FS enumeration without an external crystal. However, USB specification requires ±0.25% clock accuracy, so ST recommends using the 48 MHz PLL with HSE for production-grade compliance - the HSI-based mode is suitable for prototyping and non-certified applications.
What is the maximum ADC sampling rate achievable with DMA and continuous mode?
At 14 MHz ADC clock (derived from APB2), the STM32F070F6P6 achieves 1 MSPS (1 million samples per second) in continuous conversion mode with DMA. This requires configuring the ADC prescaler to divide APB2 clock (48 MHz) by 3.43 → ~14 MHz, and enabling scan mode across up to 16 channels with DMA circular buffer.
Can PA11/PA12 be used as general-purpose I/O when USB is disabled?
No. PA11 (DM) and PA12 (DP) are permanently dedicated to USB functionality and cannot be remapped to GPIO alternate functions. They retain USB transceiver circuitry even when USB peripheral clock is disabled - using them as generic I/O may cause signal integrity issues or damage during USB activity.
How does the RTC maintain time accuracy in Stop mode with VDD removed?
The RTC continues operating in Stop mode only when VDD is present and VDDA ≥ 2.4 V; it does not function in Standby mode without backup power. For true battery-backed RTC, an external VBAT supply must be connected to the VBAT pin - the internal LSE oscillator (32.768 kHz) remains active and drives RTC calendar registers with ±25 ppm accuracy at 25°C.
STM32F070F6P6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 20-TSSOP (0.173", 4.40mm Width)
- Series:
- STM32F0
- Packaging:
- Tube
- Product Status:
- Active
- Programmable:
- Not Verified
- Core Processor:
- ARM® Cortex®-M0
- Core Size:
- 32-Bit Single-Core
- Speed:
- 48MHz
- Connectivity:
- I2C, SPI, UART/USART, USB
- Peripherals:
- DMA, POR, PWM, WDT
- Number of I/O:
- 15
- Program Memory Size:
- 32KB (32K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- -
- RAM Size:
- 6K x 8
- Voltage - Supply (Vcc/Vdd):
- 2.4V ~ 3.6V
- Data Converters:
- A/D 11x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32F070F6P6 FAQ
1.How can I place an order for STM32F070F6P6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32F070F6P6 on Aetrix. Our sales agent will provide a competitive quotation and guide you through the order confirmation once you accept the terms.
2.Are the price and stock information for STM32F070F6P6 reliable?
The price and inventory of STM32F070F6P6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32F070F6P6 is usually 5 days.
3.What payment methods are accepted for STM32F070F6P6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32F070F6P6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32F070F6P6?
STM32F070F6P6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32F070F6P6 order is processed, you will receive an email with the shipment details and tracking number.
Note: Tracking information may take up to 24 hours to appear. Express delivery typically takes 3–5 business days.
5.How can I obtain technical support or documentation for STM32F070F6P6?
For technical support, including STM32F070F6P6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32F070F6P6 requirements.
6.How does Aetrix verify that STM32F070F6P6 is sourced from the original manufacturer or authorized distributors?
All STM32F070F6P6 products on Aetrix are procured from qualified distributors and authorized channels. Our dedicated quality assurance team conducts strict verification, including traceability checks and, if necessary, third-party testing. This ensures that STM32F070F6P6 meets industry standards.
7.What is the process for return or replacement of STM32F070F6P6?
All STM32F070F6P6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32F070F6P6, returns or replacements are accepted under the following conditions:
1.Quantity discrepancies, incorrect items, or visible external defects (such as breakage or corrosion), acknowledged by Aetrix.
2.The issue is reported within 90 days of delivery.
3.The STM32F070F6P6 part is unused and in its original packaging.
Return procedure for STM32F070F6P6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32F070F6P6 Tags

-
ATTINY4-TSHR
Microchip Technology

-
ATTINY10-TSHR
Microchip Technology

-
ATTINY10-TS8R
Microchip Technology

-
ATTINY202-SSNR
Microchip Technology

-
ATTINY202-SSFR
Microchip Technology

-
ATTINY402-SSNR
Microchip Technology

-
PIC16F15213T-I/MF
Microchip Technology

-
PIC16F15213-E/MF
Microchip Technology

-
PIC10F200T-I/OT
Microchip Technology

-
ATTINY412-SSNR
Microchip Technology

-
PIC10F202T-I/OT
Microchip Technology

-
ATTINY404-SSNR
Microchip Technology
Tech Hub
A practical engineering guide to 3.3V and 5V logic compatibility, input thresholds, resistor dividers, translator ICs, MOSFET level shifting, I2C pull-ups, timing limits and power-sequencing risks.
The 74HC595 uses push-pull logic outputs, while the TPIC6B595 uses 50 V open-drain DMOS sinks for higher-power loads. This guide compares timing, current limits, 3.3 V interfacing, load wiring, thermal…
The 74HC595 converts serial data into eight stable parallel outputs. This guide covers pin functions, shift and storage timing, OE and MR behavior, drive-current limits, cascading, voltage compatibilit…
A technical comparison of level-sensitive latches and edge-triggered flip-flops, covering timing windows, setup and hold limits, master–slave operation, time borrowing, race-through, HDL inference and…
A D latch stores one bit while Enable controls when data can pass. This reference covers gate-level operation, truth tables, transparency, setup and hold timing, LE versus OE, common ICs and practical …
An SR latch stores one bit through cross-coupled feedback. This engineering reference covers NOR and NAND implementations, truth tables, forbidden-state recovery, gated operation, switch debouncing, fa…
Latch circuits retain one bit through feedback. This technical reference covers SR and D latches, truth tables, transparency, timing limits, latch-versus-flip-flop behavior, applications and common log…
An engineering guide to LED driver operation, constant-current and constant-voltage outputs, linear and switching topologies, dimming, IC selection, calculations, replacement compatibility, and fault c…
Operational amplifier guide covering op amp basics, feedback, ideal vs real op amps, common configurations, buffer circuits, offset, bias current, gain-bandwidth, slew rate, rail-to-rail limits and sel…
Jumper cables guide covering safe connection order, red and black clamp placement, final ground connection, cable gauge, length, clamp quality, copper vs CCA cables, jump starter comparison and battery…

