基于ST的STM32F412ZG32位ARM MCU Discovery套件开发方案
原标题:ST STM32F412ZG32位ARM MCU Discovery套件开发方案
ST公司的STM32F412XE/G是基于高性能ARM® Cortex® -M4 32位RISC核的MCU,工作频率高达100MHz,内核具有浮点单元(FPU),支持所有ARM单精度数据处理指令和数据类型,还能执行所有DSP指令,而存储器保护单元(MPU)则增强了应用安全性,集成了高达1MB闪存和256KB SRAM,工作电压1.7 V- 3.6 V,主要用在马达驱动和应用控制,医疗设备,工业应用如PLC,逆变器,电路断路器,打印鸡和扫描仪,告警系统,HVAC,家用音频设备,可穿戴设备和Wi-Fi模块等.本文介绍了STM32F412XE/G主要特性,框图,以及Discovery套件32F412GDISCOVERY主要特性,框图,电路图,材料清单和PCB元件布局图.
The STM32F412XE/G devices are based on the high-performance ARM® Cortex® -M4 32- bit RISC core operating at a frequency of up to 100 MHz. Their 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 STM32F412XE/G belong to the STM32 Dynamic Efficiency™ product line (with products combining power efficiency, performance and integration) while adding a new innovative feature called Batch Acquisition Mode (BAM) allowing to save even more power consumption during data batching. The STM32F412XE/G incorporate high-speed embedded memories (up to 1 Mbyte of Flash memory, 256 Kbyte of SRAM), and an extensive range of enhanced I/Os and peripherals connected to two APB buses, three AHB buses and a 32-bit multi-AHB bus matrix. All devices offer one 12-bit ADC, a low-power RTC, twelve general-purpose 16-bit timers, two PWM timer for motor control and two general-purpose 32-bit timers. They also feature standard and advanced communication interfaces.
• Up to four I2Cs, including one I2C supporting Fast-Mode Plus
• Five SPIs
• Five I2Ss out of which two are full duplex. To achieve audio class accuracy, the I2S peripherals can be clocked via a dedicate internal audio PLL or via an external clock to allow synchronization.
• Four USARTs
• An SDIO/MMC interface
• An USB 2.0 OTG full-speed interface
• Two CANs.
In addition, the STM32F412xE/G embed advanced peripherals:
• A flexible static memory control interface (FSMC)
• A Quad-SPI memory interface
• A digital filter for sigma modulator (DFSDM), two filters, up to four inputs, and support of microphone MEMs. The STM32F412xE/G are offered in 7 packages ranging from 48 to 144 pins.
The STM32F412xE/G operates 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 STM32F412xE/G 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
• Wearable devices
• Connected objects
• Wifi modules
STM32F412XE/G主要特性:
• Dynamic Efficiency Line with BAM (Batch Acquisition Mode)
• 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 100 MHz, memory protection unit, 125 DMIPS/1.25 DMIPS/MHz (Dhrystone 2.1), and DSP instructions
• Memories
– Up to 1 Mbyte of Flash memory
– 256 Kbyte of SRAM
– Flexible external static memory controller with up to 16-bit data bus: SRAM, PSRAM, NOR Flash memory
– Dual mode Quad-SPI interface
• LCD parallel interface, 8080/6800 modes
• 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: 112 μA/MHz (peripheral off)
– Stop (Flash in Stop mode, fast wakeup time): 50 μATyp @ 25 ℃; 75 μA max @25 ℃
– Stop (Flash in Deep power down mode, slow wakeup time): down to 18 μA @ 25 ℃; 40 μ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 ADC: up to 16 channels
• 2x digital filters for sigma delta modulator, 4x PDM interfaces, stereo microphone support
• General-purpose DMA: 16-stream DMA
• Up to 17 timers: up to twelve 16-bit timers, two 32-bit timers up to 100 MHz each with up to four IC/OC/PWM or pulse counter and quadrature (incremental) encoder input, two watchdog timers (independent and window), one SysTick timer
• Debug mode
– Serial wire debug (SWD) & JTAG
– Cortex ? -M4 Embedded Trace Macrocell™
• Up to 114 I/O ports with interrupt capability
– Up to 109 fast I/Os up to 100 MHz
– Up to 114 five V-tolerant I/Os
• Up to 17 communication interfaces
– Up to 4x I2C interfaces (SMBus/PMBus)
– Up to 4 USARTs (2 x 12.5 Mbit/s, 2 x 6.25 Mbit/s), ISO 7816 interface, LIN, IrDA, modem control)
– Up to 5 SPI/I2Ss (up to 50 Mbit/s, SPI or I2S audio protocol), out of which 2 muxed full-duplex I2S interfaces
– SDIO interface (SD/MMC/eMMC)
– Advanced connectivity: USB 2.0 full-speed device/host/OTG controller with PHY
– 2x CAN (2.0B Active)
• True random number generator
• CRC calculation unit
• 96-bit unique ID
• RTC: subsecond accuracy, hardware calendar
• All packages are ECOPACK®2
图1.STM32F412XE/G框图
Discovery套件32F412GDISCOVERY
The 32F412GDISCOVERY discovery kit is a complete demonstration and development platform for STMicroelectronics ARM® Cortex® -M4 core-based STM32F412ZGT6 microcontroller. This microcontroller features four I2C buses, four USART ports, five SPI ports with two multiplexed full-duplex I2S buses, SDIO interface, USB OTG full-speed 2.0 port, two CAN buses, FMC parallel interface, two digital filters for sigma-delta modulators, PDM interface for two digital microphones, one 12-bit ADC, dual Quad-SPI interface, JTAG and SWD debugging support. This discovery kit offers everything required for users to get started quickly and develop applications easily. A full range of hardware features on the board helps users to evaluate all on-board peripherals such as: USB OTG FS, microSD™ card, full-duplex I2S with an audio codec and stereo jack for headset including analog microphone, DFSDM with a pair of ST MEMS digital microphones on board, Quad-SPI Flash memory device, 1.54" TFT LCD using FMC interface with capacitive touch panel. The Arduino™ Uno V3 compatible connectors expand the functionality with a wide choice of specialized shields. The extension connectors allow easy connection of a daughterboard for specific customer applications. The integrated ST-LINK/V2-1 provides an embedded in-circuit debugger and programmer for the STM32.
Discovery套件32F412GDISCOVERY主要特性:
• STM32F412ZGT6 microcontroller featuring 1 Mbyte of Flash memory and 256 Kbytes of RAM in LQFP144 package
• On-board ST-LINK/V2-1 SWD debugger, supporting USB re-enumeration capability:
– USB virtual COM port
– Mass storage
– Debug port
• 1.54-inch, 240x240-pixel TFT color LCD with parallel interface
• I2S audio codec, with a stereo headset jack, including analog microphone input and a loudspeaker output
• Stereo digital MEMS microphones.
• microSD™ card connector
• I2C extension connector
• 128-Mbit Quad-SPI NOR Flash memory
• Reset button and joystick
• Four-color user LEDs
• USB OTG FS with Micro-AB connector
• Four options for power-supply source:
– ST-LINK/V2-1 USB connector
– User USB FS connector
– VIN from Arduino™ Uno V3 connector
– +5 V from Arduino™ Uno V3 connector
• Two supply voltages possible for STM32: 2.0 V and 3.3 V
• Compatible Arduino™ Uno V3 connectors
• Extension connectors for direct access to various features of the STM32F412ZGT6
• Comprehensive free software including a variety of examples, part of the STM32Cube package
图2.Discovery套件32F412GDISCOVERY外形图
责任编辑:HanFeng
【免责声明】
1、本文内容、数据、图表等来源于网络引用或其他公开资料,版权归属原作者、原发表出处。若版权所有方对本文的引用持有异议,请联系拍明芯城(marketing@iczoom.com),本方将及时处理。
2、本文的引用仅供读者交流学习使用,不涉及商业目的。
3、本文内容仅代表作者观点,拍明芯城不对内容的准确性、可靠性或完整性提供明示或暗示的保证。读者阅读本文后做出的决定或行为,是基于自主意愿和独立判断做出的,请读者明确相关结果。
4、如需转载本方拥有版权的文章,请联系拍明芯城(marketing@iczoom.com)注明“转载原因”。未经允许私自转载拍明芯城将保留追究其法律责任的权利。
拍明芯城拥有对此声明的最终解释权。