qixinwei-pcba
STM32F072CBU6 ST Mainstream Arm Cortex-M0 USB Line 32-bit MCU 128KB Flash 48MHz CPU USB CAN CEC UFQFPN-48
STM32F072CBU6 Product Overview
The STM32F072CBU6 is a mainstream ARM Cortex-M0 USB line MCU from STMicroelectronics in a UFQFPN-48 package (7×7 mm). It features a 48 MHz Cortex-M0 core, 128 KB Flash, and 16 KB SRAM. The MCU integrates a crystal-less USB 2.0 FS device, CAN 2.0A/B, HDMI CEC, a 12-bit ADC (up to 16 channels, 1.0 μs), a 12-bit DAC (2 channels), 2 analog comparators, a 7-channel DMA, up to 24 capacitive touch sensing channels, a calendar RTC with VBAT backup, 12 timers (1×16-bit advanced-control/6-ch PWM/deadtime, 1×32-bit GP, 7×16-bit GP/IC/OC/IR decode, independent/window WDG, SysTick), 2× I2C (1 Mbit/s Fast Mode Plus), 2× SPI (18 Mbit/s, with I2S mux), and 4× USART (2 with ISO7816/LIN/IrDA/auto baud rate/wakeup). It provides 37 I/Os, operates from VDD 1.65 V to 3.6 V over -40 °C to 85 °C, and is ECOPACK®2 compliant.
STM32F072CBU6 Core Features
Core: Arm Cortex-M0 48 MHz, NVIC, SWD Memory: 128 KB Flash, 16 KB SRAM (HW parity), CRC Crystal-less USB 2.0 FS: BCD/LPM support, internal 48 MHz oscillator CAN 2.0A/B: Industrial fieldbus communication HDMI CEC: Wakeup on header reception 12-bit ADC: Up to 16 channels, 1.0 μs, 0–3.6 V, separate analog supply 12-bit DAC: 2 channels, buffered output 2 Analog Comparators: Programmable input/output 24-ch Capacitive Touch: Keys/linear/rotary 7-ch DMA: Flexible mapping 12 Timers: 1× 16-bit advanced-control (6-ch PWM/deadtime), 1× 32-bit GP, 7× 16-bit GP (IC/OC/IR decode/DAC control), Independent/Window WDG, SysTick Communication: 2× I2C (1 Mbit/s Fast Mode Plus, 20 mA sink, SMBus/PMBus, Stop wakeup), 4× USART (2× ISO7816/LIN/IrDA/auto baud/wakeup), 2× SPI (18 Mbit/s, I2S mux) Low Power: Sleep/Stop/Standby, VBAT for RTC and backup registers Clock: 4–32 MHz XTAL, 32 kHz RTC XTAL (calibrated), 8 MHz RC (×6 PLL), 40 kHz RC, 48 MHz RC (auto trim) I/Os: 37 fast I/Os, all ext. interrupt mappable Supply/Temp: VDD 1.65 V–3.6 V, -40 °C to 85 °C Package: UFQFPN-48 (7×7 mm), Tray
STM32F072CBU6 Applications
Industrial: PLCs, sensor transmitters, RS-485/CAN nodes, inverters Motor Control: Fans, pumps, small motors (6-ch PWM/deadtime) HMI: Touch keys/sliders/wheels (24-ch capacitive touch) Consumer: Remote controls, handhelds, PC peripherals, A/V receivers, digital TV Home Appliances: Panels, HVAC, alarms, video intercoms Security: Access control, alarms, smoke detectors IoT: Wireless sensors, environmental monitoring, smart home LED Lighting: Dimming, RGB strips, SMPS
STM32F072CBU6 Key Advantages
128 KB Flash + 16 KB SRAM: For complex protocol stacks and algorithms UFQFPN-48 Ultra-Compact: 7×7 mm, 37 I/Os, ideal for space-constrained designs Crystal-less USB + CAN + DAC: Rare tri-combination in this class for industrial bus, general communication, and analog output 12-bit DAC (2-ch): Buffered output, supports audio/sensor excitation/control loops 24-ch Capacitive Touch: No external touch IC needed, reduces BOM Crystal-less USB 2.0 FS: Eliminates external crystal, simplifies PCB, saves BOM cost HDMI CEC: For digital TV, A/V receivers, and consumer electronics 7-ch DMA: Direct peripheral-to-memory transfers, offloads CPU 2× I2C Fast Mode Plus: Dual I2C, 1 Mbit/s, 20 mA sink, SMBus/PMBus 4× USART (2× ISO7816/LIN/IrDA): Rare in this class, meeting multi-bus communication needs 12 Timers: Advanced-control/PWM/deadtime + 1× 32-bit + 7× 16-bit GP/IR decode/DAC control Calendar RTC: Alarm/periodic wakeup, VBAT backup Mature STM32 Ecosystem: CubeIDE/CubeMX/HAL/development boards Cost-Effective: 32-bit ARM + USB + CAN + DAC + capacitive touch, ideal upgrade from 8/16-bit MCUs
Why Choose QIXINWEI
Years of experience in the electronics industry. Trusted by global customers.
Massive In-Stock Inventory – Ready to ship promptly
BOM Matching Service – One-stop solution, save time
PCBA Customization – Professional engineering team creates tailor-made solutions based on your needs
Cost-Effective & Efficient – Better channel, better cost
A dedicated team makes your procurement smoother.
Contact us for BOM quotes or PCBA inquiries











FAQ:
What is the STM32F072CBU6 and what makes it unique in a 48‑pin Cortex‑M0?
The STM32F072CBU6 is a 48 MHz Arm Cortex‑M0 microcontroller with 128 KB Flash and 16 KB SRAM, housed in a tiny UFQFPN‑48 package. It is exceptionally feature‑rich for a 48‑pin device, integrating a CAN 2.0B controller, a USB 2.0 full‑speed device with a Clock Recovery System (CRS) for crystal‑less operation, capacitive touch‑sensing channels, and a 2‑channel 12‑bit DAC. This combination makes it one of the most compact and cost‑effective ways to build a USB‑to‑CAN bridge, a smart sensor with touch control, or a portable industrial node, all on a single chip.How does the STM32F072CBU6 differ from the STM32F072RBT6? When should I choose the 48‑pin CBU6?
Both share the same core, 128 KB Flash, 16 KB SRAM, CAN, USB with CRS, TSC, and DAC. The only difference is the package: the CBU6 is a UFQFPN‑48 with up to 37 I/Os, while the RBT6 is an LQFP‑64 with up to 52 I/Os. Choose the CBU6 when board space is extremely tight and 37 I/Os are sufficient. It saves significant PCB area and is ideal for miniature USB‑CAN dongles, compact sensor nodes, and wearable devices. The RBT6 is better if you need more GPIOs or prefer the easier hand‑solderability of an LQFP package.How does the STM32F072CBU6 compare to the popular STM32F103C8T6? What are the main trade‑offs?
The STM32F103C8T6 is a 72 MHz Cortex‑M3 with 64 KB Flash, 20 KB SRAM, CAN, and USB. The STM32F072CBU6 runs at a lower 48 MHz and uses a simpler Cortex‑M0 core, but provides double the Flash (128 KB), a built‑in DAC, capacitive touch‑sensing channels, and the CRS for crystal‑less USB. It also consumes significantly less power. Choose the F072CBU6 when your design needs CAN, USB, analog output, or a touch interface, and you want more code storage, lower power, and a reduced external component count. The F103 is better if you need the extra CPU speed or slightly more SRAM.What is the Clock Recovery System (CRS) on the STM32F072CBU6, and why is it important for USB?
The CRS is an internal hardware module that automatically synchronizes the internal 48 MHz RC oscillator to the USB Start‑of‑Frame (SOF) packets from the host. This eliminates the need for an external high‑precision crystal when using USB, saving PCB space and BOM cost. The CRS ensures that the internal clock remains within the USB specification's strict timing tolerances, enabling reliable USB communication in cost‑sensitive, space‑constrained designs. After USB enumeration, the trimmed internal clock can also serve as a precise system clock for other peripherals.Can the STM32F072CBU6 run CAN and USB simultaneously on a 48‑pin package? Is there a pin conflict?
Yes, the STM32F072CBU6 can run CAN 2.0B and USB 2.0 full‑speed concurrently without pin conflicts. The CAN TX/RX and USB D+/D‑ pins are assigned to separate, dedicated locations. With up to 37 I/Os, you can allocate CAN, USB, two USARTs, SPI, I2C, and still have pins left for touch sensing or the DAC output. STM32CubeMX helps you verify the exact pin‑multiplexing for your design, ensuring all desired interfaces can coexist.Can the STM32F072CBU6 implement capacitive touch buttons and sliders without extra ICs?
Yes, it supports up to 18 capacitive touch‑sensing channels using ST’s integrated Touch Sensing Controller (TSC). The charge‑transfer method requires only a few external resistors, eliminating the need for a dedicated touch chip. You can implement touch keys, sliders, and wheels directly on the PCB, making it perfect for modern control panels, home appliances, and consumer interfaces. ST provides the free STMTouch library to simplify firmware development.Is 128 KB Flash and 16 KB SRAM enough for a CAN‑USB application with a touch interface?
Absolutely. 128 KB of Flash provides ample space for a real‑time OS, a CANopen or J1939 protocol stack, a USB device stack, a touch‑sensing library, and application code. The 16 KB SRAM requires careful buffer management—using DMA for serial transfers and keeping large arrays in Flash—but is sufficient for communication buffers, task stacks, and touch‑sensor data. Many proven industrial gateways, smart home panels, and automotive diagnostic tools run comfortably within this memory envelope. If your firmware later grows, the pin‑compatible STM32F072C8T6 (64 KB Flash) is not an upgrade path, but moving to the 64‑pin STM32F072RBT6 gives you the same memory with more I/Os.What low‑power modes does the STM32F072CBU6 support, and can it run from a battery?
The chip supports Sleep, Stop, and Standby modes. In Stop mode with the main regulator off and all 16 KB SRAM retained, the typical current is around 3 µA—far lower than a comparable Cortex‑M3. Wake‑up from Stop is fast enough to respond to CAN, USB, or external interrupts. The 48 MHz Cortex‑M0 core is inherently power‑efficient, making the F072CBU6 an excellent choice for battery‑powered industrial sensors, portable CAN diagnostic tools, and USB‑connected data loggers that spend most of their time in deep sleep and wake periodically to communicate.Can I perform over‑the‑air (OTA) firmware updates with the 128 KB single‑bank Flash?
Yes. You can partition the 128 KB Flash into a small bootloader (8–16 KB) and a compact application. The 16 KB SRAM can temporarily buffer small firmware chunks received via CAN, USB, USART, or an external wireless module. A CRC check ensures a safe update. An A/B update scheme is not practical with this Flash size; a download‑and‑overwrite approach is recommended. For more comfortable OTA headroom, consider the pin‑compatible STM32F091CBU6 (256 KB Flash, 32 KB SRAM) as a future upgrade.What are the most typical applications for the STM32F072CBU6?
It is widely used in miniaturized USB‑to‑CAN bridges, industrial CAN‑bus sensors, portable diagnostic tools, smart home touch panels, wearable health monitors, and any space‑constrained embedded system that needs a proven 32‑bit core with CAN, USB, touch‑sensing, and analog output. Its combination of rich peripherals, generous Flash, and a tiny UFQFPN‑48 package makes it a go‑to choice for compact, battery‑powered connected devices.
- Product Type:
- Mainstream Arm Cortex-M0 USB Line 32-bit MCU
- Brand:
- STMicroelectronics
- Core:
- Arm Cortex-M0 48MHz
- Package:
- UFQFPN-48 (7×7mm)
- Memory:
- 128KB Flash, 16KB SRAM
- Peripherals:
- USB 2.0 FS (crystal-less), CAN 2.0A/B, HDMI CEC, 12-bit ADC (16ch/1.0μs), 12-bit DAC (2-ch), Dual analog comparators, 24ch capacitive touch, 16-bit advanced-control timer (6ch PWM), 32-bit GP timer, 7×16-bit GP timers, Calendar RTC, CRC
- Interfaces:
- 2×I2C (1Mbit/s), 2×SPI (18Mbit/s, I2S mux), 4×USART (2×ISO7816/LIN/IrDA)
- I/Os:
- 37
- Voltage:
- VDD 1.65V~3.6V
- Temperature:
- -40°C~85°C