ST STM32F37x 32位Cortex-M4F MCU开发方案
2012-10-08
ST公司的STM32F37x系列产品是高性能ARM Cortex-M4F 32位RISC MCU,工作频率高达72MHz,嵌入浮点单元(FPU),存储器保护单元(MPU)和嵌入式跟踪宏单元(ETM),嵌入式闪存高达256KB,SRAM高达32KB,工作电压2.0 到3.6 V,主要用在移动游戏,增强现实感,光学图像稳定性,手持导航,机器人和工业自动化系统.本文介绍了STM32F37x系列主要特性,框图,STM32F3DISCOVERY开发板主要特性,硬件框图,电路图和开发板布局图.
The STM32F37x family is based on the high-performance ARM® Cortex™-M4F 32-bit RISC core operating at a frequency of up to 72 MHz, and embedding a floating point unit(FPU), a memory protection unit (MPU) and an embedded trace macrocell (ETM).
The family incorporates high-speed embedded memories (up to 256 Kbyte of Flash memory, up to 32 Kbytes of SRAM), and an extensive range of enhanced I/Os and peripherals connected to two APB buses.
The STM32F37x devices offer one fast 12-bit ADC (1 Msps), up to three 16-bit Sigma delta ADCs, up to two Comparators, up to two DACs (DAC1 with 2 channels and DAC2 with 1 channel), a low-power RTC, 9 general-purpose 16-bit timers, two general-purpose 32-bit timers, three basic timers.
They also feature standard and advanced communication interfaces: up to two I2Cs, three SPIs, all with muxed I2Ss, three USARTs, CAN and USB.
The STM32F37x family operates in the -40 to +85 °C and -40 to +105 °C temperature ranges from a 2.0 to 3.6 V power supply. A comprehensive set of power-saving mode allows the design of low-power applications.
The STM32F37x family offers devices in five packages ranging from 48 pins to 100 pins. The set of included peripherals changes with the device chosen.
STM32F37x系列主要特性:
■ Core: ARM 32-bit Cortex.-M4F CPU (72 MHz max), single-cycle multiplication and HW division, DSP instruction with FPU (floatingpoint unit) and MPU (memory protection unit)
■ Memories
– 64 to 256 Kbytes of Flash memory
– 32 Kbytes of SRAM with HW parity check
■ CRC calculation unit
■ Reset and power management
– Voltage range: 2.0 to 3.6 V
– Power-on/Power down reset (POR/PDR)
– Programmable voltage detector (PVD)
– Low power modes: Sleep, Stop, Standby
– VBAT supply for RTC and backup registers
■ Clock management
– 4 to 32 MHz crystal oscillator
– 32 kHz oscillator for RTC with calibration
– Internal 8 MHz RC with x16 PLL option
– Internal 40 kHz oscillator
■ Up to 84 fast I/Os
– All mappable on external interrupt vectors
– Up to 45 I/Os with 5 V tolerant capability
■ 12-channel DMA controller
■ One 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
■ Up to three 16-bit Sigma Delta ADC
– Separate analog supply from 2.2 to 3.6 V, up to 21 single/ 11 diff channels
■ Up to three 12-bit DAC channels
■ Two fast rail-to-rail analog comparators with programmable input and output
■ Up to 24 capacitive sensing channels supporting touchkey, linear and rotary Touchsensors
■ 17 timers
– Two 32-bit timer and three 16-bit timers with up to 4 IC/OC/PWM or pulse counter
– Two 16-bit timers with up to 2 IC/OC/PWM or pulse counter
– Four 16-bit timers with up to 1 IC/OC/PWM or pulse counter
– Independent and system watchdog timers
– SysTick timer: 24-bit downcounter
– Three 16-bit basic timers to drive the DAC
■ Calendar RTC with Alarm and periodic wakeup from Stop/Standby
■ Communication interfaces
– CAN interface (2.0B Active)
– Two I2C interfaces; one supporting Fast Mode Plus (1 Mbit/s) with 20 mA current sink, SMBus/PMBus, wakeup from STOP
– Three USARTs supporting master synchronous SPI and modem control; with ISO7816 interface, LIN, IrDA capability, auto baud rate detection, wakeup feature
– Three SPIs (18 Mbit/s) with 4 to 16 programmable bit frame, muxed I2S
– HDMI-CEC bus interface
– USB 2.0 full speed interface
■ Serial wire devices, JTAG, Cortex-M4F ETM
■ 96-bit unique ID
图1.STM32F37x系列框图
STM32F3DISCOVERY开发板
The STM32F3DISCOVERY is a low-cost and easy-to-use development kit to quickly evaluate and start development with an STM32 F3 series microcontroller.
The STM32F3DISCOVERY is designed to help you explore the features of the STM32 F3 32-bit ARM® Cortex™-M4 mixed-signal MCU, and develop your applications. It is based on an STM32F303VCT6 and includes an ST-LINK/V2 embedded debug tool interface,Gyroscope ST MEMS, E-compass with accelerometer ST MEMS, LEDs, pushbuttons and a USB mini-B connector.
图2.STM32F3DISCOVERY开发板外形图
STM32F3DISCOVERY开发板主要特性:
● STM32F303VCT6 microcontroller featuring 256 KB of Flash memory, 48 KB of RAM in
an LQFP100 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 the USB bus or from an external 3 V or 5 V supply voltage.
● External application power supply: 3 V and 5 V.
● L3GD20, ST MEMS motion sensor, 3-axis digital output gyroscope.
● LSM303DLHC, ST MEMS system-in-package featuring a 3D digital linear acceleration
sensor and a 3D digital magnetic sensor.
● Ten LEDs:
– LD1 (red) for 3.3 V power-on.
– LD2 (red/green) for USB communication.
– Eight user LEDs, LD3/10 (red), LD4/9 (blue), LD5/8 (orange) and LD6/7 (green).
● Two pushbuttons (user and reset).
● USB USER with Mini-B connector.
● Extension header for LQFP100 I/Os for quick connection to prototyping board and easy
Probing.
图3.STM32F3DISCOVERY开发板硬件框图
图4.STM32F3DISCOVERY开发板电路图(1)
图5.STM32F3DISCOVERY开发板电路图(2)
图6.STM32F3DISCOVERY开发板电路图(3)
图7.STM32F3DISCOVERY开发板电路图(4)
图8.STM32F3DISCOVERY开发板布局图(顶层)
图9.STM32F3DISCOVERY开发板布局图(底层)
详情请见:
http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/DM00046749.pdf
和
http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/USER_MANUAL/DM00063382.pdf