中国电子技术网

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

 

[原创] ST STM32G484QE 32位ARM MCU开发方案

关键词:ARM Cortex-M4 MCU STM32G484QE 微处理器(MCU)

时间:2019-06-21 11:04:30       来源:中电网

ST公司的stm32G484QE是基于高性能Arm® Cortex®-M432位RISC的微处理器(MCU),集成了多达512KB闪存和128KB SRAM,工作频率高达170 MHz/213DMIPS.Cortex-M4核具有单精度浮点单元(FPU),支持ARM所有单精度数据处理指令和所有数据类型,还能执行所有数据信号处理(DSP)指令以及存储器保护单元(MPU),从而增加应用的安全性.器件还嵌入了用于静态存储器的灵活的外接存储器控制器(FSMC),四路SPI闪存接口,广泛的增强I/O和外设,它们连接到两个APB总线,两个AHB总线和32位多AHB总线矩阵.器件还提供5个快速12位ADC(5Mbps),七个比较器,六个运放,七个DAC通路(3个外部和4个内部),一个内部电压倒一切基准缓冲器,一个低功率RTC,两个通用32位计时器,三个专用来马达控制的16位PWM计时器,七个通用16位计时器和一个16位低功耗计时器以及具有184ps分辨率的高分辨率计时器.此外还有众多的标准和高端通信接口如四个I2C,四个复接的SPI和连个半双工I2S,三个USART,两个UART和一个低功耗UART,三个FDCAN,一个SAI,USB设备,UCPD STM32G484XE嵌入AES等.主要用在马达控制和其它低功耗应用.本文介绍了STM32G484QE主要特性,框图和评估板STM32G484E-EVAL主要特性,框图,硬件元件布局图和马达控制修补图,以及电路图和材料清单.

The STM32G484xE devices are based on the high-performance Arm® Cortex®-M4 32-bit RISC core. They operate at a frequency of up to 170 MHz.

The Cortex-M4 core features a single-precision floating-point unit (FPU), which supports all the Arm single-precision data-processing instructions and all the data types. It also implements a full set of DSP (digital signal processing) instructions and a memory protection unit (MPU) which enhances the application’s security.

These devices embed high-speed memories (512 Kbytes of Flash memory, and 128 Kbytes of SRAM), a flexible external memory controller (FSMC) for static memories (for devices with packages of 100 pins and more), a Quad SPI Flash memory interface, 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.

The devices also embed several protection mechanisms for embedded Flash memory and SRAM: readout protection, write protection, securable memory area and proprietary code readout protection. The devices embed peripherals allowing mathematical/arithmetic function acceleration (CORDIC for trigonometric functions and FMAC unit for filter functions).

They offer five fast 12-bit ADCs (5 Msps), seven comparators, six operational amplifiers, seven DAC channels (3 external and 4 internal), an internal voltage reference buffer, a low-power RTC, two general-purpose 32-bit timers, three 16-bit PWM timers dedicated to motor control, seven general-purpose 16-bit timers, and one 16-bit low-power timer, and high resolution timer with 184 ps resolution.

They also feature standard and advanced communication interfaces such as:
• Four I2Cs
• Four SPIs multiplexed with two half duplex I2Ss
• Three USARTs, two UARTs and one low-power UART.
• Three FDCANs
• One SAI
• USB device
• UCPD The STM32G484xE devices embed an AES.

The devices operate in the -40 to +85℃ (+105℃ junction), -40 to +105℃ (+125 ℃ junction) and -40 to +125℃ (+130℃ junction) temperature ranges from a 1.71 to 3.6 V power supply. A comprehensive set of power-saving modes allows the design of low-power applications.

Some independent power supplies are supported including an analog independent supply input for ADC, DAC, OPAMPs and comparators. A VBAT input allows backup of the RTC and the registers.The STM32G484xE family offers 8 packages from 48-pin to 128-pin.

STM32G484QE主要特性:

• 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 170 MHz with 213 DMIPS, MPU, DSP instructions
• Operating conditions:
– VDD, VDDA voltage range: 1.71 V to 3.6 V
• Mathematical hardware accelerators
– CORDIC for trigonometric functions acceleration
– FMAC: Filter mathematical accelerator
• Memories
– 512 Kbytes of Flash memory with ECC support, two banks read-while-write, proprietary code readout protection (PCROP), securable memory area, 1 Kbyte OTP
– 96 Kbytes of SRAM, with hardware parity check implemented on the first 32 Kbytes
– Routine booster: 32 Kbytes of SRAM on instruction and data bus, with hardware parity check (CCM SRAM)
– External memory interface for static memories FSMC supporting SRAM, PSRAM, NOR and NAND memories
– Quad-SPI memory interface
• Reset and supply management
– Power-on/power-down reset (POR/PDR/BOR)
– Programmable voltage detector (PVD)
– Low-power modes: sleep, stop, standby and shutdown
– VBAT supply for RTC and backup registers
• Clock management
– 4 to 48 MHz crystal oscillator
– 32 kHz oscillator with calibration
– Internal 16 MHz RC with PLL option (± 1%)
– Internal 32 kHz RC oscillator (± 5%)
• Up to 107 fast I/Os
– All mappable on external interrupt vectors
– Several I/Os with 5 V tolerant capability
• Interconnect matrix
• 16-channel DMA controller
• 25 x 12-bit ADCs 0.25 μs, up to 42 channels. Resolution up to 16-bit with hardware oversampling, 0 to 3.6 V conversion range
• 7 x 12-bit DAC channels
– 3 x buffered external channels 1 MSPS
– 4 x unbuffered internal channels 15 MSPS
• 7 x ultra-fast rail-to-rail analog comparators
• 6 x operational amplifiers that can be used in PGA mode, all terminals accessible
• Internal voltage reference buffer (VREFBUF) supporting three output voltages (2.048 V, 2.5 V, 2.95 V)
• 17 timers:
– HRTIM (Hi-Resolution and complex waveform builder): 6 x16-bit counters, 184 ps resolution, 12 PWM
– 2 x 32-bit timer and 2 x 16-bit timers with up to four IC/OC/PWM or pulse counter and quadrature (incremental) encoder input
– 3 x 16-bit 8-channel advanced motor control timers, with up to 8 x PWMchannels, dead time generation and emergency stop
– 1 x 16-bit timer with 2 x IC/OCs, one OCN/PWM, dead time generation and emergency stop
– 2 x 16-bit timers with IC/OC/OCN/PWM, dead time generation and emergency stop
– 2 x watchdog timers (independent, window)
– 1 x SysTick timer: 24-bit downcounter
– 2 x 16-bit basic timers
– 1 x low-power timer
• Calendar RTC with alarm, periodic wakeup from stop/standby
• Communication interfaces
– 3 x FDCAN controller supporting flexible data rate
– 4 x I2C Fast mode plus (1 Mbit/s) with 20 mA current sink, SMBus/PMBus, wakeup from stop
– 5 x USART/UARTs (ISO 7816 interface, LIN, IrDA, modem control)
– 1 x LPUART
– 4 x SPIs, 4 to 16 programmable bit frames, 2 x with multiplexed half duplex I2S interface
– 1 x SAI (serial audio interface)
– USB 2.0 full-speed interface with LPM and BCD support
– IRTIM (infrared interface)
– USB Type-C™ /USB power delivery controller (UCPD)
• True random number generator (RNG)
• CRC calculation unit, 96-bit unique ID
• AES: 128/256-bit key encryption hardware accelerator
• Development support: serial wire debug (SWD), JTAG, Embedded trace macrocell™

图1. STM32G484QE框图

评估板STM32G484E-EVAL

STM32G484E-EVAL features the STM32G484QET6U MCU with cryptography.STM32G474E-EVAL1 features a motor-control configuration board.

The full range of hardware features available on the board helps the users to improve application development to evaluate all the peripherals (USB FS, UCPD, USART, Audio, ADC and DAC, differential ADC, TFT LCD,Potentiometer/LDR, SRAM, Quad-SPI Flash memory device, microSD™ card, Smartcard, FDCAN transceiver, High Brightness LED, motor-control connectors, temperature sensor, and others). Extension headers provide easy connection to daughterboard, for specific applications.

The board features STLINK-V3E as the embedded in-circuit debugger and programmer, for the STM32 MCU and the USB virtual COM port bridge.

评估板STM32G484E-EVAL主要特性:

共通特性:

Common features
240x320 TFT color LCD display module with SPI interface
16-Gbyte microSD™ card bundled
On-board current measurement
SAI audio codec
Temperature sensor
8-Mbit (512 K x 16-bit) SRAM
Two 512-Mbit Quad-SPI NOR Flash memories
Four color user LEDs
One high brightness LED
Reset and wake-up / tamper buttons
4-direction joystick with selection button
Light-dependent resistor (LDR)
Potentiometer
Access to comparator and operational amplifier
Board connectors:
Analog line input jackStereo headset jackTwo connectors for external speakersmicroSD™ cardEXT_I2C connector supporting I²C busRS-232 port configurable for communication or MCU flashingRS-485 portUSB Type-C™ port supporting USB FS DeviceTwo CAN 2.0A/B-compliant portsConnector for DAC outputJTAG/SWD connectorETM trace debug connectorUser interface through USB virtual COM portEmbedded STLINK-V3E debug and flashing facilityTAG connector 10-pin footprintArm® Cortex® 10-pin 1.27 mm-pitch debug connector over STDC14 footprintCoin cell battery holder
Board expansion connectors:
Two sets of motor control expansion connectorsBoard expansion extension connectors
Flexible power-supply options:
ST-LINK USB VBUS, external sources, USB Type-C™ connector, or daughterboard
On-board STLINK-V3E debugger/programmer with USB re-enumeration capability: mass storage, Virtual COM port, and debug port
Microcontroller supply voltage:
fixed 3.3 V or adjustable range from 1.62 V to 3.6 V
Comprehensive free software libraries and examples available with the STM32CubeG4 MCU Package
Support of a wide choice of integrated development environments (IDEs) including IAR™, Keil®, GCC-based IDEs

板指标特性:

STM32G474QET6U microcontroller with 512 Kbytes of Flash memory and 96 Kbytes of RAM in LQFP128 package (STM32G474E-EVAL and STM32G474E-EVAL1)
STM32G474E-EVAL1 is the board to use for motor control application with solder bridge and resistor configuration
STM32G484QET6U with cryptography (STM32G484E-EVAL)
Fully compatible with all microcontrollers of the STM32G4x1 and STM32G4x3 lines with "QET6" part number suffix

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

图3. 评估板STM32G484E-EVAL硬件框图

图3. 评估板STM32G484E-EVAL布局图(顶层)

图4. 评估板STM32G484E-EVAL布局图(底层)


图5. 评估板STM32G484E-EVAL PCB顶层用于马达控制的修改图

图6. 评估板STM32G484E-EVAL PCB底层用于马达控制的修改图

图7. 评估板STM32G484E-EVAL电路图(1)

图8. 评估板STM32G484E-EVAL电路图(2)

图9. 评估板STM32G484E-EVAL电路图(3)

图10. 评估板STM32G484E-EVAL电路图(4)

图11. 评估板STM32G484E-EVAL电路图(5)

图12. 评估板STM32G484E-EVAL电路图(6)

图13. 评估板STM32G484E-EVAL电路图(7)

图14. 评估板STM32G484E-EVAL电路图(8)

图15. 评估板STM32G484E-EVAL电路图(9)

图16. 评估板STM32G484E-EVAL电路图(10)

图17. 评估板STM32G484E-EVAL电路图(11)

图18. 评估板STM32G484E-EVAL电路图(12)

图19. 评估板STM32G484E-EVAL电路图(13)

图20. 评估板STM32G484E-EVAL电路图(14)

图21. 评估板STM32G484E-EVAL电路图(15)

图22. 评估板STM32G484E-EVAL电路图(16)

图23. 评估板STM32G484E-EVAL电路图(17)

图24. 评估板STM32G484E-EVAL电路图(18)

图25. 评估板STM32G484E-EVAL电路图(19)

图26. 评估板STM32G484E-EVAL电路图(20)

图27. 评估板STM32G484E-EVAL电路图(21)

图28. 评估板STM32G484E-EVAL PCB设计图(1)

图29. 评估板STM32G484E-EVAL PCB设计图(2)
评估板STM32G484E-EVAL材料清单见:
MB1379-A01_BOM.xls
详情请见:
https://www.st.com/content/ccc/resource/technical/document/user_manual/group1
/f9/90/c9/4b/cf/35/45/ff/DM00564162/files/DM00564162.pdf/jcr:content/translations/en.DM00564162.pdf

https://www.st.com/content/ccc/resource/technical/layouts_and_diagrams/schematic_pack
/group1/50/01/f2/fa/79/59/41/58/MB1397-G484E-B04_schematic/files/MB1397-G484E-B04_schematic.pdf/jcr:content/translations/en.MB1397-G484E-B04_schematic.pdf

stm32g484qe.pdf
stm32g484e-eval.pdf
en.DM00564162.pdf
en.MB1397-G484E-B04_schematic.pdf

  • 分享到:

 

猜你喜欢