UN32F103
High-performance ARM Cortex-M3 MCU with 128KB Flash, 20KB RAM, and rich peripheral set for industrial applications.
Product Overview
Description
The UN32F103 features a 72MHz ARM Cortex-M3 core with 128KB Flash memory and 20KB SRAM. The rich peripheral set includes multiple UARTs, SPI, I2C, USB, CAN, and ADC.
Advanced features include DMA controller, RTC, and multiple timers. The device supports industrial temperature range (-40C to +85C) making it suitable for harsh environments.
Standard ARM development tools are supported including Keil, IAR, and GCC. The device is pin-compatible with popular STM32F103 for easy migration.
Product Series
UN
Primary Application
Industrial control
Key Features
- Cortex-M3
- 128KB Flash
- 72MHz
- Rich peripherals
Specifications
| Core | ARM Cortex-M3 |
|---|---|
| Flash | 128KB |
| RAM | 20KB |
| Speed | 72MHz |
| GPIO | 51 |
| UART | 3 |
| SPI | 2 |
| I2C | 2 |
| USB | USB 2.0 Full Speed |
| CAN | 1 |
| ADC | 12-bit, 16 channels |
| Package | LQFP-64, LQFP-48 |
Applications
Industrial control
Industrial automation and control
Motor control
Motor drive and control systems
Power supplies
Electronic system design
Consumer electronics
Consumer electronics
FAE Expert Insights
"The UN32F103 is an excellent general-purpose MCU for industrial applications. I have successfully used this in numerous motor control, power supply, and automation projects. The 72MHz Cortex-M3 provides ample performance for most embedded tasks. The rich peripheral set covers most application needs without external components. The pin compatibility with STM32F103 makes migration straightforward. I particularly appreciate the robust industrial temperature grade - it has proven reliable in harsh factory environments. The USB and CAN interfaces are valuable for industrial communication. At under $1 in volume, this MCU offers outstanding value."
Reliable Cortex-M3 MCU with rich peripherals at competitive price
— Chen Wei, BeiLuo
Frequently Asked Questions
Is this compatible with STM32F103?
The UN32F103 is pin-compatible and register-compatible with STM32F103 for most functions. Key similarities: Pinout, memory map, peripheral registers. Differences: Some advanced features may vary, bootloader may differ, USB PID/VID different. Code written for STM32F103 typically requires minimal or no changes. Standard peripheral library and HAL are compatible. For existing STM32 designs, migration is straightforward. Always verify specific peripheral behavior in the datasheet.
Verify compatibility for your specific application before migration.
What is the typical power consumption?
Typical power consumption at 72MHz: Active mode: 30-40mA. Sleep mode: 5-10mA. Stop mode: 20-50uA. Standby mode: 5-10uA. Power varies with peripheral usage and voltage. Lower clock speeds reduce active power. The RTC continues running in standby mode for timekeeping. For battery applications, use low-power modes extensively and minimize wake time.
Use sleep/stop modes for battery applications. Contact us for power optimization tips.
How do I program and debug this MCU?
Programming and debugging via SWD (Serial Wire Debug): 2-wire interface (SWDIO, SWCLK). Supported by all major debuggers: ST-Link, J-Link, ULINK. Development IDEs: Keil MDK, IAR EWARM, STM32CubeIDE. Bootloader supports UART and USB programming. Flash programming time: ~5-10 seconds for full 128KB. Debugging features: breakpoints, watchpoints, register access, memory view. Standard ARM CoreSight debug is supported.
Use ST-Link or J-Link for debugging. Use bootloader for field updates.
What RTOS options are available?
Supported RTOS options: FreeRTOS - most popular, free, well-documented. RT-Thread - Chinese RTOS with good localization. Azure RTOS - Microsoft RTOS with advanced features. Zephyr - Linux Foundation RTOS for IoT. All standard ARM RTOS work with UN32F103. 20KB RAM is sufficient for most RTOS with moderate task counts. For complex applications with many tasks, consider devices with more RAM.
FreeRTOS recommended for most applications. Contact us for RTOS integration support.
Can this MCU handle motor control applications?
Yes, the UN32F103 is well-suited for motor control: 72MHz provides sufficient processing for control algorithms. Advanced timers support PWM generation with dead-time insertion. ADC can sample motor currents synchronously with PWM. DMA reduces CPU overhead for data transfer. Multiple timers support encoder input for position feedback. The performance is adequate for PMSM and BLDC motor control. For complex multi-axis control, consider the UN32F407 with higher performance.
Suitable for single-axis motor control. Contact us for motor control reference designs.