基于ST公司的STM32F20x系列家庭能量管理网关解决方案
原标题:ST STM32F20x系列家庭能量管理网关解决方案
ST公司的STM32F20x系列是基于高性能ARM®Cortex™-M3 32位RISC内核的微控制器,工作频率高达120MHz,具有高速嵌入存储器(闪存高达1MB,128KB系统SRAM), 4KB备份SRAM以及各种增强I/O和外设,主要用在马达驱动和应用控制,医疗设备,家用音频设备,PLC,逆变器和电路中断器,打印机和扫描仪,告警系统,视频互连和HVAC等.本文介绍了STM32F20x系列主要特性,框图,以及评估板STM3220G-EV主要特性,框图,电路图和家庭能量管理网关框图.
The STM32F20x family is based on the high-performance ARM®Cortex™-M3 32-bit RISC core operating at a frequency of up to 120 MHz. The family incorporates high-speed embedded memories (Flash memory up to 1 Mbyte, up to 128 Kbytes of system SRAM), up to 4 Kbytes of backup 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.
The devices also feature an adaptive real-time memory accelerator (ART Accelerator™) which allows to achieve a performance equivalent to 0 wait state program execution from Flash memory at a CPU frequency up to 120 MHz. This performance has been validated using the CoreMark benchmark.
All devices offer three 12-bit ADCs, two DACs, a low-power RTC, twelve general-purpose 16-bit timers including two PWM timers for motor control, two general-purpose 32-bit timers. a true number random generator (RNG). They also feature standard and advanced communication interfaces. New advanced peripherals include an SDIO, an enhanced flexible static memory control (FSMC) interface (for devices offered in packages of 100 pins and more), and a camera interface for CMOS sensors. The devices also feature standard peripherals.
• Up to three I2Cs
• Three SPIs, two I2Ss. To achieve audio class accuracy, the I2S peripherals can be
clocked via a dedicated internal audio PLL or via an external PLL to allow
synchronization.
• 4 USARTs and 2 UARTs
• A USB OTG high-speed with full-speed capability (with the ULPI)
• A second USB OTG (full-speed)
• Two CANs
• An SDIO interface
• Ethernet and camera interface available on STM32F207xx devices only
STM32F20x主要特性:
Core: ARM 32-bit Cortex™-M3 CPU (120 MHz max) with Adaptive real-time accelerator (ART Accelerator™ allowing 0-wait state execution performance from Flash memory, MPU, 150 DMIPS/1.25 DMIPS/MHz (Dhrystone 2.1)
Memories
Up to 1 Mbyte of Flash memory
512 bytes of OTP memory
Up to 128 + 4 Kbytes of SRAM
Flexible static memory controller that supports Compact Flash, SRAM, PSRAM, NOR and NAND memories
LCD parallel interface, 8080/6800 modes
Clock, reset and supply management
From 1.8 to 3.6 V application supply+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
Low power
Sleep, Stop and Standby modes
VBATsupply for RTC, 20 × 32 bit backup registers, and optional 4 KB backup SRAM
3 × 12-bit, 0.5 μs ADCs with up to 24 channels and up to 6 MSPS in triple interleaved mode
2 × 12-bit D/A converters
General-purpose DMA: 16-stream controller with centralized FIFOs and burst support
Up to 17 timers
Up to twelve 16-bit and two 32-bit timers, up to 120 MHz, each with up to 4 IC/OC/PWM or pulse counter and quadrature (incremental) encoder input
Debug mode: Serial wire debug (SWD), JTAG, and Cortex-M3 Embedded Trace Macrocell™
Up to 140 I/O ports with interrupt capability:
Up to 136 fast I/Os up to 60 MHz
Up to 138 5 V-tolerant I/Os
Up to 15 communication interfaces
Up to 3 × I2C interfaces (SMBus/PMBus)
Up to 4 USARTs and 2 UARTs (7.5 Mbit/s, ISO 7816 interface, LIN, IrDA, modem ctrl)
Up to 3 SPIs (30 Mbit/s), 2 with muxed I2S to achieve audio class accuracy via audio PLL or external PLL
2 × CAN interfaces (2.0B Active)
SDIO interface
Advanced connectivity
USB 2.0 full-speed device/host/OTG controller with on-chip PHY
USB 2.0 high-speed/full-speed device/host/OTG controller with dedicated DMA, on-chip full-speed PHY and ULPI
10/100 Ethernet MAC with dedicated DMA: supports IEEE 1588v2 hardware, MII/RMII
8- to 14-bit parallel camera interface (48 Mbyte/s max.)
CRC calculation unit
96-bit unique ID
STM32F20x应用:
• 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
图1.STM32F20x框图
评估板STM3220G-EV
The STM3220G-EVAL evaluation board is a complete demonstration and development
platform for the STM32F2 series and includes an embedded STM32F207IGH6 high-
performance ARM®Cortex™-M3 32-bit microcontroller .
The full range of hardware features on the board is provided to help you evaluate all
peripherals (USB OTG HS, USB OTG FS, ethernet, motor control, CAN, MicroSD Card™,
smartcard, USART, Audio DAC, RS-232, IrDA, SRAM, MEMS, EEPROM... etc.) and
develop your own applications. Extension headers make it possible to easily connect a
daughter board or wrapping board for your specific application.
The in-circuit ST-LINK tool can be easily used for JTAG and SWD interface debugging and programming
图2.评估板STM3220G-EV外形图
评估板STM3220G-EV主要特性:
■STM32F207IGH6 microcontroller
■16 Mbit SRAM
■1 Gbyte or more MicroSD Card
■Boot from user Flash, system memory or SRAM
■Both ISO/IEC 14443 type A and B smartcard support
■I2C compatible serial interface 8 Kbytes EEPROM, MEMS and I/O expander
■IEEE 802.3-2002 compliant ethernet connector
■Two CAN 2.0 A/B channels on the same DB connector
■RS-232 communication
■IrDA transceiver
■USB OTG (HS and FS) with Micro-AB connector
■Inductor motor control connector
■I2S Audio DAC, stereo audio jack for headset
■3.2" 240x320 TFT color LCD with touchscreen
■4 color LEDs
■Camera module and extension connector for ST camera plug-in
■Joystick with 4-direction control and selector
■Reset, wakeup, tamper and user button
■RTC with backup battery
■Extension connector for daughterboard or wrapping board
■JTAG, SW and trace debug support
■Embedded ST-LINK/V2
■Five 5V power supply options: Power jack, USB FS connector, USB HS connector,
ST-LINK/V2 or daughterboard
■MCU consumption measurement circuit
图3.评估板STM3220G-EV框图
家庭能量管理网关
In the era of energy optimization and metering, people want to have a clearer view of the energy metering and energy management inside their own homes. For this reason, STMicroelectronics offers a system allowing them to monitor and manage their home energy consumption, and that has the capability to publish the energy data from home automation devices (such as smart plugs) to a remote web server. The user can consult the energy consumption data on the web server from wherever he or she is and, at home, can manage the entire system from a touch panel.
图25.家庭能量管理网关框图
责任编辑:HanFeng
【免责声明】
1、本文内容、数据、图表等来源于网络引用或其他公开资料,版权归属原作者、原发表出处。若版权所有方对本文的引用持有异议,请联系拍明芯城(marketing@iczoom.com),本方将及时处理。
2、本文的引用仅供读者交流学习使用,不涉及商业目的。
3、本文内容仅代表作者观点,拍明芯城不对内容的准确性、可靠性或完整性提供明示或暗示的保证。读者阅读本文后做出的决定或行为,是基于自主意愿和独立判断做出的,请读者明确相关结果。
4、如需转载本方拥有版权的文章,请联系拍明芯城(marketing@iczoom.com)注明“转载原因”。未经允许私自转载拍明芯城将保留追究其法律责任的权利。
拍明芯城拥有对此声明的最终解释权。