kaiyun官方注册
您所在的位置: 首页> 嵌入式技术> 解决方案> STM32F407 Cortex-M4 32位MCU开发方案

STM32F407 Cortex-M4 32位MCU开发方案

2012-02-29

ST公司的STM32F4系列是高性能的基于ARMCortex-M4的32位微控制器,工作频率高达168MHz. Cortex M4具有浮点单元(FPU)但精度,支持所有的ARM单精度数据处理指令和数据类型,具有DSP指令和自适应的实时加速器(ART),允许从闪存中零等待状态实现,存储器保护单元和210 DMIPS/1.25 DMIPS/MHz (Dhrystone 2.1).主要用在马达驱动和应用控制,医疗设备,工业应用如PLC,逆变器,电路断路器,打印机和扫描仪,告警系统,HVAC和家庭音频设备.本文介绍了STM32F407xx系列主要特性,方框图以及STM3240G-EVAL评估板主要特性, 评估板硬件布局和配置图, 元件布局图和详细电路图.

The STM32F405xx and STM32F407xx family is based on the high-performance ARM® Cortex™-M4 32-bit RISC core operating at a frequency of up to 168 MHz. The 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 Cortex-M4 core with FPU will be referred to as Cortex-M4F throughout this document.

The STM32F405xx and STM32F407xx family incorporates high-speed embedded memories (Flash memory up to 1 Mbyte, up to 192 Kbytes of SRAM), up to 4 Kbytes of backup 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 three 12-bit ADCs, two DACs, a low-power RTC, twelve general-purpose16-bit timers including two PWM timers for motor control, two general-purpose 32-bit timers. a true random number generator (RNG). They also feature standard and advanced communication interfaces.

● Up to three I2Cs

● Three SPIs, two I2Ss full duplex. 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.

● Four USARTs plus two UARTs

● An USB OTG full-speed and a USB OTG high-speed with full-speed capability (with the ULPI),

● Two CANs

● An SDIO/MMC interface

● Ethernet and the camera interface available on STM32F407xx devices only.

The STM32F405xx and STM32F407xx family operates in the –40 to +105 ℃ temperature range from a 1.8 to 3.6 V power supply. The supply voltage can drop to 1.7 V when the device operates in the 0 to 70 ℃ temperature range and PDR is disabled. A comprehensive set of power-saving mode allows the design of low-power applications.

The STM32F405xx and STM32F407xx family offers devices in four packages ranging from 64 pins to 176 pins. The set of included peripherals changes with the device chosen.

STM32F407xx系列主要特性:

■ 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 168 MHz, memory protection unit, 210 DMIPS/1.25 DMIPS/MHz (Dhrystone 2.1), and DSP Instructions

■ Memories

– Up to 1 Mbyte of Flash memory

– Up to 192+4 Kbytes of SRAM including 64-Kbyte of CCM (core coupled memory) data RAM

– Flexible static memory controller supporting Compact Flash, SRAM,PSRAM, NOR and NAND memories

■ LCD parallel interface, 8080/6800 modes

■ Clock, reset and supply management

– 1.8 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 (1% accuracy)

– 32 kHz oscillator for RTC with calibration

– Internal 32 kHz RC with calibration

● Low power

– Sleep, Stop and Standby modes

– VBAT supply for RTC, 20×32 bit backup registers + optional 4 KB backup SRAM

■ 3×12-bit, 2.4 MSPS A/D converters: up to 24 channels and 7.2 MSPS in triple interleaved mode

■ 2×12-bit D/A converters

■ General-purpose DMA: 16-stream DMA controller with FIFOs and burst support

■ Up to 17 timers: up to twelve 16-bit and two 32- bit timers up to 168 MHz, each with up to 4 IC/OC/PWM or pulse counter and quadrature (incremental) encoder input

■ Debug mode

– Serial wire debug (SWD) & JTAG interfaces

– Cortex-M4 Embedded Trace Macrocell™

■ Up to 140 I/O ports with interrupt capability

– Up to 136 fast I/Os up to 84 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/2 UARTs (10.5 Mbit/s, ISO 7816 interface, LIN, IrDA, modem control)

– Up to 3 SPIs (37.5 Mbits/s), 2 with muxed full-duplex I2S to achieve audio class accuracy via internal audio PLL or external clock 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 up to 54 Mbytes/s

■ True random number generator

■ CRC calculation unit

■ 96-bit unique ID

■ RTC: subsecond accuracy, hardware calendar

STM32F407xx主要应用:

These features make the STM32F405xx and STM32F407xx microcontroller family 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

图1.STM32F40x系列方框图

STM3240G-EVAL评估板

The STM3240G-EVAL evaluation board is a complete demonstration and development
platform for the STM32F4 series and includes an embedded STM32F407IGH6 highperformance ARM®Cortex™-M4F 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/V2 tool can be easily used for JTAG and SWD interface debugging and programming.


图2. STM3240G-EVAL评估板外形图

STM3240G-EVAL评估板主要特性:

■ STM32F407IGH6 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, SWD and trace debug support

■ Embedded ST-LINK/V2

■ Five 5 V power supply options: Power jack, USB FS connector, USB HS connector,ST-LINK/V2 or daughterboard

图3. STM3240G-EVAL评估板硬件布局和配置图

图4. STM3240G-EVAL评估板元件布局图

图5. STM3240G-EVAL评估板电路图(1)

图6. STM3240G-EVAL评估板电路图(2)

图7. STM3240G-EVAL评估板电路图(3)

图8. STM3240G-EVAL评估板电路图(4)

图9. STM3240G-EVAL评估板电路图(5)

图10. STM3240G-EVAL评估板电路图(6)

图11. STM3240G-EVAL评估板电路图(7)

图12. STM3240G-EVAL评估板电路图(8)

图13. STM3240G-EVAL评估板电路图(9)

图14. STM3240G-EVAL评估板电路图(10)

图15. STM3240G-EVAL评估板电路图(11)

图16. STM3240G-EVAL评估板电路图(12)

图17. STM3240G-EVAL评估板电路图(13)

图18. STM3240G-EVAL评估板电路图(14)

图19. STM3240G-EVAL评估板电路图(15)

图20. STM3240G-EVAL评估板电路图(16)

图21. STM3240G-EVAL评估板电路图(17)

图22. STM3240G-EVAL评估板电路图(18)

图23. STM3240G-EVAL评估板电路图(19)

图24. STM3240G-EVAL评估板电路图(20)

图25. STM3240G-EVAL评估板电路图(21)

详情请见:
http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/DM00037051.pdf

http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/USER_MANUAL/DM00036746.pdf



本站内容除特别声明的原创文章之外,转载内容只为传递更多信息,并不代表本网站赞同其观点。转载的所有的文章、图片、音/视频文件等资料的版权归版权所有权人所有。本站采用的非本站原创文章及图片等内容无法一一联系确认版权者。如涉及作品内容、版权和其它问题,请及时通过电子邮件或电话通知我们,以便迅速采取适当措施,避免给双方造成不必要的经济损失。联系电话:010-82306116;邮箱:aet@chinaaet.com。
Baidu
map