0 卖盘信息
BOM询价
您现在的位置: 首页 > 技术方案 >工业控制 > 基于ST公司的STM32F401高性能32位MCU开发方案

基于ST公司的STM32F401高性能32位MCU开发方案

来源: 中电网
2019-01-10
类别:工业控制
eye 398
文章创建人 拍明

原标题:ST STM32F401高性能32位MCU开发方案

  ST公司的STM32F401XB/STM32F401XC是基于ARM® Cortex® -M4 32位RISC核的高性别能MCU,工作频率高达84MHz,内核局有浮点单元(FPU),支持所有ARM单精度数据指令和数据类型,还能执行DSP指令和存储器保护单元(MPU)指令,多达256KB闪存和64KB SRAM,主要用在马达驱动和应用控制,医疗设备,工业应用如PLC,逆变器和电路中断器,打印机和扫描仪,告警系统,视频连接和HVAC,家庭音响设备和移动手机传感器集线器.本文介绍了STM32F401主要特性,框图,STM32 Nucleo-64开发板NUCLEO-F401RE主要特性,框图,电路图和材料清单,元器件布局图.

  The STM32F401XB/STM32F401XC devices are based on the high-performanceARM® Cortex® -M4 32-bit RISC core operating at a frequency of up to 84 MHz. Its Cortex®-M4 core features a Floating point unit (FPU) single precision which supports all ARM singleprecisiondata-processing instructions and data types. It also implements a full set of DSPinstructions and a memory protection unit (MPU) which enhances application security.

  The STM32F401xB/STM32F401xC incorporate high-speed embedded memories (up to 256 Kbytes of Flash memory, up to 64 Kbytes of SRAM), and an extensive range of enhanced I/Os and peripherals connected to two APB buses, two AHB buses and a 32-bit multi-AHB bus matrix.

  All devices offer one 12-bit ADC, a low-power RTC, six general-purpose 16-bit timers including one PWM timer for motor control, two general-purpose 32-bit timers. They also feature standard and advanced communication interfaces.

  • Up to three I2Cs

  • Up to four SPIs

  • Two full duplex I2Ss. To achieve audio class accuracy, the I2S peripherals can beclocked via a dedicated internal audio PLL or via an external clock to allowsynchronization.

  • Three USARTs

  • SDIO interface

  • USB 2.0 OTG full speed interface

  The STM32F401xB/STM32F401xC operate in the–40 to +105 ℃ temperature range from a1.7 (PDR OFF) to 3.6 V power supply. A comprehensive set of power-saving mode allowsthe design of low-power applications.

  These features make the STM32F401xB/STM32F401xC microcontrollers suitable for a wide range of applications:

  • Motor drive and application control

  • Medical equipment

  • Industrial applications: PLC, inverters, circuit breakers

  • Printers, and scanners

  • Alarm systems, video intercom, and HVAC

  • Home audio appliances

  • Mobile phone sensor hub

  STM32F401主要特性:

  • Core:ARM® 32-bit Cortex®-M4 CPU with FPU,Adaptive real-time accelerator(ART Accelerator™)allowing 0-wait state executionfrom Flash memory,frequency up to 84 MHz,memory protection unit, 105 DMIPS/1.25 DMIPS/MHz (Dhrystone 2.1),and DSP instructions

  • Memories

  – Up to 256 Kbytes of Flash memory

  – Up to 64 Kbytes of SRAM

  • Clock, reset and supply management

  – 1.7 V (PDR OFF) or 1.8 V (PDR ON) to3.6 V application supply and I/Os

  – POR, PDR, PVD and BOR

  – 4-to-26 MHz crystal oscillator

  – Internal 16 MHz factory-trimmed RC

  – 32 kHz oscillator for RTC with calibration

  – Internal 32 kHz RC with calibration

  • Power consumption

  – Run: 128 μA/MHz (peripheral off)

  – Stop (Flash in Stop mode, fast wakeuptime): 42 μAtyp @ 25 ℃;65 μA max @25 ℃

  – Stop (Flash in Deep power down mode,slow wakeup time): down to 10 μAtyp@25 ℃; 28 μA max @25 ℃

  – Standby: 2.4 μA @25 ℃ / 1.7 V withoutRTC; 12 μA @85 ℃ @1.7 V

  – VBAT supply for RTC: 1 μA @25 ℃

  • 1×12-bit, 2.4 MSPS A/D converter: up to 16channels

  • General-purpose DMA: 16-stream DMAcontrollers with FIFOs and burst support

  • Up to 11 timers: up to six 16-bit, two 32-bittimers up to 84 MHz, each with up to 4 IC/OC/PWM or pulse counter and quadrature(incremental) encoder input,two watchdog timers (independent and window) and aSysTick timer

  • Debug mode

  – Serial wire debug (SWD) & JTAGinterfaces

  – Cortex-M4 Embedded Trace Macrocell™

  • Up to 81 I/O ports with interrupt capability

  – All IO ports 5 V tolerant

  – Up to 78 fast I/Os up to 42 MHz

  • Up to 11 communication interfaces

  – Up to 3 × I2C interfaces (1Mbit/s,SMBus/PMBus)

  – Up to 3 USARTs (2 x 10.5 Mbit/s, 1 x5.25 Mbit/s), ISO 7816 interface, LIN, IrDA,modem control)

  – Up to 4 SPIs (up to 42 Mbits/s at fCPU= 84MHz), SPI2 and SPI3 with muxedfullduplex I2S to achieve audio class accuracyvia internal audio PLL or external clock

  – SDIO interface

  • Advanced connectivity

  – USB 2.0 full-speed device/host/OTGcontroller with on-chip PHY

  • CRC calculation unit

  • 96-bit unique ID

  • RTC: subsecond accuracy, hardware calendar

  图1.STM32F401xB/STM32F401xC框图

  STM32 Nucleo-64开发板NUCLEO-F401RE

  STM32 Nucleo-64 development board with STM32F401RET6 MCU, supports Arduino and ST morpho connectivity. The STM32 Nucleo board is a low-cost and easy-to-use development platform used to quickly evaluate and start a development with an STM32 microcontroller in LQFP64 package.

  The STM32 Nucleo-64 board (NUCLEO-F030R8,NUCLEO-F070RB,NUCLEO-F072RB,NUCLEO-F091RC,NUCLEO-F103RB,NUCLEO-F302R8,NUCLEO-F303RE,NUCLEO-F334R8,NUCLEO-F401RE,NUCLEO-F410RB,NUCLEO-F411RE,NUCLEO-F446RE,NUCLEO-L053R8,NUCLEO-L073RZ,NUCLEO-L152RE,NUCLEO-L476RG)provides an affordable and flexible way for users to try out new ideas and build prototypes with the STM32 microcontrollers in LQFP64 package, choosing from the various combinations of performance, power consumption and features. The Arduino™ connectivity support and ST Morpho headers make it easy to expand the functionality of the Nucleo open development platform with a wide choice of specialized shields. The STM32 Nucleo board does not require any separate probe as it integrates the ST-LINK/V2-1 debugger/programmer. The STM32 Nucleo board comes with the STM32 comprehensive software HAL library together with various packaged software examples, as well as direct access to mbed online resources at http://mbed.org/.

  图2.开发板NUCLEO-F401RE外形图

  开发板NUCLEO-F401RE主要特性:

  • STM32 microcontroller with LQFP64 package

  • Two types of extension resources

  – Arduino Uno Revision 3 connectivity

  – STMicroelectronics Morpho extension pin headers for full access to all STM32 I/Os

  • mbed-enabled(a)

  • On-board ST-LINK/V2-1 debugger/programmer with SWD connector

  – selection-mode switch to use the kit as a standalone ST-LINK/V2-1

  • Flexible board power supply

  – USB VBUS

  – External VIN (7V– External 5V (E5V) supply voltage from ST Morpho connector

  – External +3.3V supply voltage from Arduino connector or ST Morpho connector

  • Three LEDs

  – USB communication (LD1), user LED (LD2), power LED (LD3)

  • Two push buttons: USER and RESET

  • LSE crystal:

  – 32.768kHz crystal oscillator (depending on board version)

  • USB re-enumeration capability: three different interfaces supported on USB

  – Virtual Com port

  – Mass storage

  – Debug port

  • Comprehensive free software HAL library including a variety of software examples

  • Supported by wide choice of Integrated Development Environments (IDEs) including IAR, Keil, GCC-based IDEs

  图3.开发板NUCLEO-F401RE硬件框图


责任编辑:HanFeng

【免责声明】

1、本文内容、数据、图表等来源于网络引用或其他公开资料,版权归属原作者、原发表出处。若版权所有方对本文的引用持有异议,请联系拍明芯城(marketing@iczoom.com),本方将及时处理。

2、本文的引用仅供读者交流学习使用,不涉及商业目的。

3、本文内容仅代表作者观点,拍明芯城不对内容的准确性、可靠性或完整性提供明示或暗示的保证。读者阅读本文后做出的决定或行为,是基于自主意愿和独立判断做出的,请读者明确相关结果。

4、如需转载本方拥有版权的文章,请联系拍明芯城(marketing@iczoom.com)注明“转载原因”。未经允许私自转载拍明芯城将保留追究其法律责任的权利。

拍明芯城拥有对此声明的最终解释权。

相关资讯