中国电子技术网

设为首页 网站地图 加入收藏

 

[原创] ST STM32F401VE 32位ARM MCU+FPU开发方案

关键词:ARM Cortex-M4 MCU 医疗电子 马达驱动 工业应用 家用电器

时间:2019-03-29 09:15:01       来源:中电网

ST公司的STM32F401xD/xE系列是基于高性能ARM® Cortex® -M4 32位RISC核,工作频率高达84MHz,具有浮点单元(FPU)单精度,支持所有ARM单精度数据处理指令和数据类型,还能实现全套DSP指令和存储器保护单元(MPU),从而增强应用安全性.器件具有高速嵌入存储器(512KB闪存,96KB SRAM)和扩展的增强I/O和外设,连接到两条APB总线,两条AHB总线和32位多个AHB总线矩阵;此外所有器件提供一个12位ADC,一个低功耗RTC,六个通用16位计时器,以及多种标准和高档通信接口如I2C,SPI和全双工I2S,以及USART,SDIO接口和USB 2.0 OTG全速接口等.工作温度–40到+105℃,工作电压1.7V-3.6V.器件主要用在马达驱动和应用控制,医疗设备,工业应用如PLC,逆变器和电路中断器,打印机和扫描仪,告警系统,视频连接和HVAC,家用音频设备以及其手机传感器集线器.本文介绍了STM32F401xD/xE系列主要特性,框图,电源方案图以及评估板STM32 Nucleo-64板主要特性,硬件框图,电路图,材料清单和PCB布局图.

The STM32F401XD/XE devices are based on the high-performance ARM® 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 single-precision data-processing instructions and data types. It also implements a full set of DSP instructions and a memory protection unit (MPU) which enhances application security. The STM32F401xD/xE incorporate high-speed embedded memories (512 Kbytes of Flash memory, 96 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 be clocked via a dedicated internal audio PLL or via an external clock to allow synchronization.
• Three USARTs
• SDIO interface
• USB 2.0 OTG full speed interface
Refer to for the peripherals available for each part number.
The STM32F401xD/xEoperate in the –40 to +105 ℃ temperature range from a 1.7 (PDR OFF) to 3.6 V power supply. A comprehensive set of power-saving mode allows the design of low-power applications.
These features make the STM32F401xD/xE 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

STM32F401xD/xE系列主要特性:

• Core: ARM® 32-bit Cortex®-M4 CPU with FPU, Adaptive real-time accelerator (ART Accelerator™) allowing 0-wait state execution from 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 512 Kbytes of Flash memory
– up to 96 Kbytes of SRAM
• Clock, reset and supply management
– 1.7 V to 3.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: 146 μA/MHz (peripheral off)
– Stop (Flash in Stop mode, fast wakeup time): 42 μATyp@25C;65 μA max @25℃
– Stop (Flash in Deep power down mode, fast wakeup time): down to 10 μA @ 25 ℃;30 μA max @25℃
– Standby: 2.4 μA @25℃ / 1.7 V without RTC; 12 μA @85℃ @1.7 V
– VBAT supply for RTC: 1 μA @25℃
• 1×12-bit, 2.4 MSPS A/D converter: up to 16 channels
• General-purpose DMA: 16-stream DMA controllers with FIFOs and burst support
• Up to 11 timers: up to six 16-bit, two 32-bit timers up to 84 MHz, each with up to four IC/OC/PWM or pulse counter and quadrature (incremental) encoder input, two watchdog timers (independent and window) and a SysTick timer
• Debug mode
– Serial wire debug (SWD) & JTAG interfaces
– Cortex ? -M4 Embedded Trace Macrocell™
• Up to 81 I/O ports with interrupt capability
– Up to 78 fast I/Os up to 42 MHz
– All I/O ports are 5 V-tolerant
• Up to 12 communication interfaces
– Up to 3 x I2C interfaces (SMBus/PMBus)
– Up to 3 USARTs (2 x 10.5 Mbit/s, 1 x 5.25 Mbit/s), ISO 7816 interface, LIN,IrDA, modem control)
– Up to 4 SPIs (up to 42Mbit/s at fCPU = 84 MHz), SPI2 and SPI3 with muxed full-duplex I2S to achieve audio class accuracy via internal audio PLL or external clock
– SDIO interface
– Advanced connectivity: USB 2.0 full-speed device/host/OTG controller with on-chip PHY • CRC calculation unit
• 96-bit unique ID
• RTC: subsecond accuracy, hardware calendar
• All packages (WLCSP49, LQFP64/100, UFQFPN48, UFBGA100) are ECOPACK®2

图1.STM32F401xD/xE系列框图

图2. STM32F401xD/xE系列电源方案图

评估板STM32 Nucleo-64板

The STM32 Nucleo-64 boards provide an affordable and flexible way for users to try out new concepts and build prototypes with the STM32 microcontrollers, choosing from various combinations of performance, power consumption and features. For the compatible boards, the SMPS significantly reduces power consumption in Run mode.

The Arduino™ Uno V3 connectivity support and the ST morpho headers allow the easy expansion of the functionality of the STM32 Nucleo open development platform with a wide choice of specialized shields.

The STM32 Nucleo-64 boards (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-L010RB, NUCLEO-L053R8, NUCLEO-L073RZ, NUCLEO-L152RE, NUCLEO-L452RE, NUCLEO-L476RG) provide an affordable and flexible way for users to try out new concepts and build prototypes with the STM32 microcontrollers in LQFP64 package, choosing from the various combinations of performance, power consumption and features. The Arduino™ Uno V3 connectivity support and the ST morpho headers allow to expand easily the functionality of the Nucleo open development platform with a wide choice of specialized shields. The STM32 Nucleoboards do not require any separate probe as they integrate the ST-LINK/V2-1 debugger and programmer. The STM32 Nucleo boards come with the STM32 comprehensive software HAL library together with various packaged software examples, as well as direct access to the Arm® Mbed™ online resources at http://mbed.org/.


图3.评估板STM32 Nucleo-64板外形图

评估板STM32 Nucleo-64板主要特性:

• STM32 microcontroller in LQFP64 package
• Three LEDs: – USB communication (LD1), user LED (LD2), power LED (LD3)
• Two push-buttons: USER and RESET
• Two types of extension resources
– Arduino™ Uno V3 connectivity
– ST morpho extension pin headers for full access to all STM32 I/Os
• Flexible board power supply:
– USB VBUS or external source (3.3 V, 5 V, 7 - 12 V)
– Power management access point
• On-board ST-LINK/V2-1 debugger and programmer with SWD connector
– Selection-mode switch to use the kit as a standalone ST-LINK/V2-1
• 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
• Arm® Mbed™ (see http://mbed.org)

图4.评估板STM32 Nucleo-64板硬件框图

图5.评估板STM32 Nucleo-64板顶层布局图

图6.评估板STM32 Nucleo-64板底层布局图

图7.评估板STM32 Nucleo-64板顶层和电源电路图

图8.评估板STM32 Nucleo-64板电路图:STM32 MCU

图9.评估板STM32 Nucleo-64板电路图:ST-LINK/V2-1

图10.评估板STM32 Nucleo-64板电路图扩展连接器
评估板STM32 Nucleo-64板材料清单见:
Nucleo_64_Assembly_F030R8.xls
Nucleo_64_Assembly_F030R8
详情请见:
https://www.st.com/content/ccc/resource/technical/document/user_manual/group0/c6/b4/6a/03/c1/6f/46
/13/DM00331058/files/DM00331058.pdf/jcr:content/translations/en.DM00331058.pdf

https://www.st.com/content/ccc/resource/technical/document/user_manual/98/2e/fa/4b/e0/82/43/b7/DM00105823.pdf
/files/DM00105823.pdf/jcr:content/translations/en.DM00105823.pdf

en.DM00105823.pdf
en.DM00331058.pdf

  • 分享到:

 

猜你喜欢