19
www.espressif.com ESP32-LyraTD-DSPG User Guide Version 1.1 Espressif Systems Copyright © 2020

ESP32-LyraTD-DSPG User Guide en - Espressif · 2019-07-19 · 1. Overview 1. Overview ESP32-LyraTD-DSPG is one of Espressif’s Audio Development Board based on ESP32 MCU and DBMD5P

  • Upload
    others

  • View
    11

  • Download
    1

Embed Size (px)

Citation preview

Page 1: ESP32-LyraTD-DSPG User Guide en - Espressif · 2019-07-19 · 1. Overview 1. Overview ESP32-LyraTD-DSPG is one of Espressif’s Audio Development Board based on ESP32 MCU and DBMD5P

www.espressif.com

ESP32-LyraTD-DSPG User Guide

Version 1.1 Espressif Systems Copyright © 2020

Page 2: ESP32-LyraTD-DSPG User Guide en - Espressif · 2019-07-19 · 1. Overview 1. Overview ESP32-LyraTD-DSPG is one of Espressif’s Audio Development Board based on ESP32 MCU and DBMD5P

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.

Date Version Release notes

2019.06 V1.0 Initial release.

2020.07 V1.1

• Updated E8388 to ES8388;

• Corrected typos of some subtitles in Section 1.1.

• Add Submit Documentation Feedback link

Espressif Submit Documentation Feedback 2020.07

Page 3: ESP32-LyraTD-DSPG User Guide en - Espressif · 2019-07-19 · 1. Overview 1. Overview ESP32-LyraTD-DSPG is one of Espressif’s Audio Development Board based on ESP32 MCU and DBMD5P

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...........................................................................................................................

Espressif Submit Documentation Feedback 2020.07

Page 4: ESP32-LyraTD-DSPG User Guide en - Espressif · 2019-07-19 · 1. Overview 1. Overview ESP32-LyraTD-DSPG is one of Espressif’s Audio Development Board based on ESP32 MCU and DBMD5P

1. Overview

1. 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 Feedback

2020.07

Page 5: ESP32-LyraTD-DSPG User Guide en - Espressif · 2019-07-19 · 1. Overview 1. Overview ESP32-LyraTD-DSPG is one of Espressif’s Audio Development Board based on ESP32 MCU and DBMD5P

1. Overview

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.

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 Feedback

2020.07

Page 6: ESP32-LyraTD-DSPG User Guide en - Espressif · 2019-07-19 · 1. Overview 1. Overview ESP32-LyraTD-DSPG is one of Espressif’s Audio Development Board based on ESP32 MCU and DBMD5P

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 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 [email protected] or your DSPG sales representative for obtaining a Amazon certified wake-word engine.

Espressif /16 3Submit Documentation Feedback

2020.07

Page 7: ESP32-LyraTD-DSPG User Guide en - Espressif · 2019-07-19 · 1. Overview 1. Overview ESP32-LyraTD-DSPG is one of Espressif’s Audio Development Board based on ESP32 MCU and DBMD5P

2. Configuring for AVS

2.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 Feedback

2020.07

Page 8: ESP32-LyraTD-DSPG User Guide en - Espressif · 2019-07-19 · 1. Overview 1. Overview ESP32-LyraTD-DSPG is one of Espressif’s Audio Development Board based on ESP32 MCU and DBMD5P

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 Files Address Function

bootloader.bin 0x1000 basic configuration

partitions.bin 0x8000 basic configuration

alexa.bin 0x10000 audio application

Espressif /16 5Submit Documentation Feedback

2020.07

Page 9: ESP32-LyraTD-DSPG User Guide en - Espressif · 2019-07-19 · 1. Overview 1. Overview ESP32-LyraTD-DSPG is one of Espressif’s Audio Development Board based on ESP32 MCU and DBMD5P

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 Feedback

2020.07

Page 10: ESP32-LyraTD-DSPG User Guide en - Espressif · 2019-07-19 · 1. Overview 1. Overview ESP32-LyraTD-DSPG is one of Espressif’s Audio Development Board based on ESP32 MCU and DBMD5P

2. Configuring for AVS

2.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 Feedback

2020.07

Page 11: ESP32-LyraTD-DSPG User Guide en - Espressif · 2019-07-19 · 1. Overview 1. Overview ESP32-LyraTD-DSPG is one of Espressif’s Audio Development Board based on ESP32 MCU and DBMD5P

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 Feedback

2020.07

Page 12: ESP32-LyraTD-DSPG User Guide en - Espressif · 2019-07-19 · 1. Overview 1. Overview ESP32-LyraTD-DSPG is one of Espressif’s Audio Development Board based on ESP32 MCU and DBMD5P

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 Feedback

2020.07

Page 13: ESP32-LyraTD-DSPG User Guide en - Espressif · 2019-07-19 · 1. Overview 1. Overview ESP32-LyraTD-DSPG is one of Espressif’s Audio Development Board based on ESP32 MCU and DBMD5P

2. Configuring for AVS

2.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 Feedback

2020.07

Page 14: ESP32-LyraTD-DSPG User Guide en - Espressif · 2019-07-19 · 1. Overview 1. Overview ESP32-LyraTD-DSPG is one of Espressif’s Audio Development Board based on ESP32 MCU and DBMD5P

Appendix A

A. Appendix - Schematics A.1. Main Board (A)

5 5

4 4

3 3

2 2

1 1

DD

CC

BB

AA

Power Supply for ESP32:

3.3V/800mA

BLM18SG121TN1D

ESP32 Module: 1

.For Button_Array_ADC;

2.Cap should close to Module.

Buttons:

Power On LED

VISHAY:IFSC1515AHER2R2M01

Note:

1.Vout = 0.6*(1+R1/R2);

EN

GP

I34

GP

I35

GP

IO32

GP

IO33

GP

IO25

GP

IO26

GP

IO27

GP

IO14

ES

P_3V

3

GP

IO13

DG

ND

GP

IO22

TX

D0

RX

D0

GP

IO21

GP

IO19

GP

IO18

GP

IO4

GP

IO0

GP

IO5

GP

IO23

Module

_N

C

GP

IO15

GP

IO2

DG

ND

B_S

HD

/SD

2B

_S

WP

/SD

3B

_S

CS

/CM

DB

_S

CK

/CLK

B_S

DO

/SD

0B

_S

DI/S

D1

GP

IO17_N

CG

PIO

16_N

C

DG

ND

GP

IO12S

EN

SO

R_V

PG

PI3

6S

EN

SO

R_V

NG

PI3

9

RX

D0

TX

D0

Boot_

EN

Boot_

IO0

Boot_

IO2

ES

_I2

S_M

CLK

ES

_I2

S_S

CLK

ES

_I2

S_LR

CK

ES

_I2

S_D

SD

INP

A_C

TR

L

GP

IO0_D

SP

_M

AS

TE

R_C

LK

DB

MD

_IN

T_3V

3

DS

P_A

PR

_S

PI_

CS

DS

P_A

PR

_S

PI_

CLK

DS

P_A

PR

_S

PI_

MO

SI

DS

P_A

PR

_S

PI_

MIS

O

DS

P_A

PR

_I2

S_B

CLK

_3V

3D

SP

_A

PR

_I2

S_LR

CK

_3V

3

DS

P_V

T_I2

S_D

I_3V

3

DS

P_V

T_R

ST

N_3V

3D

SP

_A

PR

_R

ST

N_3V

3

DS

P_V

T_S

PI_

SC

S_3V

3

DS

P_A

PR

_I2

S_D

O_3V

3

DS

P_V

T_W

AK

EU

P_3V

3D

SP

_A

PR

_W

AK

EU

P_3V

3

DS

P_V

T_I2

S_LevS

hift

_E

N_L

IO23_I2

C_S

CL

IO18_I2

C_S

DA

Button_A

rray_

AD

C

GPIO2

DGNDGPIO13A_SHD/SD2A_SWP/SD3A_SCS/CMDA_SCK/CLKA_SDO/SD0A_SDI/SD1GPIO15

GP

IO26

GP

IO27

GP

I34

GP

IO12

DG

ND

GP

IO25S

EN

SO

R_V

PG

PI3

6S

EN

SO

R_V

NG

PI3

9

GP

I35

GP

IO32

GP

IO33

GP

IO14

GP

IO23

GP

IO22

TX

D0

RX

D0

GP

IO21

Module

_N

CG

PIO

19

GP

IO18

GP

IO5

GP

IO17_N

CG

PIO

16_N

CG

PIO

4G

PIO

0

DG

ND

EN

ES

P_3V

3

DB

MD

_IN

T_3V

3G

PI3

6B

utton_A

rray_

AD

CG

PI3

9

GP

I39

GP

I36

GP

IO22

GP

I35

GP

I35

DS

P_V

T_I2

S_D

I_3V

3

GP

IO0_D

SP

_M

AS

TE

R_C

LK

ES

_I2

S_M

CLK

Boot_

IO0

GP

IO0

DS

P_A

PR

_I2

S_B

CLK

_3V

3E

S_I2

S_S

CLK

DS

P_A

PR

_I2

S_LR

CK

_3V

3E

S_I2

S_LR

CK

DS

P_A

PR

_I2

S_D

O_3V

3E

S_I2

S_D

SD

IN

GP

IO5

GP

IO25

GP

IO26

GP

IO32

GP

IO33

GP

IO13

GP

IO19

GP

IO27

GP

IO18

DS

P_A

PR

_S

PI_

CS

DS

P_A

PR

_S

PI_

CLK

DS

P_A

PR

_S

PI_

MO

SI

DS

P_A

PR

_S

PI_

MIS

O

DS

P_V

T_S

PI_

SC

S_3V

3

DS

P_V

T_R

ST

N_3V

3D

SP

_A

PR

_R

ST

N_3V

3G

PIO

4G

PIO

21

GP

IO22

PA

_C

TR

L

GP

IO2

Boot_

IO2

DS

P_A

PR

_W

AK

EU

P_3V

3

GP

IO23

IO18_I2

C_S

DA

IO23_I2

C_S

CL

GP

IO14

GP

IO15

DS

P_V

T_W

AK

EU

P_3V

3D

SP

_V

T_I2

S_LevS

hift

_E

N_L

RX

D0

RX

D0

TX

D0

TX

D0

Boot_

EN

EN

GP

IO12

GP

IO13

GP

IO14

GP

IO15

GP

I34

GP

IO12

GP

IO18

GP

IO23

Sys

tem

_LE

D

Boot_

IO0

Boot_

IO2

Boot_

EN

Sys

tem

_LE

D

VDD33_EN

DG

ND

VD

D33

DG

ND

DG

ND

GN

D

DG

ND

VD

D33

DG

ND

DG

ND

VB

US

DG

ND

DG

ND

ES

P_3V

3

DG

ND

ES

P_3V

3

DG

ND

VD

D33

GN

D

GN

D

GN

D

GN

DG

ND

GN

D

DG

ND

DG

ND

DG

ND

DG

ND

VD

D33

DG

ND

VD

D33_IN

VD

D33_IN

TX

D0

5B

oot_

EN

5B

oot_

IO0

5B

oot_

IO2

5

PA

_C

TR

L4

GP

IO0_D

SP

_M

AS

TE

R_C

LK

3

DS

P_V

T_R

ST

N_3V

33

DS

P_A

PR

_R

ST

N_3V

33

DB

MD

_IN

T_3V

33

DS

P_A

PR

_S

PI_

CS

3D

SP

_V

T_S

PI_

SC

S_3V

33

DS

P_A

PR

_S

PI_

CLK

3D

SP

_A

PR

_S

PI_

MO

SI

3D

SP

_A

PR

_S

PI_

MIS

O3

DS

P_A

PR

_I2

S_B

CLK

_3V

33

DS

P_A

PR

_I2

S_LR

CK

_3V

33

DS

P_A

PR

_I2

S_D

O_3V

33

DS

P_V

T_I2

S_D

I_3V

33

DS

P_V

T_W

AK

EU

P_3V

33

DS

P_A

PR

_W

AK

EU

P_3V

33

ES

_I2

S_D

SD

IN4

ES

_I2

S_LR

CK

4E

S_I2

S_S

CLK

4E

S_I2

S_M

CLK

4

DS

P_V

T_I2

S_LevS

hift

_E

N_L

3

RX

D0

5

Button_A

rray_

AD

C5

IO23_I2

C_S

CL

4,5

IO18_I2

C_S

DA

4,5

Sys

tem

_LE

D5

Titl

e

Siz

eD

ocu

ment

Num

ber

Re

v

Da

te:

Sh

ee

to

f

<02_E

SP

32_M

CU

>V

3.1

<E

SP

32-L

yraT

D-D

SP

G_A

>

C

25

Thurs

day,

Febru

ary

14, 2019

Titl

e

Siz

eD

ocu

ment

Num

ber

Re

v

Da

te:

Sh

ee

to

f

<02_E

SP

32_M

CU

>V

3.1

<E

SP

32-L

yraT

D-D

SP

G_A

>

C

25

Thurs

day,

Febru

ary

14, 2019

Titl

e

Siz

eD

ocu

ment

Num

ber

Re

v

Da

te:

Sh

ee

to

f

<02_E

SP

32_M

CU

>V

3.1

<E

SP

32-L

yraT

D-D

SP

G_A

>

C

25

Thurs

day,

Febru

ary

14, 2019

R11

0R

(1%

)

R18

0R

(1%

)

R3 10K(1%)

R21

0R

(1%

)

R7

10K

(1%

)

C5 0.1uF/50V(10%)

R32

0R

(1%

)

R2 10K(1%)

R9

0R

(1%

)

C7

10uF/10V(20%)(NC)

C3 1uF/16V(10%)

R8

0R

(1%

)

IN

GND

EN

FB

LX

U19

SY

8089A

AA

C

4

2

153

R36

0R

(1%

)

TP

11

R4 10K(1%)(NC)

R242

0R

(1%

)

L10

2.2

uH

(20%

)@Is

at=

3A

R12

0R

(1%

)

R22

0R

(1%

)

R33

0R

(1%

)

R239 10K(1%)

R281 150K(1%)

R24

1K

(1%

)

C253

0.1uF/50V(10%)T

P2

1

R25

0R

(1%

)

C6

0.1

uF

/50V

(10%

)

R23

0R

(1%

)

R31

1K

(1%

)

R6 10K(1%)(NC)

R13

0R

(1%

)

TP

31

C9

0.1uF/50V(10%)(NC)

R282 680K(1%)

Q1

LB

SS

138LT

1G

R240 10K(1%)

R19

0R

(1%

)

R26

0R

(1%

)

TP

41

R5 10K(1%)(NC)

R14

51R

(1%

)

U3

AP

7361C

-33-E

R-7

/13(N

C)

GND1

VO

UT

2V

IN3

Ta

b4

C250 6.8pF/50V(±0.1pF)

R283 10K(1%)

C1 100uF/6.3V(20%)

R241

5.1

K(1

%)

R27

0R

(1%

)

Q2

LB

SS

138LT

1G

C8

0.1uF/50V(10%)(NC)

D12

RE

D L

ED

C251 22uF/10V(20%)

R29

0R

(1%

)(N

C)

L1

3A

@120ohm

,25m

ohm

R15

0R

(1%

)

C4

0.1

uF

/50V

(10%

)

U1

ES

P32-W

RO

OM

-32(N

C)

GN

D1

1

3V

32

EN

3

SE

NS

OR

_V

P4

SE

NS

OR

_V

N5

IO3

46

IO3

57

IO3

28

IO3

39

IO2

51

0

IO2

61

1

IO2

71

2

IO1

41

3

IO1

21

4

GN

D3

38

IO2

33

7

IO2

23

6

TX

D0

35

RX

D0

34

IO2

13

3

NC

32

IO1

93

1

IO1

83

0

IO5

29

IO1

72

8

IO1

62

7

IO4

26

IO0

25

GND215

IO1316

SD217

SD318

CMD19

CLK20

SD021

SD122

IO1523

IO224P

_G

ND

39

SW

7

K2-1

109S

P-B

4S

A-0

1

11

22

33

44

C10 10uF/10V(20%)(NC)

R16

0R

(1%

)

C254 0.1uF/50V(10%)

R30

0R

(1%

)

R34

0R

(1%

)

SW

8

K2-1

109S

P-B

4S

A-0

1

11

22

33

44

C2 0.1uF/50V(10%)

U2

ES

P32-W

RO

VE

R-B

/M321X

0228R

BB

GN

D1

1

3V

32

EN

3

SE

NS

OR

_V

P4

SE

NS

OR

_V

N5

IO3

46

IO3

57

IO3

28

IO3

39

IO2

51

0

IO2

61

1

IO2

71

2

IO1

41

3

IO1

21

4

GN

D2

15

IO1

31

6

SD

21

7

SD

31

8

CM

D1

9C

LK

20

SD

02

1S

D1

22

IO1

52

3IO

22

4IO

02

5IO

42

6N

C1

27

NC

22

8IO

52

9IO

18

30

IO1

93

1N

C3

2IO

21

33

RX

D0

34

TX

D0

35

IO2

23

6IO

23

37

GN

D3

38

P_

GN

D3

9

R35

0R

(1%

)

R10

0R

(1%

)(N

C)

R20

0R

(1%

)

R17

51R

(1%

)

R28

10K

(1%

)

R1

0R

(1%

)

R280 10K(1%)

C252

22uF/10V(20%)

Espressif / 11 16Submit Documentation Feedback

2020.07

Page 15: ESP32-LyraTD-DSPG User Guide en - Espressif · 2019-07-19 · 1. Overview 1. Overview ESP32-LyraTD-DSPG is one of Espressif’s Audio Development Board based on ESP32 MCU and DBMD5P

Appendix A

5 5

4 4

3 3

2 2

1 1

DD

CC

BB

AA

I2S:

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.

R1

R2

Crystal:

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.

R1

R2

Notes:

1.Vout=1.20*(1+R1/R2)=1.81V;

VISHAY:IFSC1515AHER2R2M01

Note:

1.Vout = 0.6*(1+R1/R2);

DS

P_D

M1_D

AT

AD

SP

_D

M1_C

LK

MA

ST

ER

_S

TR

AP

DS

P_A

PR

_S

PI_

MO

SI

DS

P_A

PR

_S

PI_

MIS

OD

SP

_A

PR

_S

PI_

CLK

DS

P_A

PR

_S

PI_

CS

DS

P_A

PR

_W

AK

EU

P_3V

3D

SP

_A

PR

_U

AR

T_T

XD

DS

P_A

PR

_U

AR

T_R

XD

DS

P_V

T_W

AK

EU

P_1V

8

DS

P_V

T_U

AR

T_T

X

DB

MD

_IN

T_1V

8

DS

P_V

T_M

AS

TE

R_C

LK

_1V

8

DS

P_A

PR

_M

AS

TE

R_C

LK

GP

IO0_D

SP

_M

AS

TE

R_C

LK

GP

IO0_D

SP

_M

AS

TE

R_C

LK

CR

YS

TA

L_D

SP

_M

AS

TE

R_C

LK

DS

P_V

T_R

ST

N_1V

8D

SP

_V

T_R

ST

N_3V

3

DS

P_V

T_R

ST

N_3V

3

DS

P_A

PR

_R

ST

N_3V

3

DS

P_A

PR

_R

ST

N_3V

3

DS

P_V

T_S

PI_

SD

O_1V

8

DS

P_V

T_S

PI_

CLK

_1V

8

DS

P_V

T_S

PI_

SD

I_1V

8

DS

P_A

PR

_S

PI_

CLK

DS

P_A

PR

_S

PI_

MO

SI

DS

P_V

T_S

PI_

SC

S_1V

8D

SP

_V

T_S

PI_

SC

S_3V

3

DS

P_A

PR

_S

PI_

CS

DS

P_V

T_S

PI_

SC

S_3V

3D

SP

_A

PR

_S

PI_

CLK

DS

P_A

PR

_S

PI_

MO

SI

DS

P_A

PR

_S

PI_

MIS

O

DS

P_A

PR

_S

PI_

MIS

OD

SP

_V

T_S

PI_

SD

O_1V

8

DS

P_V

T_W

AK

EU

P_3V

3

DB

MD

_IN

T_1V

8

DS

P_A

PR

_I2

S_D

O_3V

3D

SP

_A

PR

_I2

S_LR

CK

_3V

3D

SP

_A

PR

_I2

S_B

CLK

_3V

3

DS

P_V

T_I2

S_B

CLK

_1V

8D

SP

_V

T_I2

S_LR

CK

_1V

8

DS

P_V

T_I2

S_D

I_3V

3D

SP

_V

T_I2

S_D

I_1V

8

DS

P_A

PR

_I2

S_B

CLK

_3V

3

DS

P_V

T_I2

S_D

I_1V

8

DS

P_A

PR

_I2

S_LR

CK

_3V

3

DS

P_A

PR

_I2

S_B

CLK

_3V

3D

SP

_A

PR

_I2

S_LR

CK

_3V

3D

SP

_A

PR

_I2

S_D

O_3V

3

DS

P_V

T_I2

S_D

I_3V

3

DB

MD

_IN

T_3V

3

DS

P_V

T_S

PI_

SC

S_1V

8

DS

P_V

T_I2

S_LevS

hift

_E

N_L

DS

P_V

T_I2

S_LevS

hift

_E

N_L

DS

P_V

T_W

AK

EU

P_3V

3D

SP

_A

PR

_W

AK

EU

P_3V

3

DS

P_V

T_I2

S_D

I_3V

3

AP

R_LD

O_IN

CR

YS

TA

L_D

SP

_M

AS

TE

R_C

LK

DB

MD

_IN

T_3V

3

DS

P_D

M0_D

AT

AD

SP

_D

M0_C

LK

DS

P_D

M1_D

AT

AD

SP

_D

M1_C

LK

DS

P_D

M0_D

AT

AD

SP

_D

M0_C

LK

AP

R_LD

O_IN

CR

YS

TA

L_D

SP

_M

AS

TE

R_C

LK

DSP_VDD33_EN

DS

P_V

CC

A_1V

8

DS

P_G

ND

DS

P_V

DD

_IO

2_1V

8

DS

P_G

ND

DS

P_V

DD

_IO

1_3V

3

DS

P_G

ND

DS

P_V

DD

_IO

1_3V

3

DS

P_V

T_C

OR

E_1V

1

DS

P_G

ND

DS

P_A

PR

_C

OR

E_1V

2

DS

P_G

ND

DS

P_A

PR

_C

OR

E_1V

2D

SP

_V

T_C

OR

E_1V

1

DS

P_G

ND

DS

P_G

ND

DS

P_V

DD

_IO

1_3V

3

DS

P_G

ND

DS

P_G

ND

DS

P_G

ND

DS

P_G

ND

DS

P_G

ND

DS

P_V

DD

_IO

2_1V

8D

SP

_V

DD

_IO

1_3V

3

DS

P_G

ND

DS

P_G

ND

DS

P_G

ND

DG

ND

VD

D33

DS

P_V

DD

_IO

2_1V

8D

SP

_V

DD

_IO

1_3V

3

DS

P_G

ND

DS

P_G

ND

DS

P_G

ND

DS

P_G

ND

DS

P_G

ND

GN

D

DS

P_V

DD

_IO

1_3V

3D

SP

_G

ND

DS

P_V

DD

_IO

2_1V

8

DS

P_V

DD

_IO

2_1V

8

DS

P_V

DD

_IO

2_1V

8

DS

P_V

DD

_IO

2_1V

8

DS

P_V

DD

_IO

2_1V

8D

SP

_V

T_C

OR

E_1V

1

DS

P_G

ND

DS

P_G

ND

DS

P_G

ND

DS

P_V

DD

_IO

1_3V

3D

SP

_1V

8

DS

P_G

ND

DS

P_G

ND

DS

P_V

CC

A_1V

8

DS

P_V

DD

_IO

2_1V

8

DS

P_G

ND

DS

P_G

ND

DS

P_G

ND

DS

P_G

ND

DS

P_G

ND

VB

US

VD

D33

DS

P_V

DD

_IO

1_3V

3

DS

P_V

CC

A_1V

8

DS

P_G

ND

DS

P_V

DD

_IO

2_1V

8

DS

P_G

ND

DS

P_V

DD

_IO

2_1V

8

DS

P_V

DD

_IO

2_1V

8

DS

P_V

DD

_IO

1_3V

3

DS

P_G

ND

DS

P_G

ND

DS

P_G

ND

DS

P_G

ND

DS

P_G

ND

DG

ND

DS

P_G

ND

DS

P_G

ND

DS

P_G

ND

DS

P_G

ND

DS

P_V

DD

_IO

1_3V

3

DS

P_G

ND

DS

P_V

CC

_IN

DS

P_V

CC

_IN

GP

IO0_D

SP

_M

AS

TE

R_C

LK

2

DS

P_V

T_R

ST

N_3V

32

DS

P_A

PR

_R

ST

N_3V

32

DS

P_A

PR

_S

PI_

CS

2D

SP

_V

T_S

PI_

SC

S_3V

32

DS

P_A

PR

_S

PI_

CLK

2D

SP

_A

PR

_S

PI_

MO

SI

2

DS

P_A

PR

_S

PI_

MIS

O2

DS

P_A

PR

_I2

S_B

CLK

_3V

32

DS

P_A

PR

_I2

S_LR

CK

_3V

32

DS

P_A

PR

_I2

S_D

O_3V

32

DS

P_V

T_I2

S_D

I_3V

32

DB

MD

_IN

T_3V

32

DS

P_V

T_I2

S_LevS

hift

_E

N_L

2

DS

P_V

T_W

AK

EU

P_3V

32

DS

P_A

PR

_W

AK

EU

P_3V

32

DS

P_D

M0_C

LK

5

DS

P_D

M0_D

AT

A5

DS

P_D

M1_C

LK

5

DS

P_D

M1_D

AT

A5

Titl

e

Siz

eD

ocu

ment

Num

ber

Re

v

Da

te:

Sh

ee

to

f

<03_D

SP

>V

3.1

<E

SP

32-L

yraT

D-D

SP

G_A

>

C

35

Thurs

day,

Febru

ary

14, 2019

Titl

e

Siz

eD

ocu

ment

Num

ber

Re

v

Da

te:

Sh

ee

to

f

<03_D

SP

>V

3.1

<E

SP

32-L

yraT

D-D

SP

G_A

>

C

35

Thurs

day,

Febru

ary

14, 2019

Titl

e

Siz

eD

ocu

ment

Num

ber

Re

v

Da

te:

Sh

ee

to

f

<03_D

SP

>V

3.1

<E

SP

32-L

yraT

D-D

SP

G_A

>

C

35

Thurs

day,

Febru

ary

14, 2019

R73

10K

(1%

)R46

10K

(1%

)(N

C)

U4

SG

50

32

CA

N 2

4.5

76

00

0M

-TJG

A3

VD

D4

OU

T3

GN

D2

NC

/3-S

T1

R82

10K

(1%

)(N

C)

R41

0R

(1%

)

R286 680K(1%)(NC)

R56

2.2

K(1

%)

C35

10pF

/50V

(5%

)

R80

10K

(1%

)

C33 1uF/16V(10%)(NC)

C40 1uF/16V(10%)

R52

10K

(1%

)(N

C)

U5

DB

MD

5P

VT_VDD_CORE_11

VDD_IO2_12

VCCA_13

VT

_M

IC_IN

4

VCCA_25

VT

_M

IC_IP

6

VCCA_37

VT_VDD_CORE_28

APR_VDD_CORE_19

AP

R_T

DM

0_S

CLK

10

AP

R_T

DM

0_R

XD

11

APR_VDD_CORE_212

AP

R_T

DM

0_T

XD

13

AP

R_T

DM

0_F

SY

NC

14

AP

R_T

DM

2_S

CLK

15

AP

R_T

DM

2_F

SY

NC

16

AP

R_T

DM

2_T

XD

17

VDD_IO2_218

AP

R_T

DM

2_R

XD

19

VDD_IO1_120

AP

R_M

AS

TE

R_C

LK

21

AP

R_IIC

_S

CL

22

AP

R_IIC

_S

DA

23

AP

R_T

DM

3_T

XD

24

AP

R_T

DM

3_R

XD

25

AP

R_T

DM

3_S

CLK

26

AP

R_T

DM

3_F

SY

NC

27

AP

R_T

DM

1_T

XD

28

VDD_IO1_229

AP

R_T

DM

1_R

XD

30

APR_VDD_CORE_331

AP

R_T

DM

1_S

CLK

32

AP

R_T

DM

1_F

SY

NC

33

APR_JTAG_RTCK34

APR_JTAG_TDI35

APR_JTAG_TMS36

APR_JTAG_TCK37

APR_JTAG_TDO38

APR_VDD_CORE_439

AP

R_R

ST

N40

AP

R_U

AR

T_R

XD

41

AP

R_U

AR

T_T

XD

42

AP

R_W

AK

EU

P43

VDD_IO1_344

AP

R_D

M1_D

AT

A45

AP

R_D

M1_C

LK

46

AP

R_S

PI_

SD

I47

AP

R_S

PI_

SC

K48

AP

R_S

PI_

SD

O49

AP

R_S

PI_

SC

S50

APR_VDD_CORE_551

AP

R_A

N_R

EF

52

VCCA_453

AP

R_M

IC_IP

54

AP

R_M

IC_IN

55

APR_LDO_OUT56

APR_LDO_IN57

VT

_G

PIO

20/T

DM

1_R

XD

58

VT

_G

PIO

9/D

M0_D

AT

A59

VT

_G

PIO

5/S

PI_

SD

I60

VT

_G

PO

4/S

PI_

SD

O61

VT

_R

ST

N62

NA163

NA264

NA365

VDD_IO2_366

VT_VDD_CORE_367

VT

_G

PIO

1/II2

_S

CL0

68

NA469

VT

_G

PIO

2/II2

_S

DA

070

NA571

VT

_G

PIO

18/U

AR

T0_R

XD

72

VT

_G

PIO

11/D

M1_D

AT

A73

VT

_G

PIO

13/T

DM

0_S

CLK

74

VT

_G

PO

0/T

DM

1_T

XD

75

VT

_G

PIO

12/D

M1_C

LK

76

VT

_G

PIO

14/T

DM

0_F

SY

NC

77

VT

_G

PIO

17/U

AR

T0_T

XD

78

VDD_IO2_479

VT

_G

PIO

19/T

DM

1_C

LK

80

VT

_G

PIO

6/S

PI_

CLK

81

VT

_G

PO

8/D

M0_C

LK

82

VT_VDD_CORE_483

VT

_G

PIO

7/S

PI_

SC

S84

VT

_G

PIO

10/T

DM

1_F

SY

NC

85

VT

_G

PIO

15/T

DM

0_R

XD

86

VT

_G

PIO

16/T

DM

0_T

XD

87

VT

_M

AS

TE

R_C

LK

88

Earth_PAD89

C12 10uF/10V(20%)(NC)

C27 0.1uF/50V(10%)

R57

0R

(1%

)(N

C)

R53

30.1

K(1

%)(

NC

)

R72

0R

(1%

)

C255 6.8pF/50V(±0.1pF)(NC)

R287 10K(1%)(NC)

R42

0R

(1%

)(N

C)

U8

TC

7S

PN

3125T

U

VC

CA

1

GN

D2

A1

3B

14

OE

5

VC

CB

6

C44 1uF/16V(10%)

R51

1.8

K(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%

)(N

C)

L2

3A

@120ohm

,25m

ohm

(NC

)

R50

2.2

K(1

%)

C30

0.1

uF

/50V

(10%

)

C16 0.1uF/50V(10%)

U6

RT

9043G

B@

400m

A(N

C)

EN

3

OU

T5

VIN

1

NR

/FB

4

GND2

C24 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%

)

R112

10K

(1%

)

U10

TC

7S

PN

3125T

U

VC

CA

1

GN

D2

A1

3B

14

OE

5

VC

CB

6

TP

61

C43

0.1

uF

/50V

(10%

)

R279

0R

(1%

)

R77

10K

(1%

)

TP

10

1

TP

91

R83

10K

(1%

)(N

C)

R40

10R

(1%

)

C37

0.1uF/50V(10%)(NC)

R49

1.8

K(1

%)

C21 0.1uF/50V(10%)

C259 0.1uF/50V(10%)(NC)

R66

10K

(1%

)(N

C)

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%

)

TP

11

1

R43

56K

(1%

)

C22 0.1uF/50V(10%)

C42

0.1

uF

/50V

(10%

)

R47

52.3

K(1

%)(

NC

)

U16

RT

9043G

B@

400m

A

EN

3

OU

T5

VIN

1

NR

/FB

4

GND2

R48

2.2

K(1

%)

C25 0.1uF/50V(10%)

R45

68K

(1%

)

TP

12

1

C20 1uF/16V(10%)

C38

10uF/10V(20%)(NC)

R81

2.2

K(1

%)

IN

GND

EN

FB

LX

U20

SY

8089A

AA

C(N

C)

4

2

153

TP

71

C46

0.1

uF

/50V

(10%

)

R113

5.1

K(1

%)

C257

22uF/10V(20%)(NC)

R64

0R

(1%

)

TP

13

1

R61

1.8

K(1

%)

R62

1.8

K(1

%)

C39

10uF/10V(20%)(NC)

R28410K(1%)(NC)

Q3

L8050Q

LT

1G

C47

0.1

uF

/50V

(10%

)

U9

LD

39020D

TP

U11R

IN4

EN

3

GN

D2

OU

T1

TP

AD

5

C258

0.1uF/50V(10%)(NC)

R59

0R

(1%

)

R68

10K

(1%

)(N

C)

R65

0R

(1%

)

R75

10K

(1%

)(N

C)

C31

10uF

/10V

(20%

)

C36

10nF/50V(10%)(NC)

R60

2.2

K(1

%)

TP

5

1

R63

2.2

K(1

%)

TP

81

L11

2.2

uH

(20%

)@3A

(NC

)

R58

0R

(1%

)

R74

5.1

K(1

%)(

NC

)

C80

10nF/50V(10%)(NC)

C81 0.1uF/50V(10%)

R285150K(1%)(NC)

R76

10K

(1%

)

R69

56K

(1%

)

R67

10K

(1%

)(N

C)

C32 10uF/10V(20%)(NC)

R55

1.8

K(1

%)

R54

10K

(1%

)(N

C)

Espressif / 12 16Submit Documentation Feedback

2020.07

Page 16: ESP32-LyraTD-DSPG User Guide en - Espressif · 2019-07-19 · 1. Overview 1. Overview ESP32-LyraTD-DSPG is one of Espressif’s Audio Development Board based on ESP32 MCU and DBMD5P

Appendix A

5 5

4 4

3 3

2 2

1 1

DD

CC

BB

AA

ES_I2S_DSDIN:IO26

ES_I2S_LRCK:IO25

ES_I2S_SCLK:IO5

ES_I2S_MCLK:IO0

PA_CTRL:IO22

PA:

Spea

ker:

Power

Supply for

Codec:

Code

c:

Phone

Jack:

Notes:

1.Vout=1.20*(1+R1/R2)=3.296V;

R1=52.3K,R2=30.1K are recommended for better performance.

R1

R2

DVDD discharge resistance

Please place these

compenonts near IC pins

on the same layer,

NO VIAS!

Defualt I2C slave address:

0010 0000=0x20

Notes˖

1.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

_CTR

L

PA

_CTR

L

AN

D_P

A_C

TRL

AN

D_P

A_C

TRL

PA

_IN

L+P

A_I

NL-

PA

_OU

TL+

PA

_OU

TL-

PA

_PV

DD

1

ES

_I2S

_DS

DIN

ES

_I2S

_LR

CK

ES

_I2S

_SC

LKE

S_I

2S_M

CLK

ES

_I2S

_DS

DIN

IO18

_I2C

_SD

AIO

23_I

2C_S

CL

ES

8388

_CE

R_E

S83

88_S

DA

R_E

S83

88_S

CL

ES

8388

_AD

CV

RE

FE

S83

88_V

MID

ES

8388

_VR

EF

C_R

OU

T1

C_L

OU

T1

RO

UT1

LOU

T1

DA

C_A

OU

TLN

RO

UT2

C_L

OU

T2

C_R

OU

T2

ES

_I2S

_MC

LKE

S_I

2S_S

CLK

ES

_I2S

_LR

CK

ES

8388

_CE

IO18

_I2C

_SD

AIO

23_I

2C_S

CL

Ear

Pho

ne_D

etec

t

Ear

Pho

ne_D

etec

t

LOU

T1

RO

UT1

DA

C_A

OU

TLP

PA

_IN

L-D

AC

_AO

UTL

N

PA

_IN

L+D

AC

_AO

UTL

PP

A_O

UTL

+

PA

_OU

TL-

AG

ND

AG

ND

Cod

ec_V

CC

33

AG

ND

AG

ND

AG

ND

AG

ND

AG

ND

GN

D

VB

US

AG

ND

Cod

ec_V

CC

33

AG

ND

VB

US

AG

ND

AG

ND

AG

ND

Cod

ec_V

CC

33

AG

ND

Cod

ec_V

CC

33

AG

ND

AG

ND

Cod

ec_V

CC

33

AG

ND

AG

ND

Cod

ec_V

CC

33C

odec

_VC

C33

AG

ND

AG

ND

AG

ND

AG

ND

AG

ND

AG

ND

Cod

ec_V

CC

33

AG

ND

AG

ND

AG

ND

AG

ND

AG

ND

Cod

ec_V

CC

33

AG

ND

AG

ND

AG

ND

AG

ND

ES

_I2S

_MC

LK2

ES

_I2S

_SC

LK2

ES

_I2S

_LR

CK

2E

S_I

2S_D

SD

IN2

PA

_CTR

L2

IO18

_I2C

_SD

A2,

5IO

23_I

2C_S

CL

2,5

Title

Siz

eD

ocum

ent

Num

ber

Re

v

Dat

e:S

heet

of

<04_

Cod

ec&

PA

>V

3.1

<ES

P32

-Lyr

aTD

-DS

PG

_A>

C

45

Frid

ay, M

arch

15,

201

9

Title

Siz

eD

ocum

ent

Num

ber

Re

v

Dat

e:S

heet

of

<04_

Cod

ec&

PA

>V

3.1

<ES

P32

-Lyr

aTD

-DS

PG

_A>

C

45

Frid

ay, M

arch

15,

201

9

Title

Siz

eD

ocum

ent

Num

ber

Re

v

Dat

e:S

heet

of

<04_

Cod

ec&

PA

>V

3.1

<ES

P32

-Lyr

aTD

-DS

PG

_A>

C

45

Frid

ay, M

arch

15,

201

9

L33A

@12

0ohm

,25m

ohm

R12

110

0R(1

%)

R97

100K

(1%

)

C95

10uF

/10V

(20%

)

J2 A20

01W

R-S

-2P

TP14

1

R90

10K

(1%

)(N

C)

C91

22uF

/10V

(20%

)

C24

6

0.1u

F/50

V(1

0%)

U14

SN

74LV

C1G

08D

BV

R

A1

B2

GN

D3

VC

C5

Y4

C24

9

10uF

/10V

(20%

)

C243 22pF/50V(5%)

R98

100K

(1%

)

C89

0.1u

F/50

V(1

0%)

C52 10nF/50V(10%)(NC)

C24

5

10uF

/10V

(20%

)

C21

922

uF/1

0V(2

0%)

C86 22pF/50V(5%)

R12

733

R(1

%)

C72

33pF

/50V

(5%

)

R91

30K

(1%

)

L70R

(1%

)

C67

1uF/

16V

(10%

)

R89

52.3

K(1

%)

C69

0.1u

F/50

V(1

0%)

C93

0.1u

F/50

V(1

0%)

C242 22pF/50V(5%)

C23

10.

1uF/

50V

(10%

)(N

C)

C92

0.1u

F/50

V(1

0%)

U11

RT9

043G

B@

400m

A

EN

3

OU

T5

VIN

1

NR

/FB

4

GND2

PJ-

393-

A

J11

1

22

33

44

55

66

77

88

R12

010

0R(1

%)

R96

10K

(1%

)

C71

0.1u

F/50

V(1

0%)

C74 330pF/50V(10%)(NC)

C53 0.1uF/50V(10%)

C70

33pF

/50V

(5%

)

C68

0.1u

F/50

V(1

0%)

R122 2K(1%)(NC)

C22

90.

1uF/

50V

(10%

)(N

C)

C75

330p

F/50

V(1

0%)(

NC

)

R10

10R

(1%

)

C23

20.

1uF/

50V

(10%

)(N

C)

R21

8

10K

(1%

)

R99

30K

(1%

)

R12

633

R(1

%)

+C

66

10uF

/16V

(20%

)

Q13

LBS

S13

8LT1

G

C24

7

10uF

/10V

(20%

)

R88

10K

(1%

)

R12

84.

7R(1

%)

C90

22uF

/10V

(20%

)

C65

10uF

/25V

(20%

)(N

C)

C24

8

0.1u

F/50

V(1

0%)

C64

1uF/

16V

(10%

)

R123 2K(1%)(NC)

L53A

@12

0ohm

,25m

ohm

R21

7

10K

(1%

)(N

C)

C88

0.1u

F/50

V(1

0%)

C24

4

0.1u

F/50

V(1

0%)

R23

733

R(1

%)

C241 22pF/50V(5%)

C21

822

uF/1

0V(2

0%)

R12

4

3.3K

(1%

)(N

C)

U18

ES

8388

PV

DD

3D

VD

D2

DG

ND

4

PG

ND

29

CC

LK28

CD

AT

A27

CE

26

MC

LK1

SC

LK5

LRC

K7

DS

DIN

6

AS

DO

UT

8

LIN

124

RIN

123

LIN

222

RIN

221

HP

VD

D16

AV

DD

17

AG

ND

18

HP

GN

D13

LOU

T1

12

RO

UT

111

LOU

T2

15

RO

UT

214

VM

ID20

AD

CV

RE

F19

VR

EF

10

NC

19

NC

225

R23

833

R(1

%)

C94

10uF

/10V

(20%

)

R12

510

0R(1

%)

U13

NS

4150

CT

RL

1

Byp

ass

2

IN+

3

IN-

4O

UT

-5

VC

C6

GN

D7

OU

T+

8

R10

030

K(1

%)

C73

330p

F/50

V(1

0%)(

NC

)

C57 10uF/10V(20%)

C54 10uF/10V(20%)

C23

00.

1uF/

50V

(10%

)(N

C)

C87 22pF/50V(5%)

L60R

(1%

)

Espressif / 13 16Submit Documentation Feedback

2020.07

Page 17: ESP32-LyraTD-DSPG User Guide en - Espressif · 2019-07-19 · 1. Overview 1. Overview ESP32-LyraTD-DSPG is one of Espressif’s Audio Development Board based on ESP32 MCU and DBMD5P

Appendix A

5 5

4 4

3 3

2 2

1 1

DD

CC

BB

AA

USB: Power & Communication

Reserved for Auto-prog:

Aut

o pr

ogra

m

DT

R R

TS

-->E

N

IO0

IO

2 1

1

1

1

1 0

0

1

1

1 1

0

0

1

1 0

1

1

0

0

USB <-> UART:

FPC Connector/Reserved:

FPC 0.5MM 16Pins

To E

SP32 RXD0

To E

SP32 TXD0

Power 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 .

R1

R2

MINI DIN Connector:

System LED:

Function Keys:

2.42V

1.11V

System LED = H

L̍ED light ON;

System LED = L

L̍ED light OFF;

US

B_D

PU

SB

_DN

RST#

ACTIVE

RTS

DTR

RX

D0

TXD

0

DTR

RTS

EN

_Aut

o

IO0_

Aut

o

IO2_

Aut

o

IO2_

Aut

oIO

0_A

uto

EN

_Aut

oB

oot_

IO0

Boo

t_E

N

Boo

t_IO

2

D-

US

B_D

ND

+U

SB

_DP

AU

X_U

SB

_PO

WE

R

RX

D0

TXD

0

Boo

t_IO

0B

oot_

EN

Boo

t_IO

2

IO18

_I2C

_SD

AIO

23_I

2C_S

CL

But

ton_

Arr

ay_A

DC

DS

P_D

M0_

DA

TAD

SP

_DM

0_C

LK

DS

P_D

M1_

DA

TAD

SP

_DM

1_C

LK

IO18

_I2C

_SD

AIO

23_I

2C_S

CL

But

ton_

Arr

ay_A

DC

DS

P_D

M0_

CLK

DS

P_D

M0_

DA

TA

DS

P_D

M1_

CLK

DS

P_D

M1_

DA

TA

Sys

tem

_LE

D

Sys

tem

_LE

D

But

ton_

Arr

ay_A

DC

DS

P_D

M0_

CLK

DS

P_D

M0_

DA

TAD

SP

_DM

1_D

ATA

DS

P_D

M1_

CLK

CN

N_L

ED

GN

D

GN

DV

DD

33

GN

D

GN

D

GN

D

GN

D

VB

US

0

VD

D33

GN

D

GN

D

VB

US

GN

DG

ND

VB

US

GN

DG

ND

GN

DG

ND

GN

DG

ND

GN

D

VB

US

LED

_VC

C

GN

D

GN

DD

SP

_VD

D_I

O2_

1V8

GN

D

GN

D

LED

_VC

C

GN

D

VB

US

0

GN

DG

ND

VD

D33

GN

DG

ND

DS

P_G

ND

DS

P_G

ND

DS

P_V

DD

_IO

2_1V

8

IO18

_I2C

_SD

A2,

4

RX

D0

2TX

D0

2

Boo

t_E

N2

Boo

t_IO

02

Boo

t_IO

22

IO23

_I2C

_SC

L2,

4

But

ton_

Arr

ay_A

DC

2

DS

P_D

M0_

DA

TA3

DS

P_D

M0_

CLK

3

DS

P_D

M1_

DA

TA3

DS

P_D

M1_

CLK

3

Sys

tem

_LE

D2

Title

Siz

eD

ocum

ent

Num

ber

Re

v

Dat

e:S

heet

of

<05_

Pow

ers&

UA

RT>

V3.

1

<ES

P32

-Lyr

aTD

-DS

PG

_A>

C

55

Thur

sday

, Feb

ruar

y 14

, 201

9

Title

Siz

eD

ocum

ent

Num

ber

Re

v

Dat

e:S

heet

of

<05_

Pow

ers&

UA

RT>

V3.

1

<ES

P32

-Lyr

aTD

-DS

PG

_A>

C

55

Thur

sday

, Feb

ruar

y 14

, 201

9

Title

Siz

eD

ocum

ent

Num

ber

Re

v

Dat

e:S

heet

of

<05_

Pow

ers&

UA

RT>

V3.

1

<ES

P32

-Lyr

aTD

-DS

PG

_A>

C

55

Thur

sday

, Feb

ruar

y 14

, 201

9

R10

710

K(1

%)(

NC

)

D1

1N58

19H

W-7

-F(N

C)

C84 10uF/10V(20%)(NC)

D5

1N58

19H

W-7

-F

D3

LES

D5D

5.0C

T1G

C76 22uF

/10V

(20%

)

C82 10uF/10V(20%)(NC)

D6

LES

D5D

5.0C

T1G

D4 LE

SD

5D5.

0CT1

G

R10

522

.1K

(1%

)

C85 10nF/50V(10%)(NC)

D2

LES

D5D

5.0C

T1G

SW

5

K2-

1109

SP

-B4S

A-0

1

11

22

33

44

21

3

56

4

J6 MD

2-60

ST

113355

224466

77

88

R10

6

47.5

K(1

%)

R11

7

10K

(1%

)(N

C)

SW

6

K2-

1109

SP

-B4S

A-0

1

11

22

33

44

C78 10uF/10V(20%)(NC)

R10

410

K(1

%)(

NC

)

R27

31K

(1%

)

C79 1uF/16V(10%)

Q6

L805

0QLT

1G(N

C)

R11

8

10K

(1%

)(N

C)

R11

5

30.1

K(1

%)(

NC

)

R10

80R

(1%

)Q

11LB

SS

138L

T1G

J5

AFC

01-S

16FC

C-0

0

44

33

22

11

1717

1818

55

66

77

88

99

1010

1111

1212

1313

1414

1515

1616

Q4

L805

0QLT

1G

R10

90R

(1%

)

J3

Mic

ro U

SB

5P

Fem

ale

VB

US

1

D-

2

D+

3

GN

D5

NC

4

GN

D6

GN

D7

GN

D8

GN

D9

R27

4

10K

(1%

)

J4

Mic

ro U

SB

5P

Fem

ale

VB

US

1

D-

2

D+

3

GN

D5

NC

4

GN

D6

GN

D7

GN

D8

GN

D9

U15

CP

2102

N-A

01-G

QFN

28

DC

D1

RI

2

GN

D3

D+

4

D-

5

VD

D6

RE

GIN

7

VBUS8

RST9

NC110

SUSPEND11

SUSPEND12

NC213

NC314

NC

415

NC

516

NC

617

NC

718

NC

819

NC

920

NC

1021

NC1122 CTS23 RTS24 RXD25 TXD26 DSR27 DTR28 PGND29

C83 0.1uF/50V(10%)(NC)

R10

210

K(1

%)

R27

7

30K

(1%

)

R11

10R

(1%

)

R25

45.

1K(1

%)

L83A

@12

0ohm

,25m

ohm

Q5

L805

0QLT

1G

U17

RT9

043G

B@

400m

A(N

C)

EN

3

OU

T5

VIN

1

NR

/FB

4

GND2

D39

GR

EE

N L

ED

R11

01K

(1%

)

R10

310

K(1

%)

R11

6

52.3

K(1

%)(

NC

)

C77

1uF/

16V

(10%

)

R11

90R

(1%

) R27

8

5.1K

(1%

)

Espressif / 14 16Submit Documentation Feedback

2020.07

Page 18: ESP32-LyraTD-DSPG User Guide en - Espressif · 2019-07-19 · 1. Overview 1. Overview ESP32-LyraTD-DSPG is one of Espressif’s Audio Development Board based on ESP32 MCU and DBMD5P

Appendix A

A.2. Sub Board (B)

5 5

4 4

3 3

2 2

1 1

DD

CC

BB

AA

AD=0:

I2C

slave

address:0'b

0111 100x;

2.42

VVO

L+1.

8V1.

2V0.

6VMu

teVO

L-Ac

tion

LED

Driver:

DMIC A

rray:

KEY

Array:

Notes˖

1. Defaultw̍e 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 H

oles:

FPC

0.5MM

16Pins

DM

IC0_D

AT

DM

IC0_C

LK

DM

IC0_D

AT

DM

IC0_C

LK

DM

IC1_C

LK

DM

IC1_D

AT

Button_A

rray_A

DC

IO18_I2

C_S

DA

IO23_I2

C_S

CL

DM

IC0_D

AT

DM

IC0_C

LK

DM

IC1_D

AT

DM

IC1_C

LK

Button_A

rray_A

DC

IO18_I2

C_S

DA

IO23_I2

C_S

CL

LE

D_S

CL

LE

D_S

DA

LE

D_V

CC

GN

D

DM

IC_V

CC

DM

IC_V

CC

GN

D

GN

D

GN

D

DM

IC_V

CC

DM

IC_V

CC

GN

D

GN

D

GN

D

DM

IC_V

CC

DM

IC_V

CC

GN

D

GN

D

GN

D

GN

DG

ND

GN

DG

ND

GN

D

GN

D

GN

D

GN

D

LE

D_V

CC

GN

D

DM

IC_V

CC

GN

D

GN

D

GN

D

LE

D_V

CC

GN

DG

ND

GN

D

GN

D

LE

D_V

CC

Title

Siz

eD

ocum

ent

Num

ber

Re

v

Da

te

:S

he

et

of

<02_D

MIC

_LE

D_K

EY

>V

1.1

<<

ES

P32-LyraT

D-D

SP

G_B

>>

C

22

Thursday, M

arch 0

7, 2019

Title

Siz

eD

ocum

ent

Num

ber

Re

v

Da

te

:S

he

et

of

<02_D

MIC

_LE

D_K

EY

>V

1.1

<<

ES

P32-LyraT

D-D

SP

G_B

>>

C

22

Thursday, M

arch 0

7, 2019

Title

Siz

eD

ocum

ent

Num

ber

Re

v

Da

te

:S

he

et

of

<02_D

MIC

_LE

D_K

EY

>V

1.1

<<

ES

P32-LyraT

D-D

SP

G_B

>>

C

22

Thursday, M

arch 0

7, 2019

R11

5.1

K(1%

)

R28

5.1

K(1%

)

R7

5.1

K(1%

)

R52

0R

(1%

)

R22

5.1

K(1%

)

R8

10K

(1%

)

R19

5.1

K(1%

)

R14

5.1

K(1%

)

R57

5.1

K(1%

)

C5 22pF/50V(5%)

R30

5.1

K(1%

)

D9

19-237A

BH

R6G

HC

-A

012T

G2

R1

B4

CV

3

R46

10K

(1%

)

D1

19-237A

BH

R6G

HC

-A

012T

G2

R1

B4

CV

3

C9

0.1

uF

/50V

(10%

)

R43

10K

(1%

)

D8

19-237A

BH

R6G

HC

-A

012T

G2

R1

B4

CV

3

R32

5.1

K(1%

)

R5

5.1

K(1%

)

U4

NS

M0418D

T

DA

TA

1

CLK

2

4

VD

D

3

SE

LE

CT

GN

D1

5

GN

D2

6

GN

D3

7

GN

D4

8

R45

10K

(1%

)(N

C)

C6 22pF/50V(5%)

D10

19-237A

BH

R6G

HC

-A

012T

G2

R1

B4

CV

3

R27

5.1

K(1%

)

R56

5.1

K(1%

)

ST

D1

M3-L5-3.5

R47

27.5

K(1%

)

D2

19-237A

BH

R6G

HC

-A

012T

G2

R1

B4

CV

3

C1

10uF

/10V

(20%

)

C4

0.1

uF

/50V

(10%

)

R42

0R

(1%

)

R25

5.1

K(1%

)

D4

19-237A

BH

R6G

HC

-A

012T

G2

R1

B4

CV

3

R37

5.1

K(1%

)

C3

0.1

uF

/50V

(10%

)

U2

NS

M0418D

T

DA

TA

1

CLK

2

4

VD

D

3

SE

LE

CT

GN

D1

5

GN

D2

6

GN

D3

7

GN

D4

8

D6

19-237A

BH

R6G

HC

-A

012T

G2

R1

B4

CV

3

D3

19-237A

BH

R6G

HC

-A

012T

G2

R1

B4

CV

3

SW

4

K2-1109S

P-B

4S

A-01

11

22

33

44

SW

3

K2-1109S

P-B

4S

A-01

11

22

33

44

J1

AF

C01-S

16F

CC

-00

44

33

22

11

1717

1818

55

66

77

88

99

10

10

11

11

12

12

13

13

14

14

15

15

16

16

SW

2

K2-1109S

P-B

4S

A-01

11

22

33

44

R50

2.2

K(1%

)

ST

D3

M3-L5-3.5

R15

3.3

K(1%

)

R51

0R

(1%

)

C8

0.1

uF

/50V

(10%

)

R4

5.1

K(1%

)

R38

5.1

K(1%

)

R16

10K

(1%

)

R26

5.1

K(1%

)

R6

5.1

K(1%

)

R21

5.1

K(1%

)

R18

5.1

K(1%

)

U3

NS

M0418D

T

DA

TA

1

CLK

2

4

VD

D

3

SE

LE

CT

GN

D1

5

GN

D2

6

GN

D3

7

GN

D4

8

R13

5.1

K(1%

)

R9

5.1

K(1%

)

R10

0R

(1%

)

R31

5.1

K(1%

)

SW

1

K2-1109S

P-B

4S

A-01

11

22

33

44

R41

0R

(1%

)

R35

5.1

K(1%

)

C7

0.1

uF

/50V

(10%

)

R44

10K

(1%

)(N

C)

R40

0R

(1%

)

U1

IS31F

L3236A

OU

T3

1

OU

T4

2

OU

T5

3

OU

T6

4

OU

T7

5

OU

T8

6

OU

T9

7

OU

T10

8

OU

T11

9

OU

T12

10

OU

T13

11

OU

T14

12

OU

T15

13

OU

T16

14

OU

T17

15

OU

T18

16

GN

D1

17

OU

T19

18

OU

T20

19

OU

T21

20

OU

T22

21

OU

T23

22

OU

T24

23

OU

T25

24

OU

T26

25

OU

T27

26

OU

T28

27

OU

T29

28

OU

T30

29

OU

T31

30

OU

T32

31

OU

T33

32

OU

T34

33

OU

T35

34

OU

T36

35

OU

T1

43

OU

T2

44

SC

L42

SD

A41

R_E

XT

40

GN

D2

39

VC

C38

AD

37

SD

B36

PG

ND

45

R34

5.1

K(1%

)

D12

19-237A

BH

R6G

HC

-A

012T

G2

R1

B4

CV

3

R49

5.7

6K

(1%

)

ST

D2

M3-L5-3.5

R24

5.1

K(1%

)

R55

5.1

K(1%

)

R36

5.1

K(1%

)

R33

5.1

K(1%

)

D5

19-237A

BH

R6G

HC

-A

012T

G2

R1

B4

CV

3

C2

1uF

/16V

(10%

)

R54

10K

(1%

)(N

C)

D11

19-237A

BH

R6G

HC

-A

012T

G2

R1

B4

CV

3

R39

0R

(1%

)

R53

10K

(1%

)

R48

12K

(1%

)

D7

19-237A

BH

R6G

HC

-A

012T

G2

R1

B4

CV

3

R29

5.1

K(1%

)

R2

5.1

K(1%

)

R23

5.1

K(1%

)

R20

5.1

K(1%

)

ST

D4

M3-L5-3.5

R17

5.1

K(1%

)

R1

5.1

K(1%

)

R12

5.1

K(1%

)

R3

0R

(1%

)

Espressif / 15 16Submit Documentation Feedback

2020.07

Page 19: ESP32-LyraTD-DSPG User Guide en - Espressif · 2019-07-19 · 1. Overview 1. Overview ESP32-LyraTD-DSPG is one of Espressif’s Audio Development Board based on ESP32 MCU and DBMD5P

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 Teamwww.espressif.com