OverviewESP32-LyraTD-DSPGHardware ResourcesConfiguring for AVSSoftware PreparationHardware PreparationFlashing the FirmwareDriver InstallationFlashing ESP32Network ConfigurationWi-Fi NetworkingInteractive FunctionVoice RecognitionButtonsAppendix - SchematicsMain Board (A)Sub Board (B)
www.espressif.com ESP32-LyraTD-DSPG User GuideVersion 1.1 Espressif Systems Copyright © 2020
About This Guide This document helps you to get started with the ESP32-LyraTD-DSPG 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. DateVersionRelease notes2019.06V1.0Initial release.2020.07V1.1•Updated E8388 to ES8388; •Corrected typos of some subtitles in Section 1.1. •Add Submit Documentation Feedback linkEspressifSubmit Documentation Feedback2020.07
Table of Contents 1. Overview 1 ................................................................................................................................1.1. ESP32-LyraTD-DSPG! 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! 3"................................................................................................................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 .......................................................................................................A.1. Main Board (A)! 11"..........................................................................................................................A.2. Sub Board (B)! 15...........................................................................................................................EspressifSubmit Documentation Feedback2020.07
1. Overview1. Overview ESP32-LyraTD-DSPG is one of Espressif’s Audio Development Board based on ESP32 MCU and DBMD5P DSP. It is an Acoustic Echo Cancelation (AEC) solution supporting voice recognition, near-field and far-field 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-DSPG ESP32-LyraTD-DSPG is based on ESP32-WROVER-B, a BT/Wi-Fi combo module, and a digital signal processor (DSP) that features a three-microphone array for noise reduction, echo cancelation, beam-forming and detection. ESP32-LyraTD-DSPG is integrated with peripheral devices and consists of two development boards. The sub board mainly consists of the microphone array, function keys and LEDs. The main board is integrated with power management, Wi-Fi and audio modules like DSP, Codec and power amplifier. The two boards can be connected with FPC interface. Figure 1-1. ESP32-LyraTD-DSPG Layout 1.2. Hardware Resources 1. USB power input Provides power supply to the whole system. It is recommended that the system be connected to a power adapter for sufficient current supply. Espressif /16 1Submit Documentation Feedback2020.07
1. Overview2. 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. 3. DBMD5P DSP DBMD5P is a dual core, programmable voice processor which supports various functionalities such as voice trigger (VT), voice commands, voice authentication (VA), acoustic echo cancellation (AEC). This audio DSP is used for wake-word detection. It captures audio data from an external array of three digital microphones. 4. Audio codec ES8388 audio codec is used for digital audio conversion to analog audio output. 5. Audio amplifier This audio power amplifier sends audio signals from the Codec to external speakers for playback. 6. CP2102N USB-to-UART chip An upgraded version of the CP2102 chip supports USB-to-UART conversion. 7. USB port This is a normal USB communication port between PC and the main board. 8. Earphone connector Used for plugging in earphones/headphone. Audio output is via Codec. 9. Speaker connector Supports one external speaker output via Power Amplifier. 10.FPC connector This connection is used for connecting external sub board consisting of microphone array, buttons and LEDs via flex cable. 11.Mini Din connector This connection can be used for connecting the microphone cable, if there is such a requirement. By default, this connector is not mounted on the main board. 12.Sub board Sub board consists of LEDs and LED driver along with function keys and Mic array connected via FPC cable. 📖 Note: The IC design of this chip is a little different from CP2102.Espressif /16 2Submit Documentation Feedback2020.07
2. Configuring for AVS2. 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 into 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-DSPG with Alexa credentials and network settings (Wi-Fi ssid and passphrase). Please install the android APK from the Play Store here: https://play.google.com/store/apps/details?id=com.espressif.provbleavs. iOS support will be available soon. 2.2. Hardware Preparation •1 x PC (Linux Operating System is recommended) •1 x LyraTD-DSPG •2 x Micro USB cables (one is for the USB power supply) •1 x Speaker or 1 x earphone 2.3. Flashing the Firmware This document captures the process for flashing the firmware on Windows. Please refer to the ESP-VA-SDK repository on Github for setup on other platforms. 📖 Note: The GitHub repository uses Espressif’s wake-word engine (WWE) for processing the ‘Alexa’ wakeword. This allows easy evaluations. For production use case, please reach out to sales@espressif.com or your DSPG sales representative for obtaining a Amazon certified wake-word engine.Espressif /16 3Submit Documentation Feedback2020.07
2. Configuring for AVS2.3.1. Driver Installation Connect the board to a PC with a Micro-USB cable and install the USB-to-UART driver. 2.3.2. Flashing ESP32 Figure 2-1. Flash Download Tool •In order to build examples of esp-va-sdk, please follow the instructions mentioned on the GitHub page. •Once you build the Alexa firmware, you will generate three artifacts: bootloader.bin, partitions.bin and alexa.bin. •For Flash Download Tool users, follow the instructions given below: 1. Run Flash Download Tool, and click on “ESP32 Download Tool” at the interface. See Figure 2-1 above. 2. Then you will see the interface shown in Figure 2-2 below. Espressif /16 4Submit Documentation Feedback2020.07
2. Configuring for AVS Figure 2-2. ESP32 Download Tool 3. Select the binary files (mentioned in table below) and set appropriate address in the tool as shown in Figure 2-3. Binary FilesAddressFunctionbootloader.bin0x1000basic configurationpartitions.bin0x8000basic configurationalexa.bin0x10000audio applicationEspressif /16 5Submit Documentation Feedback2020.07
2. Configuring for AVS Figure 2-3. Flashing Configuration 4. The SPI Download configuration on the ESP32 Download Tool is shown in Figure 2-3. Select “80 MHz” for “SPI SPEED”; select “DIO” for “SPI MODE”; and select “128 Mbit” for “FLASH SIZE”. 5. Select the COM port in line with the one used by the PC; select “1152000” as a baud rate. 6. Click the “Start” button on the ESP32 Flash Download Tool to start downloading the firmware. 7. Wait for the download to finish. See Figure 2-4. Figure 2-4. Downloading Firmware 📖 Note: Terminal users can follow the flashing instructions as available on the GitHub page. Espressif /16 6Submit Documentation Feedback2020.07
2. Configuring for AVS2.4. Network Configuration 2.4.1. Wi-Fi Networking 1. After successfully downloading the firmware, power on the board again by pressing the EN button. 2. To configure the network for the first time: •Turn on the bluetooth in your phone. Open Espressif’s Alexa programming app and click on Provision New Device. Make sure your phone has internet connectivity. Figure 2-5. Provision New Device •The provisioning happens over BLE (Bluetooth Low Energy). Android mandates applications to have Location permission for accessing BLE. Please provide the permission when the pop-up shows up. •You will see the list of available devices that needs to be provisioned, namely ESP-Alexa-WXYZ. Select the device that you wish to provision. Espressif /16 7Submit Documentation Feedback2020.07
2. Configuring for AVS Figure 2-6. List of available devices •Next step is to login to your amazon account. Figure 2-7. Login to your amazon •After successful login and authorization, you will be shown a list of Wi-Fi networks in the vicinity. Choose the network that you wish the device to connect to. Once selected, enter the passphrase of that Wi-Fi network and click on the provision button. Espressif /16 8Submit Documentation Feedback2020.07
2. Configuring for AVS Figure 2-8. Available Wi-Fi networks Figure 2-9. Enter your passphrase •On successfully connecting to the Wi-Fi network, after provisioning, a boot up LED pattern will show up (Same as Echo dot), after which the DSP and Alexa will be initialized, and ready to take voice commands. Espressif /16 9Submit Documentation Feedback2020.07
2. Configuring for AVS2.5. Interactive Function 2.5.1. Voice Recognition •Once all initialization are done, the device is ready. You can use either use "Action" button on the board (Tap-To-Talk) or say "Alexa" to start a conversation. For Tap-to-Talk, press and release the button and speak. •You can now ask any command like: -Tell me a joke. -How is the weather? -Will it rain today? -Sing a song. -Play TuneIn radio. -Set volume level to 7. 2.5.2. Buttons •The “Action” button can be used as tap-to-talk. The same button can also be used to disable an Alarm/Timer. •The “Vol+” and “Vol-” buttons can be used to adjust the volume of the sound. Press them repeatedly until you reach the desired sound volume. •The "Mute" button can be used to mute/unmute the device. •To reset to factory settings, press Vol+ and Vol- button together for about 10 seconds until you see LED blink pattern. Espressif /16 10Submit Documentation Feedback2020.07
Appendix AA. Appendix - Schematics A.1. Main Board (A) 5544332211D DC CB BA APower Supply for ESP32:3.3V/800mABLM18SG121TN1DESP32 Module:1.For Button_Array_ADC;2.Cap should close to Module.Buttons:Power On LEDVISHAY:IFSC1515AHER2R2M01Note:1.Vout = 0.6*(1+R1/R2);ENGPI34GPI35GPIO32GPIO33GPIO25GPIO26GPIO27GPIO14ESP_3V3GPIO13DGNDGPIO22TXD0RXD0GPIO21GPIO19GPIO18GPIO4GPIO0GPIO5GPIO23Module_NCGPIO15GPIO2DGNDB_SHD/SD2B_SWP/SD3B_SCS/CMD B_SCK/CLKB_SDO/SD0B_SDI/SD1GPIO17_NCGPIO16_NCDGNDGPIO12SENSOR_VPGPI36SENSOR_VNGPI39RXD0TXD0Boot_ENBoot_IO0Boot_IO2ES_I2S_MCLKES_I2S_SCLKES_I2S_LRCKES_I2S_DSDINPA_CTRLGPIO0_DSP_MASTER_CLKDBMD_INT_3V3DSP_APR_SPI_CSDSP_APR_SPI_CLKDSP_APR_SPI_MOSIDSP_APR_SPI_MISODSP_APR_I2S_BCLK_3V3DSP_APR_I2S_LRCK_3V3DSP_VT_I2S_DI_3V3DSP_VT_RSTN_3V3DSP_APR_RSTN_3V3DSP_VT_SPI_SCS_3V3DSP_APR_I2S_DO_3V3DSP_VT_WAKEUP_3V3DSP_APR_WAKEUP_3V3DSP_VT_I2S_LevShift_EN_LIO23_I2C_SCLIO18_I2C_SDAButton_Array_ADCGPIO2DGNDGPIO13A_SHD/SD2A_SWP/SD3A_SCS/CMDA_SCK/CLKA_SDO/SD0A_SDI/SD1GPIO15GPIO26GPIO27GPI34GPIO12DGNDGPIO25SENSOR_VPGPI36SENSOR_VNGPI39GPI35GPIO32GPIO33GPIO14GPIO23GPIO22TXD0RXD0GPIO21Module_NCGPIO19GPIO18GPIO5GPIO17_NCGPIO16_NCGPIO4GPIO0DGNDENESP_3V3DBMD_INT_3V3GPI36Button_Array_ADCGPI39GPI39 GPI36GPIO22GPI35GPI35DSP_VT_I2S_DI_3V3GPIO0_DSP_MASTER_CLKES_I2S_MCLKBoot_IO0GPIO0DSP_APR_I2S_BCLK_3V3ES_I2S_SCLKDSP_APR_I2S_LRCK_3V3ES_I2S_LRCKDSP_APR_I2S_DO_3V3ES_I2S_DSDINGPIO5GPIO25GPIO26GPIO32GPIO33GPIO13GPIO19GPIO27GPIO18DSP_APR_SPI_CSDSP_APR_SPI_CLKDSP_APR_SPI_MOSIDSP_APR_SPI_MISODSP_VT_SPI_SCS_3V3DSP_VT_RSTN_3V3DSP_APR_RSTN_3V3GPIO4GPIO21GPIO22PA_CTRLGPIO2Boot_IO2DSP_APR_WAKEUP_3V3GPIO23IO18_I2C_SDAIO23_I2C_SCLGPIO14GPIO15DSP_VT_WAKEUP_3V3DSP_VT_I2S_LevShift_EN_LRXD0 RXD0TXD0 TXD0Boot_ENENGPIO12GPIO13GPIO14GPIO15GPI34GPIO12GPIO18GPIO23System_LEDBoot_IO0Boot_IO2Boot_ENSystem_LEDVDD33_ENDGNDVDD33DGNDDGND GNDDGNDVDD33DGNDDGNDVBUSDGND DGNDESP_3V3DGNDESP_3V3DGNDVDD33GNDGNDGNDGND GNDGNDDGND DGNDDGNDDGNDVDD33DGNDVDD33_INVDD33_INTXD05Boot_EN5Boot_IO05Boot_IO25PA_CTRL4GPIO0_DSP_MASTER_CLK3DSP_VT_RSTN_3V33DSP_APR_RSTN_3V33DBMD_INT_3V33DSP_APR_SPI_CS3DSP_VT_SPI_SCS_3V33DSP_APR_SPI_CLK3DSP_APR_SPI_MOSI3DSP_APR_SPI_MISO3DSP_APR_I2S_BCLK_3V33DSP_APR_I2S_LRCK_3V33DSP_APR_I2S_DO_3V33DSP_VT_I2S_DI_3V33DSP_VT_WAKEUP_3V33DSP_APR_WAKEUP_3V33ES_I2S_DSDIN4ES_I2S_LRCK4ES_I2S_SCLK4ES_I2S_MCLK4DSP_VT_I2S_LevShift_EN_L3RXD05Button_Array_ADC5IO23_I2C_SCL4,5IO18_I2C_SDA4,5System_LED5TitleSizeDocument Number RevDate: Sheet of<02_ESP32_MCU> V3.1C25Thursday, February 14, 2019TitleSizeDocument Number RevDate: Sheet of<02_ESP32_MCU> V3.1C25Thursday, February 14, 2019TitleSizeDocument Number RevDate: Sheet of<02_ESP32_MCU> V3.1C25Thursday, February 14, 2019R11 0R(1%)R18 0R(1%)R3 10K(1%)R21 0R(1%)R710K(1%)C50.1uF/50V(10%)R32 0R(1%)R210K(1%)R9 0R(1%)C710uF/10V(20%)(NC)C3 1uF/16V(10%)R8 0R(1%)INGNDEN FBLXU19 SY8089AAAC421 53R36 0R(1%)TP11R4 10K(1%)(NC)R242 0R(1%)L10 2.2uH(20%)@Isat=3AR12 0R(1%)R22 0R(1%)R33 0R(1%)R239 10K(1%)R281 150K(1%)R24 1K(1%)C2530.1uF/50V(10%)TP21R25 0R(1%)C60.1uF/50V(10%)R23 0R(1%)R31 1K(1%)R6 10K(1%)(NC)R13 0R(1%)TP31C90.1uF/50V(10%)(NC)R282 680K(1%)Q1LBSS138LT1GR240 10K(1%)R19 0R(1%)R26 0R(1%)TP41R5 10K(1%)(NC)R14 51R(1%)U3 AP7361C-33-ER-7/13(NC)GND1VOUT2VIN3Tab4C250 6.8pF/50V(±0.1pF)R283 10K(1%)C1100uF/6.3V(20%)R2415.1K(1%)R27 0R(1%)Q2LBSS138LT1GC80.1uF/50V(10%)(NC)D12 RED LEDC251 22uF/10V(20%)R29 0R(1%)(NC)L1 3A@120ohm,25mohmR15 0R(1%)C40.1uF/50V(10%)U1ESP32-WROOM-32(NC)GND113V32EN3SENSOR_VP4SENSOR_VN5IO346IO357IO328IO339IO2510IO2611IO2712IO1413IO1214GND338IO2337IO2236TXD035RXD034IO2133NC32IO1931IO1830IO529IO1728IO1627IO426IO025GND215IO1316SD217SD318CMD19CLK20SD021SD122IO1523IO224P_GND39SW7K2-1109SP-B4SA-0111223344C1010uF/10V(20%)(NC)R16 0R(1%)C254 0.1uF/50V(10%)R30 0R(1%)R34 0R(1%)SW8K2-1109SP-B4SA-0111223344C20.1uF/50V(10%)U2 ESP32-WROVER-B/M321X0228RBBGND113V32EN3SENSOR_VP4SENSOR_VN5IO346IO357IO328IO339IO2510IO2611IO2712IO1413IO1214GND215IO1316SD217SD318CMD19CLK20SD021SD122IO1523IO224IO025IO426NC127NC228IO529IO1830IO1931NC32IO2133RXD034TXD035IO2236IO2337GND338P_GND39R35 0R(1%)R10 0R(1%)(NC)R20 0R(1%)R17 51R(1%)R2810K(1%)R1 0R(1%)R280 10K(1%)C25222uF/10V(20%)Espressif / 11 16Submit Documentation Feedback2020.07
Appendix A 5544332211D DC CB BA AI2S:SPI:State:1.Fixed 1.1V output@Imax=200mA.Notes:1.Vout=1.20*(1+R1/R2)=3.296V; R1=52.3K,R2=30.1K are recommended for better performance.R1R2Crystal:Power For DSP:For DSP Pin3/5/7.For DSP Pin2/8/57. For DSP Pin66/79.For DSP Pin20/29/44.For DSP Pin1/8/67/83.For DSP Pin9/12/31/39/51.R1R2Notes:1.Vout=1.20*(1+R1/R2)=1.81V;VISHAY:IFSC1515AHER2 R2M01Note:1.Vout = 0.6*(1+R1/R2);DSP_DM1_DATADSP_DM1_CLKMASTER_STRAPDSP_APR_SPI_MOSIDSP_APR_SPI_MISODSP_APR_SPI_CLKDSP_APR_SPI_CSDSP_APR_WAKEUP_3V3DSP_APR_UART_TXDDSP_APR_UART_RXDDSP_VT_WAKEUP_1V8DSP_VT_UART_TXDBMD_INT_1V8DSP_VT_MASTER_CLK_1V8DSP_APR_MASTER_CLKGPIO0_DSP_MASTER_CLKGPIO0_DSP_MASTER_CLKCRYSTAL_DSP_MASTER_CLKDSP_VT_RSTN_1V8DSP_VT_RSTN_3V3DSP_VT_RSTN_3V3DSP_APR_RSTN_3V3DSP_APR_RSTN_3V3DSP_VT_SPI_SDO_1V8DSP_VT_SPI_CLK_1V8DSP_VT_SPI_SDI_1V8DSP_APR_SPI_CLKDSP_APR_SPI_MOSIDSP_VT_SPI_SCS_1V8DSP_VT_SPI_SCS_3V3DSP_APR_SPI_CSDSP_VT_SPI_SCS_3V3DSP_APR_SPI_CLKDSP_APR_SPI_MOSIDSP_APR_SPI_MISODSP_APR_SPI_MISODSP_VT_SPI_SDO_1V8DSP_VT_WAKEUP_3V3DBMD_INT_1V8DSP_APR_I2S_DO_3V3DSP_APR_I2S_LRCK_3V3DSP_APR_I2S_BCLK_3V3DSP_VT_I2S_BCLK_1V8DSP_VT_I2S_LRCK_1V8DSP_VT_I2S_DI_3V3DSP_VT_I2S_DI_1V8DSP_APR_I2S_BCLK_3V3DSP_VT_I2S_DI_1V8DSP_APR_I2S_LRCK_3V3DSP_APR_I2S_BCLK_3V3DSP_APR_I2S_LRCK_3V3DSP_APR_I2S_DO_3V3DSP_VT_I2S_DI_3V3DBMD_INT_3V3DSP_VT_SPI_SCS_1V8DSP_VT_I2S_LevShift_EN_LDSP_VT_I2S_LevShift_EN_LDSP_VT_WAKEUP_3V3DSP_APR_WAKEUP_3V3DSP_VT_I2S_DI_3V3APR_LDO_INCRYSTAL_DSP_MASTER_CLKDBMD_INT_3V3DSP_DM0_DATADSP_DM0_CLKDSP_DM1_DATADSP_DM1_CLKDSP_DM0_DATADSP_DM0_CLKAPR_LDO_INCRYSTAL_DSP_MASTER_CLKDSP_VDD33_ENDSP_VCCA_1V8DSP_GNDDSP_VDD_IO2_1V8DSP_GNDDSP_VDD_IO1_3V3DSP_GNDDSP_VDD_IO1_3V3DSP_VT_CORE_1V1DSP_GNDDSP_APR_CORE_1V2DSP_GNDDSP_APR_CORE_1V2 DSP_VT_CORE_1V1DSP_GNDDSP_GNDDSP_VDD_IO1_3V3DSP_GNDDSP_GNDDSP_GNDDSP_GNDDSP_GNDDSP_VDD_IO2_1V8DSP_VDD_IO1_3V3DSP_GND DSP_GNDDSP_GNDDGNDVDD33DSP_VDD_IO2_1V8DSP_VDD_IO1_3V3DSP_GND DSP_GNDDSP_GNDDSP_GNDDSP_GNDGNDDSP_VDD_IO1_3V3DSP_GNDDSP_VDD_IO2_1V8DSP_VDD_IO2_1V8DSP_VDD_IO2_1V8DSP_VDD_IO2_1V8DSP_VDD_IO2_1V8 DSP_VT_CORE_1V1DSP_GNDDSP_GND DSP_GNDDSP_VDD_IO1_3V3 DSP_1V8DSP_GNDDSP_GNDDSP_VCCA_1V8DSP_VDD_IO2_1V8DSP_GND DSP_GNDDSP_GNDDSP_GND DSP_GNDVBUSVDD33 DSP_VDD_IO1_3V3DSP_VCCA_1V8DSP_GNDDSP_VDD_IO2_1V8DSP_GNDDSP_VDD_IO2_1V8DSP_VDD_IO2_1V8DSP_VDD_IO1_3V3DSP_GNDDSP_GNDDSP_GND DSP_GNDDSP_GNDDGNDDSP_GND DSP_GNDDSP_GNDDSP_GNDDSP_VDD_IO1_3V3DSP_GNDDSP_VCC_INDSP_VCC_INGPIO0_DSP_MASTER_CLK2DSP_VT_RSTN_3V32DSP_APR_RSTN_3V32DSP_APR_SPI_CS2DSP_VT_SPI_SCS_3V32DSP_APR_SPI_CLK2DSP_APR_SPI_MOSI2DSP_APR_SPI_MISO2DSP_APR_I2S_BCLK_3V32DSP_APR_I2S_LRCK_3V32DSP_APR_I2S_DO_3V32DSP_VT_I2S_DI_3V32DBMD_INT_3V32DSP_VT_I2S_LevShift_EN_L2DSP_VT_WAKEUP_3V32DSP_APR_WAKEUP_3V32DSP_DM0_CLK5DSP_DM0_DATA5DSP_DM1_CLK5DSP_DM1_DATA5Titl eSizeDocument Number RevDate: Sheet of<03_DSP> V3.1C35Thursday, February 14, 2019Titl eSizeDocument Number RevDate: Sheet of<03_DSP> V3.1C35Thursday, February 14, 2019Titl eSizeDocument Number RevDate: Sheet of<03_DSP> V3.1C35Thursday, February 14, 2019R7310K(1%)R4610K(1%)(NC)U4SG5032CAN 24.576000M-TJGA3VDD4OUT3GND2NC/3-ST1R82 10K(1%)(NC)R41 0R(1%)R286 680K(1%)(NC)R56 2.2K(1%)C35 10pF/50V(5%)R8010K(1%)C33 1uF/16V(10%)(NC)C40 1uF/16V(10%)R5210K(1%)(NC)U5DBMD5PVT_VDD_CORE_11VDD_IO2_12VCCA_13VT_MIC_IN4VCCA_25VT_MIC_IP6VCCA_37VT_VDD_CORE_28APR_VDD_CORE_19APR_TDM0_SCLK10APR_TDM0_RXD11APR_VDD_CORE_212APR_TDM0_TXD13APR_TDM0_FSYNC14APR_TDM2_SCLK15APR_TDM2_FSYNC16APR_TDM2_TXD17VDD_IO2_218APR_TDM2_RXD19VDD_IO1_120APR_MASTER_CLK21APR_IIC_SCL22APR_IIC_SDA23APR_TDM3_TXD24APR_TDM3_RXD25APR_TDM3_SCLK26APR_TDM3_FSYNC27APR_TDM1_TXD28VDD_IO1_229APR_TDM1_RXD30APR_VDD_CORE_331APR_TDM1_SCLK32APR_TDM1_FSYNC33APR_JTAG_RTCK34APR_JTAG_TDI35APR_JTAG_TMS36APR_JTAG_TCK37APR_JTAG_TDO38APR_VDD_CORE_439APR_RSTN40APR_UART_RXD41APR_UART_TXD42APR_WAKEUP43VDD_IO1_344APR_DM1_DATA45APR_DM1_CLK46APR_SPI_SDI47APR_SPI_SCK48APR_SPI_SDO49APR_SPI_SCS50APR_VDD_CORE_551APR_AN_REF52VCCA_453APR_MIC_IP54APR_MIC_IN55APR_LDO_OUT56APR_LDO_IN57VT_GPIO20/TDM1_RXD58VT_GPIO9/DM0_DATA59VT_GPIO5/SPI_SDI60VT_GPO4/SPI_SDO61VT_RSTN62NA163NA264NA365VDD_IO2_366VT_VDD_CORE_367VT_GPIO1/II2_SCL068NA469VT_GPIO2/II2_SDA070NA571VT_GPIO18/UART0_RXD72VT_GPIO11/DM1_DATA73VT_GPIO13/TDM0_SCLK74VT_GPO0/TDM1_TXD75VT_GPIO12/DM1_CLK76VT_GPIO14/TDM0_FSYNC77VT_GPIO17/UART0_TXD78VDD_IO2_479VT_GPIO19/TDM1_CLK80VT_GPIO6/SPI_CLK81VT_GPO8/DM0_CLK82VT_VDD_CORE_483VT_GPIO7/SPI_SCS84VT_GPIO10/TDM1_FSYNC85VT_GPIO15/TDM0_RXD86VT_GPIO16/TDM0_TXD87VT_MASTER_CLK88Earth_PAD89C12 10uF/10V(20%)(NC)C27 0.1uF/50V(10%)R57 0R(1%)(NC)R5330.1K(1%)(NC)R72 0R(1%)C255 6.8pF/50V(±0.1pF)(NC)R287 10K(1%)(NC)R42 0R(1%)(NC)U8TC7SPN3125TUVCCA1GND2A13B14OE5VCCB6C44 1uF/16V(10%)R51 1.8K(1%)R37 10K(1%)C26 1uF/16V(10%)R71 68K(1%)C41 1uF/16V(10%)C11 0.1uF/50V(10%)C14 0.1uF/50V(10%)R78 0R(1%)(NC)L2 3A@120ohm,25mohm(NC)R50 2.2K(1%)C300.1uF/50V(10%)C16 0.1uF/50V(10%)U6 RT9043GB@400mA(NC)EN3OUT5VIN1NR/FB4GND2C24 0.1uF/50V(10%)R39 0R(1%)C19 0.1uF/50V(10%)C15 0.1uF/50V(10%)C17 1uF/16V(10%)R38 51R(1%)C256 22uF/10V(20%)(NC)C29 0.1uF/50V(10%)(NC)C45 1uF/16V(10%)R70 0R(1%)R11210K(1%)U10TC7SPN3125TUVCCA1GND2A13B14OE5VCCB6TP61C43 0.1uF/50V(10%)R279 0R(1%)R77 10K(1%)TP101TP91R83 10K(1%)(NC)R40 10R(1%)C370.1uF/50V(10%)(NC)R49 1.8K(1%)C21 0.1uF/50V(10%)C259 0.1uF/50V(10%)(NC)R66 10K(1%)(NC)R114 0R(1%)C23 1uF/16V(10%)C34 15pF/50V(5%)C18 1uF/16V(10%)C28 10uF/10V(20%)(NC)C13 1uF/16V(10%)R44 0R(1%)TP111R43 56K(1%)C22 0.1uF/50V(10%)C42 0.1uF/50V(10%)R4752.3K(1%)(NC)U16 RT9043GB@400mAEN3OUT5VIN1NR/FB4GND2R48 2.2K(1%)C25 0.1uF/50V(10%)R45 68K(1%)TP121C20 1uF/16V(10%)C3810uF/10V(20%)(NC)R81 2.2K(1%)INGNDEN FBLXU20 SY8089AAAC(NC)421 53TP71C46 0.1uF/50V(10%)R1135.1K(1%)C25722uF/10V(20%)(NC)R64 0R(1%)TP131R61 1.8K(1%)R62 1.8K(1%)C3910uF/10V(20%)(NC)R28410K(1%)(NC)Q3L8050QLT1GC47 0.1uF/50V(10%)U9LD39020DTPU11RIN4EN3GND2OUT1TPAD5C2580.1uF/50V(10%)(NC)R59 0R(1%)R68 10K(1%)(NC)R65 0R(1%)R75 10K(1%)(NC)C31 10uF/10V(20%)C3610nF/50V(10%)(NC)R60 2.2K(1%)TP51R63 2.2K(1%)TP81L11 2.2uH(20%)@3A(NC)R58 0R(1%)R74 5.1K(1%)(NC)C8010nF/50V(10%)(NC)C81 0.1uF/50V(10%)R285150K(1%)(NC)R7610K(1%)R69 56K(1%)R67 10K(1%)(NC)C32 10uF/10V(20%)(NC)R55 1.8K(1%)R54 10K(1%)(NC)Espressif / 12 16Submit Documentation Feedback2020.07
Appendix A 5544332211D DC CB BA AES_I2S_DSDIN:IO26ES_I2S_LRCK:IO25ES_I2S_SCLK:IO5ES_I2S_MCLK:IO0 PA_CTRL:IO22PA:Speaker:Power Supply for Codec: Codec:Phone Jack:Notes:1.Vout=1.20*(1+R1/R2)=3.296V; R1=52.3K,R2=30.1K are recommended for better performance.R1R2DVDD discharge resistancePlease place these compenonts near IC pinson the same layer,NO VIAS!Defualt I2C slave address: 0010 0000=0x20Notes1.When EarPhone NO plug in,EarPhone_Detect keep low,thus Q13 off,and then B=H,AND_PA_CTRL will follow the status of PA_CTRL ;2.When EarPhone plug in,EarPhone_Detect swith to high,thus Q13 ON,and then B=L,AND_PA_CTRL will keep low ;PA_CTRLPA_CTRLAND_PA_CTRLAND_PA_CTRLPA_INL+PA_INL-PA_OUTL+PA_OUTL-PA_PVDD1ES_I2S_DSDINES_I2S_LRCKES_I2S_SCLKES_I2S_MCLKES_I2S_DSDINIO18_I2C_SDAIO23_I2C_SCLES8388_CER_ES8388_SDAR_ES8388_SCLES8388_ADCVREFES8388_VMIDES8388_VREFC_ROUT1C_LOUT1ROUT1LOUT1DAC_AOUTLNROUT2C_LOUT2C_ROUT2ES_I2S_MCLKES_I2S_SCLKES_I2S_LRCKES8388_CEIO18_I2C_SDAIO23_I2C_SCLEarPhone_DetectEarPhone_DetectLOUT1ROUT1DAC_AOUTLPPA_INL- DAC_AOUTLNPA_INL+ DAC_AOUTLP PA_OUTL+PA_OUTL-AGNDAGNDCodec_VCC33AGNDAGNDAGNDAGNDAGNDGNDVBUSAGNDCodec_VCC33AGNDVBUSAGND AGNDAGNDCodec_VCC33AGNDCodec_VCC33AGNDAGNDCodec_VCC33AGNDAGNDCodec_VCC33 Codec_VCC33AGNDAGNDAGNDAGNDAGNDAGNDCodec_VCC33AGNDAGNDAGNDAGNDAGNDCodec_VCC33AGNDAGNDAGNDAGNDES_I2S_MCLK2ES_I2S_SCLK2ES_I2S_LRCK2ES_I2S_DSDIN2PA_CTRL2IO18_I2C_SDA2,5IO23_I2C_SCL2,5Titl eSizeDocument Number RevDate: Sheet of<04_Codec&PA> V3.1C45Friday, March 15, 2019Titl eSizeDocument Number RevDate: Sheet of<04_Codec&PA> V3.1C45Friday, March 15, 2019Titl eSizeDocument Number RevDate: Sheet of<04_Codec&PA> V3.1C45Friday, March 15, 2019L3 3A@120ohm,25mohmR121 100R(1%)R97 100K(1%)C9510uF/10V(20%)J2A2001WR-S-2PTP141R9010K(1%)(NC)C91 22uF/10V(20%)C2460.1uF/50V(10%)U14SN74LVC1G08DBVRA1B2GND3VCC5Y4C24910uF/10V(20%)C243 22pF/50V(5%)R98 100K(1%)C890.1uF/50V(10%)C5210nF/50V(10%)(NC)C24510uF/10V(20%)C219 22uF/10V(20%)C8622pF/50V(5%)R127 33R(1%)C7233pF/50V(5%)R9130K(1%)L7 0R(1%)C671uF/16V(10%)R8952.3K(1%)C69 0.1uF/50V(10%)C930.1uF/50V(10%)C242 22pF/50V(5%)C231 0.1uF/50V(10%)(NC)C920.1uF/50V(10%)U11 RT9043GB@400mAEN3OUT5VIN1NR/FB4GND2PJ-393-AJ11122334455667788R120 100R(1%)R9610K(1%)C71 0.1uF/50V(10%)C74330pF/50V(10%)(NC)C530.1uF/50V(10%)C7033pF/50V(5%)C68 0.1uF/50V(10%)R122 2K(1%)(NC)C229 0.1uF/50V(10%)(NC)C75330pF/50V(10%)(NC)R101 0R(1%)C232 0.1uF/50V(10%)(NC)R21810K(1%)R99 30K(1%)R126 33R(1%)+C6610uF/16V(20%)Q13LBSS138LT1GC24710uF/10V(20%)R8810K(1%)R128 4.7R(1%)C90 22uF/10V(20%)C6510uF/25V(20%)(NC)C2480.1uF/50V(10%)C641uF/16V(10%)R123 2K(1%)(NC)L53A@120ohm,25mohmR21710K(1%)(NC)C880.1uF/50V(10%)C2440.1uF/50V(10%)R237 33R(1%)C241 22pF/50V(5%)C218 22uF/10V(20%)R1243.3K(1%)(NC)U18ES8388PVDD3DVDD2DGND4PGND29CCLK28CDATA27CE26MCLK1SCLK5LRCK7DSDIN6ASDOUT8LIN124RIN123LIN222RIN221HPVDD16AVDD17AGND18HPGND13LOUT112ROUT111LOUT215ROUT214VMID20ADCVREF19VREF10NC19NC225R238 33R(1%)C9410uF/10V(20%)R125 100R(1%)U13 NS4150CTRL1Bypass2IN+3IN-4OUT-5VCC6GND7OUT+8R100 30K(1%)C73330pF/50V(10%)(NC)C5710uF/10V(20%)C5410uF/10V(20%)C230 0.1uF/50V(10%)(NC)C8722pF/50V(5%)L6 0R(1%)Espressif / 13 16Submit Documentation Feedback2020.07
Appendix A 5544332211D DC CB BA AUSB: Power & CommunicationReserved for Auto-prog: Auto programDTR RTS-->EN IO0 IO2 1 1 1 1 1 0 0 1 1 1 1 0 0 1 1 0 1 1 0 0USB <-> UART:FPC Connector/Reserved:FPC 0.5MM 16PinsTo ESP32 RXD0To ESP32 TXD0Power For LED:Notes:1.Vout=1.20*(1+R1/R2)=3.296V; R1=52.3K,R2=30.1K are recommended for better performance.2.Defalut VBUS power for LED , thus save one LDO .R1R2MINI DIN Connector:System LED:Function Keys:2.42V1.11VSystem LED = H LED light ON;System LED = L LED light OFF;USB_DPUSB_DNRST#ACTIVERTSDTRRXD0TXD0DTRRTSEN_AutoIO0_AutoIO2_AutoIO2_AutoIO0_AutoEN_AutoBoot_IO0Boot_ENBoot_IO2D-USB_DND+USB_DPAUX_USB_POWERRXD0TXD0Boot_IO0Boot_ENBoot_IO2IO18_I2C_SDAIO23_I2C_SCLButton_Array_ADCDSP_DM0_DATADSP_DM0_CLKDSP_DM1_DATADSP_DM1_CLKIO18_I2C_SDAIO23_I2C_SCLButton_Array_ADCDSP_DM0_CLKDSP_DM0_DATADSP_DM1_CLKDSP_DM1_DATASystem_LEDSystem_LEDButton_Array_ADCDSP_DM0_CLKDSP_DM0_DATADSP_DM1_DATADSP_DM1_CLKCNN_LEDGNDGNDVDD33GNDGNDGNDGNDVBUS0VDD33GNDGNDVBUSGND GNDVBUSGND GNDGND GNDGNDGND GNDVBUS LED_VCCGNDGNDDSP_VDD_IO2_1V8GNDGNDLED_VCCGNDVBUS0GND GNDVDD33GND GNDDSP_GNDDSP_GNDDSP_VDD_IO2_1V8IO18_I2C_SDA2,4RXD02TXD02Boot_EN2Boot_IO02Boot_IO22IO23_I2C_SCL2,4Button_Array_ADC2DSP_DM0_DATA3DSP_DM0_CLK3DSP_DM1_DATA3DSP_DM1_CLK3System_LED2Titl eSizeDocument Number RevDate: Sheet of<05_Powers&UART> V3.1C55Thursday, February 14, 2019Titl eSizeDocument Number RevDate: Sheet of<05_Powers&UART> V3.1C55Thursday, February 14, 2019Titl eSizeDocument Number RevDate: Sheet of<05_Powers&UART> V3.1C55Thursday, February 14, 2019R107 10K(1%)(NC)D11N5819HW-7-F(NC)C8410uF/10V(20%)(NC)D51N5819HW-7-FD3LESD5D5.0CT1GC7622uF/10V(20%)C8210uF/10V(20%)(NC)D6LESD5D5.0CT1GD4LESD5D5.0CT1GR105 22.1K(1%)C8510nF/50V(10%)(NC)D2LESD5D5.0CT1GSW5K2-1109SP-B4SA-0111223344213564J6MD2-60ST1133552244667788R10647.5K(1%)R11710K(1%)(NC)SW6K2-1109SP-B4SA-0111223344C7810uF/10V(20%)(NC)R104 10K(1%)(NC)R2731K(1%)C791uF/16V(10%)Q6L8050QLT1G(NC)R11810K(1%)(NC)R11530.1K(1%)(NC)R108 0R(1%)Q11LBSS138LT1GJ5AFC01-S16FCC-00443322111717181855667788991010111112121313141415151616Q4L8050QLT1GR109 0R(1%)J3Micro USB 5P FemaleVBUS1D-2D+3GND5NC4GND6GND7GND8GND9R27410K(1%)J4Micro USB 5P FemaleVBUS1D-2D+3GND5NC4GND6GND7GND8GND9U15 CP2102N-A01-GQFN28DCD1RI2GND3D+4D-5VDD6REGIN7VBUS8RST9NC110SUSPEND11SUSPEND12NC213NC314NC415NC516NC617NC718NC819NC920NC1021NC1122CTS23RTS24RXD25TXD26DSR27DTR28PGND29C830.1uF/50V(10%)(NC)R102 10K(1%)R27730K(1%)R111 0R(1%)R254 5.1K(1%)L8 3A@120ohm,25mohmQ5L8050QLT1GU17 RT9043GB@400mA(NC)EN3OUT5VIN1NR/FB4GND2D39GREEN LEDR110 1K(1%)R103 10K(1%)R11652.3K(1%)(NC)C771uF/16V(10%)R119 0R(1%)R2785.1K(1%)Espressif / 14 16Submit Documentation Feedback2020.07
Appendix AA.2. Sub Board (B) 5544332211D DC CB BA AAD=0: I2C slave address:0'b 0111 100x;2.42VVOL+1.8V1.2V 0.6VMuteVOL- ActionLED Driver:DMIC Array:KEY Array:Notes1. Defaultwe use VCC(power coming from USB or Battery) to power LED Driver and LEDs ,thus we can saved one Power Regulator .2. I2C of LED Driver is pull-up on the main-board by VDD3V3 .3. Attention , DMIC_CLK/DAT is derived from DSP , and it is 1.8V . 4. Pull-up resistor for Button_Array_ADC is populated on main-board .Location Holes:FPC 0.5MM 16PinsDMIC0_DATDMIC0_CLKDMIC0_DATDMIC0_CLKDMIC1_CLKDMIC1_DATButton_Array_ADCIO18_I2C_SDAIO23_I2C_SCLDMIC0_DATDMIC0_CLKDMIC1_DATDMIC1_CLKButton_Array_ADCIO18_I2C_SDAIO23_I2C_SCLLED_SCLLED_SDALED_VCCGNDDMIC_VCCDMIC_VCC GNDGNDGNDDMIC_VCCDMIC_VCC GNDGNDGNDDMIC_VCCDMIC_VCC GNDGNDGNDGND GND GND GNDGNDGNDGNDGNDLED_VCCGNDDMIC_VCCGNDGNDGNDLED_VCCGND GND GNDGNDLED_VCCTitleSizeDocument Number RevDate: Sheet of<02_DMIC_LED_KEY> V1.1<>C22Thursday, March 07, 2019TitleSizeDocument Number RevDate: Sheet of<02_DMIC_LED_KEY> V1.1<>C22Thursday, March 07, 2019TitleSizeDocument Number RevDate: Sheet of<02_DMIC_LED_KEY> V1.1<>C22Thursday, March 07, 2019R11 5.1K(1%)R28 5.1K(1%)R7 5.1K(1%)R52 0R(1%)R22 5.1K(1%)R8 10K(1%)R19 5.1K(1%)R14 5.1K(1%)R57 5.1K(1%)C5 22pF/50V(5%)R30 5.1K(1%)D919-237ABHR6GHC-A012TG2R1B4CV3R46 10K(1%)D119-237ABHR6GHC-A012TG2R1B4CV3C90.1uF/50V(10%)R43 10K(1%)D819-237ABHR6GHC-A012TG2R1B4CV3R32 5.1K(1%)R5 5.1K(1%)U4NSM0418DTDATA1CLK24VDD3SELECTGND15GND26GND37GND48R45 10K(1%)(NC)C6 22pF/50V(5%)D1019-237ABHR6GHC-A012TG2R1B4CV3R27 5.1K(1%)R56 5.1K(1%)STD1M3-L5-3.5R4727.5K(1%)D219-237ABHR6GHC-A012TG2R1B4CV3C1 10uF/10V(20%)C40.1uF/50V(10%)R42 0R(1%)R25 5.1K(1%)D419-237ABHR6GHC-A012TG2R1B4CV3R37 5.1K(1%)C3 0.1uF/50V(10%)U2NSM0418DTDATA1CLK24VDD3SELECTGND15GND26GND37GND48D619-237ABHR6GHC-A012TG2R1B4CV3D319-237ABHR6GHC-A012TG2R1B4CV3SW4K2-1109SP-B4SA-0111223344SW3K2-1109SP-B4SA-0111223344J1AFC01-S16FCC-00443322111717181855667788991010111112121313141415151616SW2K2-1109SP-B4SA-0111223344R502.2K(1%)STD3M3-L5-3.5R153.3K(1%)R51 0R(1%)C80.1uF/50V(10%)R4 5.1K(1%)R38 5.1K(1%)R1610K(1%)R26 5.1K(1%)R6 5.1K(1%)R21 5.1K(1%)R18 5.1K(1%)U3NSM0418DTDATA1CLK24VDD3SELECTGND15GND26GND37GND48R13 5.1K(1%)R9 5.1K(1%)R10 0R(1%)R31 5.1K(1%)SW1K2-1109SP-B4SA-0111223344R41 0R(1%)R35 5.1K(1%)C70.1uF/50V(10%)R44 10K(1%)(NC)R40 0R(1%)U1IS31FL3236AOUT31OUT42OUT53OUT64OUT75OUT86OUT97OUT108OUT119OUT1210OUT1311OUT1412OUT1513OUT1614OUT1715OUT1816GND117OUT1918OUT2019OUT2120OUT2221OUT2322OUT2423OUT2524OUT2625OUT2726OUT2827OUT2928OUT3029OUT3130OUT3231OUT3332OUT3433OUT3534OUT3635OUT143OUT244SCL42SDA41R_EXT40GND239VCC38AD37SDB36PGND45R34 5.1K(1%)D1219-237ABHR6GHC-A012TG2R1B4CV3R495.76K(1%)STD2M3-L5-3.5R24 5.1K(1%)R55 5.1K(1%)R36 5.1K(1%)R33 5.1K(1%)D519-237ABHR6GHC-A012TG2R1B4CV3C21uF/16V(10%)R54 10K(1%)(NC)D1119-237ABHR6GHC-A012TG2R1B4CV3R39 0R(1%)R53 10K(1%)R4812K(1%)D719-237ABHR6GHC-A012TG2R1B4CV3R29 5.1K(1%)R2 5.1K(1%)R23 5.1K(1%)R20 5.1K(1%)STD4M3-L5-3.5R17 5.1K(1%)R1 5.1K(1%)R12 5.1K(1%)R3 0R(1%)Espressif / 15 16Submit Documentation Feedback2020.07
Disclaimer and Copyright Notice Information in this document, including URL references, is subject to change without notice. THIS DOCUMENT IS PROVIDED AS IS WITH NO WARRANTIES WHATSOEVER, INCLUDING ANY WARRANTY OF MERCHANTABILITY, NON-INFRINGEMENT, FITNESS FOR ANY PARTICULAR PURPOSE, OR ANY WARRANTY OTHERWISE ARISING OUT OF ANY PROPOSAL, SPECIFICATION OR SAMPLE. All liability, including liability for infringement of any proprietary rights, relating to use of information in this document is disclaimed. No licenses express or implied, by estoppel or otherwise, to any intellectual property rights are granted herein. The Wi-Fi Alliance Member logo is a trademark of the Wi-Fi Alliance. The Bluetooth logo is a registered trademark of Bluetooth SIG. All trade names, trademarks and registered trademarks mentioned in this document are property of their respective owners, and are hereby acknowledged. Copyright © 2020 Espressif Inc. All rights reserved.Espressif IoT Team"www.espressif.com