基于ST STM32F769微控制器的Alexa智能语音(AVS)交互开发套件方案
原标题:基于ST STM32F769的Alexa智能语音交互开发套件
ST的X-CUBE-AVS方案可以使Amazon的Alexa语音服务(AVS)在STM32微控制器上运行,助力Smart Speakers在物联网领域有更大的应用前景,让具有自动语音识别和自然语言理解功能的高级会话用户界面可以用在更多物联网设备上,如智能家电、家庭自动化设备和办公设备。
X-CUBE-AVS包含了可以直接使用的固件库和开放例程,方便快速移植AVS-SDK到微控制器上。同时,该软件包还集成应用代码示例,开发者无需再对嵌入式设备运行AVS所需的复杂软件层进行开发。AVS开发工具通常是为能耗和价格较高的微处理器设计,而X-CUBE-AVS是同类首个微控制器专用软件包,让更多的开发人员和项目可以使用Alexa技术。
本方案将介绍如何使用X-CUBE-AVS套件使Alexa与STM32769-DISC实现智能语音交互。
场景应用图
展示板照片
方案方块图
核心技术优势
1. MCU通过以太网与Alexa语音服务终端进行连接,只需确定终端IP即可
2. 人机交互界面让语音交互更加智能化
3. Alexa语音服务终端让生活智能和便利化,语音生成解决方案
4. 麦克风由MCU做音频解码使得语音交互更加流畅
方案规格
1. ST在微控制器上针对Alexa语音服务(AVS)所做的框架助力人工智能的发展
2. 创建了面向AVS的STM32应用程序
3. 以TCP/IP协议为基础进行连接
4. 做AVS协议封装
5. 提供了音频播放示例
6. 友好地语音交互GUI界面
型号
STM32F769AI
High-performance and DSP with FPU, ARM Cortex-M7 MCU with 2 Mbytes Flash, 216 MHz CPU, Art Accelerator, L1 cache, SDRAM, TFT, MIPI-DSI, JPEG codec, DFSDM
STM32F769BG
High-performance and DSP with FPU, ARM Cortex-M7 MCU with 1 Mbyte Flash, 216 MHz CPU, Art Accelerator, L1 cache, SDRAM, TFT, MIPI-DSI, JPEG codec, DFSDM
STM32F769BI
High-performance and DSP with FPU, ARM Cortex-M7 MCU with 2 Mbytes Flash, 216 MHz CPU, Art Accelerator, L1 cache, SDRAM, TFT, MIPI-DSI, JPEG codec, DFSDM
STM32F769IG
High-performance and DSP with FPU, ARM Cortex-M7 MCU with 1 Mbyte Flash, 216 MHz CPU, Art Accelerator, L1 cache, SDRAM, TFT, MIPI-DSI, JPEG codec, DFSDM
STM32F769II
High-performance and DSP with FPU, Arm Cortex-M7 MCU with 2 Mbytes Flash, 216 MHz CPU, Art Accelerator, L1 cache, SDRAM, TFT, MIPI-DSI, JPEG codec, DFSDM
STM32F769NG
High-performance and DSP with FPU, Arm Cortex-M7 MCU with 1 Mbyte Flash, 216 MHz CPU, Art Accelerator, L1 cache, SDRAM, TFT, MIPI-DSI, JPEG codec, DFSDM
STM32F769NI
High-performance and DSP with FPU, Arm Cortex-M7 MCU with 2 Mbytes Flash,
216 MHz CPU, Art Accelerator, L1 cache, SDRAM, TFT, MIPI-DSI, JPEG codec,
DFSDM
【STM32F769AI】
High-performance and DSP with FPU, ARM Cortex-M7 MCU with 2 Mbytes Flash, 216 MHz CPU, Art Accelerator, L1 cache, SDRAM, TFT, MIPI-DSI, JPEG codec, DFSDM
The STM32F765xx, STM32F767xx, STM32F768Ax and STM32F769xx devices are based on the high-performance Arm® Cortex®-M7 32-bit RISC core operating at up to 216 MHz frequency. The Cortex®-M7 core features a floating point unit (FPU) which supports Arm® double-precision and 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 the application security.
The STM32F765xx, STM32F767xx, STM32F768Ax and STM32F769xx devices incorporate high-speed embedded memories with a Flash memory up to 2 Mbytes, 512 Kbytes of SRAM (including 128 Kbytes of Data TCM RAM for critical real-time data), 16 Kbytes of instruction TCM RAM (for critical real-time routines), 4 Kbytes of backup SRAM available in the lowest power modes, and an extensive range of enhanced I/Os and peripherals connected to two APB buses, two AHB buses, a 32-bit multi-AHB bus matrix and a multi layer AXI interconnect supporting internal and external memories access.
All the 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 random number generator (RNG). They also feature standard and advanced communication interfaces.
Advanced peripherals include two SDMMC interfaces, a flexible memory control (FMC) interface, a Quad-SPI Flash memory interface, a camera interface for CMOS sensors.
The STM32F765xx, STM32F767xx, STM32F768Ax and STM32F769xx devices operate in the –40 to +105 °C temperature range from a 1.7 to 3.6 V power supply. Dedicated supply inputs for USB (OTG_FS and OTG_HS) and SDMMC2 (clock, command and 4-bit data) are available on all the packages except LQFP100 for a greater power supply choice.
The supply voltage can drop to 1.7 V with the use of an external power supply supervisor. A comprehensive set of power-saving mode allows the design of low-power applications.
The STM32F765xx, STM32F767xx, STM32F768Ax and STM32F769xx devices offer devices in 11 packages ranging from 100 pins to 216 pins. The set of included peripherals changes with the device chosen.
These features make the STM32F765xx, STM32F767xx, STM32F768Ax and STM32F769xx microcontrollers suitable for a wide range of applications.
Key Features
Core: Arm® 32-bit Cortex®-M7 CPU with DPFPU, ART Accelerator™ and L1-cache: 16 Kbytes I/D cache, allowing 0-wait state execution from embedded Flash and external memories, up to 216 MHz, MPU, 462 DMIPS/2.14 DMIPS/MHz (Dhrystone 2.1), and DSP instructions.
Memories
Up to 2 Mbytes of Flash memory organized into two banks allowing read-while-write
SRAM: 512 Kbytes (including 128 Kbytes of data TCM RAM for critical real-time data) + 16 Kbytes of instruction TCM RAM (for critical real-time routines) + 4 Kbytes of backup SRAM
Flexible external memory controller with up to 32-bit data bus: SRAM, PSRAM, SDRAM/LPSDR SDRAM, NOR/NAND memories
Dual mode Quad-SPI
Graphics
Chrom-ART Accelerator™ (DMA2D), graphical hardware accelerator enabling enhanced graphical user interface
Hardware JPEG codec
LCD-TFT controller supporting up to XGA resolution
MIPI® DSI host controller supporting up to 720p 30 Hz resolution
Clock, reset and supply management
1.7 V to 3.6 V application supply and I/Os
POR, PDR, PVD and BOR
Dedicated USB power
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, 32×32 bit backup registers + 4 Kbytes backup SRAM
3×12-bit, 2.4 MSPS ADC: up to 24 channels
Digital filters for sigma delta modulator (DFSDM), 8 channels / 4 filters
2×12-bit D/A converters
General-purpose DMA: 16-stream DMA controller with FIFOs and burst support
Up to 18 timers: up to thirteen 16-bit (1x low- power 16-bit timer available in Stop mode) and two 32-bit timers, each with up to 4 IC/OC/PWM or pulse counter and quadrature (incremental) encoder input. All 15 timers running up to 216 MHz. 2x watchdogs, SysTick timer
Debug mode
SWD & JTAG interfaces
Cortex®-M7 Trace Macrocell™
Up to 168 I/O ports with interrupt capability
Up to 164 fast I/Os up to 108 MHz
Up to 166 5 V-tolerant I/Os
Up to 28 communication interfaces
Up to 4 I2C interfaces (SMBus/PMBus)
Up to 4 USARTs/4 UARTs (12.5 Mbit/s, ISO7816 interface, LIN, IrDA, modem control)
Up to 6 SPIs (up to 54 Mbit/s), 3 with muxed simplex I2S for audio
2 x SAIs (serial audio interface)
3 × CANs (2.0B Active) and 2x SDMMCs
SPDIFRX interface
HDMI-CEC
MDIO slave 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 camera interface up to 54 Mbyte/s
True random number generator
CRC calculation unit
RTC: subsecond accuracy, hardware calendar
96-bit unique ID
STM32F769AI CIRCUIT DIAGRAM
责任编辑:David
【免责声明】
1、本文内容、数据、图表等来源于网络引用或其他公开资料,版权归属原作者、原发表出处。若版权所有方对本文的引用持有异议,请联系拍明芯城(marketing@iczoom.com),本方将及时处理。
2、本文的引用仅供读者交流学习使用,不涉及商业目的。
3、本文内容仅代表作者观点,拍明芯城不对内容的准确性、可靠性或完整性提供明示或暗示的保证。读者阅读本文后做出的决定或行为,是基于自主意愿和独立判断做出的,请读者明确相关结果。
4、如需转载本方拥有版权的文章,请联系拍明芯城(marketing@iczoom.com)注明“转载原因”。未经允许私自转载拍明芯城将保留追究其法律责任的权利。
拍明芯城拥有对此声明的最终解释权。