Espressif Systems ESP32-LyraTD-SYNA User Manual

ESP32-LyraTD-SYNA
User Guide
Version 1.0 Espressif Systems
About This Guide
This document helps you to get started with the ESP32-LyraTD-SYNA development board.
Release Notes
Documentation Change Notification
Espressif provides email notifications to keep customers updated on changes to technical documentation. Please subscribe at https://www.espressif.com/en/subscribe.
Certification
Download certificates for Espressif products from https://www.espressif.com/en/
certificates.!
Date
Version
Release notes
2019.09
V1.0
Initial release.
Table of Contents
1. Overview 1 ................................................................................................................................
1.1. ESP32-LyraTD-SYNA! 1".................................................................................................................
1.2. Hardware Resources! 1"..................................................................................................................
2. Configuring for AVS 3 ...............................................................................................................
2.1. Software Preparation! 3".................................................................................................................
2.2. Hardware Preparation! 3"................................................................................................................
2.3. Flashing the Firmware! 4"................................................................................................................
2.3.1. Driver Installation! 4"..........................................................................................................
2.3.2. Flashing ESP32! 4".............................................................................................................
2.4. Network Configuration! 7"...............................................................................................................
2.4.1. Wi-Fi Networking! 7"..........................................................................................................
2.5. Interactive Function! 10"..................................................................................................................
2.5.1. Voice Recognition! 10".......................................................................................................
2.5.2. Buttons! 10".......................................................................................................................
A. Appendix - Schematics 11.......................................................................................................
!
1.Overview

1. Overview

ESP32-LyraTD-SYNA is one of Espressif’s Audio Development Board based on ESP32 MCU and Synaptics DSP. It is an Acoustic Echo Cancelation (AEC) solution, supporting
voice recognition and voice wake-up. Audio files in the format of WAV, MP3, AAC, FLAC, OPUS and OGG can be decoded and encoded without quality loss. It also supports connection to Amazon’s AVS (Alexa Voice Service), Google's Dialogflow and Google's GVA
(Google Voice Assistant).

1.1. ESP32-LyraTD-SYNA

ESP32-LyraTD-SYNA is based on ESP32-WROVER-B, a BT/Wi-Fi combo module, and a digital signal processor (DSP) that features a two-microphone array for noise reduction and echo cancelation, as well as a Coder-Decoder (CODEC) that includes two pairs of DACs &
ADCs with high sampling rates.
!
Figure 1-1. ESP32-LyraTD-SYNA

1.2. Hardware Resources

1. USB Power Port
Provides power supply to the whole system. It is recommended that the system be connected to a power adapter for sufficient current supply.
2. ESP32-WROVER-B module
This is a powerful, general-purpose, Wi-Fi+BT+BLE dual core MCU module, targeting a wide variety of applications ranging from low-power sensor networks to the most demanding tasks, such as voice encoding/decoding, music streaming and runs voice assistant client SDK.
Espressif
! /171
2019.09
!
1.Overview
3. CX20921 DSP
CX20921 is a dual core, far field voice input processor which supports Smart Source Pickup(SSP) noise suppression and various functionalities such as voice control, voice
search, Voice over Internet Protocol (VOlP) and acoustic echo cancellation (AEC). This audio DSP is used for wake-word detection. It captures audio data from two external microphones.
4. CX20721 codec
CX20721 is an audio Coder-Decoder which has integrated AudioSmart Class-D with
2.8W per channel.
5. CP2102N USB-UART Chip
An upgraded version of the CP2102 chip supports USB-to-UART conversion.
6. USB Communication Port
This is a normal USB communication port between PC and ESP32 module.
7. ON-Board microphone
There are two types of microphone connection, on-board and by MIC-IN connector.
8. MIC-IN microphone connector
Supports two external microphones.
9. FPC connector
This connection is reserved for connecting external sub board consisting of more devices, such as microphone array, buttons and LEDs etc.
10. Earphone jack
Used for plugging in earphones. Audio output is via codec.
11. Speaker output port
Supports two external speakers output via codec.
12. Button
The six buttons figure different functions, such as RST, BOOT, PLAY, VOL+/-, MUTE etc.
Notice:
The IC design of this chip is a little different from CP2102.
Espressif
! /172
2019.09
!
2. Configuring for AVS
2. Configuring for AVS

2.1. Software Preparation

1. Installing Flash Download Tool
Linux/macOS/Windows users can use the terminal to flash firmware. For more details, please check ESP-IDF Programming Guide.
Windows users may also use a graphical tool to flash firmware onto the board using the
Flash Download Tool.
2. Downloading Firmware
Please follow the build instructions of the Alexa SDK from the Github page: https://
github.com/espressif/esp-va-sdk.
3. Debugging Tool
Use serial monitor/console that suits your development environment at baud rate of
115200.
4. App for Provisioning
In order to run Alexa you need to provision LyraTD-SYNA with Alexa credentials and network settings (Wi-Fi SSID and passphrase).
Android APK: https://play.google.com/store/apps/details?
id=com.espressif.provbleavs
iOS: https://apps.apple.com/us/app/esp-alexa/id1464127534

2.2. Hardware Preparation

1 x PC (Linux Operating System is recommended).
1 x ESP32-LyraTD-SYNA.
2 x Micro USB cables (one is for the USB power supply).
1 x Speaker or 1 x earphone.
Notice:
The GitHub repository uses Espressif’s wake-word engine (WWE) for processing the ‘Alexa’ wake­word. This allows easy evaluations. For production use cases, please reach out to
sales@espressif.com or your Synaptics sales representative to obtain an Amazon certified wake-word
engine.
Espressif
! /173
2019.09
Loading...
+ 14 hidden pages