基于ST公司的STM32F030x系列32位MCU开发方案
原标题:ST STM32F030x系列32位MCU开发方案
ST公司的stm32F030x系列是高性能基于ARM Cortex™-M0核的32位RISC MCU,工作频率48MHz,集成了高速嵌入存储器(多达64KB闪存和多达8KB SRAM),以及大量的确增强性外设和I/O,并提供标准通信接口(多达两个I2C, 多达两个SPI和多达两个USART),一个12位ADC,多达六个通用16位计时器和PWM计时器.工作电压2.4V-3.6V,主要用在手持设备,家用电器,电动自行车,HVAC,数字电视,PC外设,告警系统,视频连接,游戏平台,打印机和扫描仪等.本文介绍了STM32F030x系列主要特性,框图和时钟树, Discovery开发板32F0308DISCOVERY主要特性,硬件框图,电路图,材料清单和PCB元件分布图.
The STM32F030x microcontroller incorporates the high-performance ARM Cortex™-M0 32-bit RISC core operating at a 48 MHz frequency, high-speed embedded memories (up to 64 Kbytes of Flash memory and up to 8 Kbytes of SRAM), and an extensive range of enhanced peripherals and I/Os. All devices offer standard communication interfaces (up to two I2Cs, up to two SPIs, and up to two USARTs), one 12-bit ADC, up to 6 general-purpose 16-bit timers and an advanced-control PWM timer.
The STM32F030x microcontroller operates in the -40 to +85 ℃ temperature range, from a 2.4 to 3.6 V power supply. A comprehensive set of power-saving modes allows the design of low-power applications.
The STM32F030x microcontroller includes devices in four different packages ranging from 20 pins to 64 pins. Depending on the device chosen, different sets of peripherals are included. The description below provides an overview of the complete range of STM32F030x peripherals proposed.
These features make the STM32F030x microcontroller suitable for a wide range of applications such as application control and user interfaces, handheld equipment, A/V receivers and digital TV, PC peripherals, gaming platforms, e-bikes, consumer appliances, printers, scanners, alarm systems, video intercoms, and HVACs.
STM32F030x系列主要特性:
Core: ARM® 32-bit Cortex™-M0 CPU,frequency up to 48 MHz
Memories
– 16 to 64 Kbytes of Flash memory
– 4 to 8 Kbytes of SRAM with HW parity checking
CRC calculation unit
Reset and power management
– Voltage range: 2.4 V to 3.6 V
– Power-on/Power down reset (POR/PDR)
– Low power modes: Sleep, Stop, Standby
Clock management
– 4 to 32 MHz crystal oscillator
– 32 kHz oscillator for RTC with calibration
– Internal 8 MHz RC with x6 PLL option
– Internal 40 kHz RC oscillator
Up to 55 fast I/Os
– All mappable on external interrupt vectors
– Up to 36 I/Os with 5 V tolerant capability
5-channel DMA controller
1 x 12-bit, 1.0 μs ADC (up to 16 channels)
– Conversion range: 0 to 3.6 V
– Separate analog supply from 2.4 up to 3.6 V
Up to 10 timers
– One 16-bit 7-channel advanced-control timer for 6 channels PWM output, with deadtime generation and emergency stop
– One 16-bit timer, with up to 4 IC/OC, usable for IR control decoding
– One 16-bit timer, with 2 IC/OC, 1 OCN, deadtime generation and emergency stop
– Two 16-bit timers, each with IC/OC and
OCN, deadtime generation, emergency stop and modulator gate for IR control
– One 16-bit timer with 1 IC/OC
– One 16-bit basic timer
– Independent and system watchdog timers
– SysTick timer: 24-bit downcounter
Calendar RTC with alarm and periodic wakeup from Stop/Standby
Communication interfaces
– Up to two I2C interfaces: one supporting Fast Mode Plus (1 Mbit/s) with 20 mA
current sink
– Up to two USARTs supporting master synchronous SPI and modem control; one with auto baud rate detection
– Up to two SPIs (18 Mbit/s) with 4 to 16 programmable bit frame
Serial wire debug (SWD)
图1. STM32F030x系列框图
图2. STM32F030x系列时钟树框图
STM32F030x系列Discovery开发板32F0308DISCOVERY
The STM32F030 Value Line Discovery kit (32F0308DISCOVERY) helps you to discover the device features and to develop your applications easily. It is based on STM32F030R8T6, an STM32 F0 series 32-bit ARM® Cortex™-M0 microcontroller, and includes an ST-LINK/V2 embedded debug tool, LEDs, push buttons and a prototyping board.
图3.开发板32F0308DISCOVERY外形图
开发板32F0308DISCOVERY主要特性:
STM32F030R8T6 microcontroller featuring 64 KB Flash, 8 KB RAM in an LQFP64 Package
On-board ST-LINK/V2 with selection mode switch to use the kit as a standalone ST-LINK/V2 (with SWD connector for programming and debugging)
Board power supply: through USB bus or from an external 5 V supply voltage
External application power supply: 3 V and 5 V
Four LEDs:
– LD1 (red) for 3.3 V power on
– LD2 (red/green) for USB communication
– LD3 (green) for PC9 output
– LD4 (blue) for PC8 output
Two push buttons (user and reset)
Extension header for LQFP64 I/Os for quick connection to prototyping board and easy probing.
An additional board is provided with the kit which can be connected to the extension connector for even easier prototyping and probing.
A large number of free ready-to-run application firmware examples are available on www.st.com/stm32f0-discovery to support quick evaluation and development.
责任编辑:HanFeng
【免责声明】
1、本文内容、数据、图表等来源于网络引用或其他公开资料,版权归属原作者、原发表出处。若版权所有方对本文的引用持有异议,请联系拍明芯城(marketing@iczoom.com),本方将及时处理。
2、本文的引用仅供读者交流学习使用,不涉及商业目的。
3、本文内容仅代表作者观点,拍明芯城不对内容的准确性、可靠性或完整性提供明示或暗示的保证。读者阅读本文后做出的决定或行为,是基于自主意愿和独立判断做出的,请读者明确相关结果。
4、如需转载本方拥有版权的文章,请联系拍明芯城(marketing@iczoom.com)注明“转载原因”。未经允许私自转载拍明芯城将保留追究其法律责任的权利。
拍明芯城拥有对此声明的最终解释权。