+ All Categories
Home > Documents > ESP32-LyraTD-SYNA User Guide EN - Espressif...voice recognition and voice wake-up. Audio files in...

ESP32-LyraTD-SYNA User Guide EN - Espressif...voice recognition and voice wake-up. Audio files in...

Date post: 17-Jun-2020
Category:
Upload: others
View: 4 times
Download: 0 times
Share this document with a friend
20
ESP32-LyraTD-SYNA User Guide Version 1.1 Espressif Systems Copyright © 2019
Transcript
Page 1: ESP32-LyraTD-SYNA User Guide EN - Espressif...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

ESP32-LyraTD-SYNA User Guide

Version 1.1 Espressif Systems Copyright © 2019

Page 2: ESP32-LyraTD-SYNA User Guide EN - Espressif...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

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.

2019.10 V1.1 Updated module figure in Chapter 1.1.

Page 3: ESP32-LyraTD-SYNA User Guide EN - Espressif...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

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

Page 4: ESP32-LyraTD-SYNA User Guide EN - Espressif...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

!

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.

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

Espressif ! /171 2019.10

Page 5: ESP32-LyraTD-SYNA User Guide EN - Espressif...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

!

1.Overview

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

Page 6: ESP32-LyraTD-SYNA User Guide EN - Espressif...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

!

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 [email protected] or your Synaptics sales representative to obtain an Amazon certified wake-word engine.

Espressif ! /173 2019.10

Page 7: ESP32-LyraTD-SYNA User Guide EN - Espressif...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

!

2. Configuring for AVS

2.3. Flashing the Firmware This document captures the process of flashing the firmware on Windows. Please refer to the ESP-VA-SDK repository on Github for setup on other platforms.

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 ! /174 2019.10

Page 8: ESP32-LyraTD-SYNA User Guide EN - Espressif...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

!

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 ! /175 2019.10

Page 9: ESP32-LyraTD-SYNA User Guide EN - Espressif...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

!

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

Espressif ! /176 2019.10

Page 10: ESP32-LyraTD-SYNA User Guide EN - Espressif...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

!

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.

📖 Note: Terminal users can follow the flashing instructions as available on the GitHub page.

Espressif ! /177 2019.10

Page 11: ESP32-LyraTD-SYNA User Guide EN - Espressif...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

!

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

Espressif ! /178 2019.10

Page 12: ESP32-LyraTD-SYNA User Guide EN - Espressif...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

!

2. Configuring for AVS

selected, enter the passphrase of that Wi-Fi network and click on the provision button.

! Figure 2-8. Available Wi-Fi networks

! Figure 2-9. Enter your passphrase

• On successfully connecting to the Wi-Fi network, after provisioning, the DSP and Alexa will be initialized, and ready to take voice commands.

Espressif ! /179 2019.10

Page 13: ESP32-LyraTD-SYNA User Guide EN - Espressif...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

!

2. Configuring for AVS

2.5. Interactive Function 2.5.1. Voice Recognition

• Once all initialization are done, the device is ready. You can either use "PLAY" 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 “PLAY” 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.

Espressif ! /1710 2019.10

Page 14: ESP32-LyraTD-SYNA User Guide EN - Espressif...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

!

Appendix A

A. Appendix - Schematics

!

5 5

4 4

3 3

2 2

1 1

DD

CC

BB

AA

ESP3

2

Powe

r Bloc

k:

Syst

em B

lock:

DSP

CX20

921

Code

cCX

2272

1

MIC*

2

Keys

SPK*

2

EN K

eyRS

T

BOOT

Key

BOOT

USB

to UART

TX/R

XUS

BCN

ND+

/D-

Key*

4

CNN(

Rese

rved

fo

r LE

D,Ke

y,MI

C)I2

C&AD

C

MIC

OUT+

/-

INT+

RST+

I2C

+I2S

_CX_

TX

IRQ+

EAPD

+I2C

+I2S

_ESP

_TX

I2S_

AEC

VCC

AP73

61C-

33-E

R-7/

13

USB

CNN

ESP3

23.

3V

LDO

3.3V

DSP

CX20

921

3.3V

Code

cCX

2272

1

LDO

LDO

1.8V

VCC

Title

Siz

eD

ocum

ent

Num

ber

Re

v

Dat

e:S

heet

of

<01_

Bloc

k>1.

3

ES

P32

-LY

RA

TD-S

YN

A

C

16

Frid

ay, A

ugus

t 30,

201

9

Title

Siz

eD

ocum

ent

Num

ber

Re

v

Dat

e:S

heet

of

<01_

Bloc

k>1.

3

ES

P32

-LY

RA

TD-S

YN

A

C

16

Frid

ay, A

ugus

t 30,

201

9

Title

Siz

eD

ocum

ent

Num

ber

Re

v

Dat

e:S

heet

of

<01_

Bloc

k>1.

3

ES

P32

-LY

RA

TD-S

YN

A

C

16

Frid

ay, A

ugus

t 30,

201

9

Espressif ! /!11 17 2019.10

Page 15: ESP32-LyraTD-SYNA User Guide EN - Espressif...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

!

Appendix A

!

5 5

4 4

3 3

2 2

1 1

DD

CC

BB

AA

ESP3

2 Mo

dule

:Button A

rray

USB<

->UA

RT:

JTAG

MTDI

MTCK

MTMS

MTDO

UART

I2C

I2C:

SCL

I2C:

SDA

I2S

Auto

mati

c &

Butt

on D

ownl

oad:

A

uto

prog

ram

DTR

R

TS--

>

EN

_Aut

o

IO0_

IO2_

Aut

o

1

1

1

1

0

0

1

1

1

0

0

1

0

1

1

0

DSP

GPIO

DSP_I2S_LRCK :

IO32

Codec_SPK_MU

TE:I

O22

PJ_DET:I

O21

Codec_I2S_

BCLK

:IO5

Codec_I2S_

FS:I

O25

Codec_I2S_SD

I0:I

O26

Codec_I2S_MC

LK:I

O0

Codec_EA

PD:I

O4

DSP_I2S_DO :

IO35

DSP_I2S_BCLK :

IO33

DSP

RESET

: IO19

I2C_SCL:

IO23

I2C_SDA:

IO18

MUTE_ON_OF

F:IO

27

USB:

3.3V

/800

mA

Powe

r Su

pply

for

ESP

32:

EN SEN

SOR

_VP

SEN

SOR

_VN

_AD

CIO

34IO

35IO

32IO

33IO

25IO

26IO

27IO

14

3V3

IO13

DG

ND

IO22

TXD

0R

XD0

IO21

IO19

IO18

IO4

IO0

IO5

IO23

Mod

ule_

NC

IO15

IO2

DG

ND

SHD

/SD

2SW

P/S

D3

SCS/

CM

DSC

K/C

LKSD

O/S

D0

SDI/S

D1

IO17

_NC

IO16

_NC

DG

ND

IO12

IO12

IO13

IO14

IO15

TXD

0R

XD0

IO23

IO18

IO35

IO32

IO33

IO0

IO5

IO25

IO26

IO23

IO18

Mod

ule_

NC

3V3 IO

26IO

27

IO34

IO22

DG

ND

IO12

IO17

_NC

IO16

_NC

DG

ND

IO19

IO25

IO2

EN SEN

SOR

_VP

SEN

SOR

_VN

_AD

C

IO35

IO32

IO33

IO14

IO23

TXD

0R

XD0

IO21

IO18

IO4

IO0

DGNDIO13SHD/SD2SWP/SD3SCS/CMDSCK/CLKSDO/SD0SDI/SD1IO15

IO5

SEN

SOR

_VN

IO18

IO33

IO32

SEN

SOR

_VP

IO22 IO21

IO5

IO25

IO26

IO0

IO4

IO35

IO19

IO23

IO27

D-

D+

USB

_DP

USB

_DN

REG

IN

TXD

RXD

0

USB

_DN

RST#

ACTIVE

TXD

0

USB

_DP

DTR

RTS

IO0_

IO2_

Aut

o

IO0_

IO2_

KEY

IO2

IO0

ENEN

_KEY

EN_A

uto

DTR

RTS

EN_A

uto

IO0_

IO2_

Aut

o

EN

SEN

SOR

_VN

SEN

SOR

_VN

_AD

C

DG

ND

GN

D

DG

ND

VDD

33

DG

ND

VDD

33

VDD

33

DG

ND

GN

DG

ND

GN

D

GN

D

VUSB

GN

D

VBU

S0VU

SB

GN

D

GN

D

GN

D

VBU

S0

GN

D

GN

D

VDD

33

GN

D

VDD

33

VCC

GN

DG

ND

VUSB

GN

D

VCC

GN

DG

ND

GN

D

VDD

33

VDD

33

GN

D

GN

D

VDD

33

DG

ND

VDD

33

DG

ND

SEN

SOR

_VN

3

IO18

3,5,

6

IO33

5IO

325

CX_

GPI

O_1

5

IO23

3,5,

6

IO22

6

IO21

6

IO5

6IO

256

IO26

6

IO0

6

IO4

6

IO35

5

IO19

5

IO27

3,5

Title

Siz

eD

ocum

ent

Num

ber

Re

v

Dat

e:S

heet

of

<02_

Pow

er_M

CU

>1.

3

ES

P32

-LY

RA

TD-S

YN

A

C

26

Frid

ay, A

ugus

t 30,

201

9

Title

Siz

eD

ocum

ent

Num

ber

Re

v

Dat

e:S

heet

of

<02_

Pow

er_M

CU

>1.

3

ES

P32

-LY

RA

TD-S

YN

A

C

26

Frid

ay, A

ugus

t 30,

201

9

Title

Siz

eD

ocum

ent

Num

ber

Re

v

Dat

e:S

heet

of

<02_

Pow

er_M

CU

>1.

3

ES

P32

-LY

RA

TD-S

YN

A

C

26

Frid

ay, A

ugus

t 30,

201

9

R36

100K

(1%

)(N

C)

R23

00R

(5%

)

R21

0R(5

%)

U4

AP73

61C

-33-

ER-7

/13

GND1

VO

UT

2V

IN3

Tab

4

C16

0.1u

F/16

V(1

0%)

TP59

1

J12

USB

_CO

N8

VB

US

1

D-

2

D+

3

GN

D5

NC

4

GN

D6

GN

D7

GN

D8

GN

D9

TP53

1

C4

10uF

/16V

(20%

)

D37

BAT5

4C1 23

TP49

1

D3

LESD

5D5.

0CT1

G

C19

3

0.1u

F/16

V(1

0%)

D4

LESD

5D5.

0CT1

G

SW2

SW_R

11

22

33

44

TP58

1TP

501

SW1

SW_R

11

22

33

44

R9

0R(5

%)

R22

947

.5K

(5%

)

TP64

1

D35

BAT5

4A

1 23

R28

65.

76K

(1%

)

R2

2.2K

(1%

)

R38

0R(5

%)

J2

SK-1

2D02

-VG

3

123

J1 USB

_CO

N8

VB

US

1

D-

2

D+

3

GN

D5

NC

4

GN

D6

GN

D7

GN

D8

GN

D9

R31

0R(5

%)

TP60

1

TP54

1

C10

10uF

/16V

(20%

)

C20

5

0.1u

F/16

V(1

0%)

TP52

1

R22

0R(5

%)

C11 0.1u

F/16

V(1

0%)

TP57

1

C14

0.1u

F/16

V(1

0%)

D36

BAT5

4C1 23

R3 2.2K

(1%

)

R29

1K(1

%)

D17

GR

EEN

LED

1 2

TP62

1

C18

0.1u

F/16

V(1

0%)(

NC

)

R1

0R(5

%)

R24

0R(5

%)

C5

22uF

/10V

(20%

)

C19

0.1u

F/16

V(1

0%)(

NC

)

TP65

1

C3

1uF/

16V(

10%

)

R5

10K(

5%)

Q8

L805

0QLT

1G

R22

822

.1K

(5%

)

D31

SS24

(NC

)

TP61

1

TP55

1

U5

CP2

102N

-A02

-GQ

FN28

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

C2

1uF/

16V(

10%

)

TP48

1

R33

100K

(1%

)(N

C)

D2 LE

SD5D

5.0C

T1G

R28

10K(

5%)(

NC

)

R28

710

K(5%

)

TP56

1

R28

810

K(5%

)

D1

SS24

TP51

1

R35

0R(5

%)

Q9

L805

0QLT

1G

TP63

1

C1

100u

F/6.

3V(2

0%)

C15

10uF

/16V

(20%

)

C12

22uF

/10V

(20%

)

U2

ESP3

2-W

RO

VER

-B

GN

D1

1

3V3

2

EN

3

SE

NS

OR

_VP

4

SE

NS

OR

_VN

5

IO34

6

IO35

7

IO32

8

IO33

9

IO25

10

IO26

11

IO27

12

IO14

13

IO12

14

GN

D2

15

IO13

16

SD

217

SD

318

CM

D19

CLK

20S

D0

21S

D1

22IO

1523

IO2

24IO

025

IO4

26N

C1

27N

C2

28IO

529

IO18

30IO

1931

NC

32IO

2133

RX

D0

34TX

D0

35IO

2236

IO23

37G

ND

338

P_G

ND

39

C13

10uF

/16V

(20%

)

U1

ESP3

2-W

RO

OM

-32D

(NC

)

GN

D1

1

3V3

2

EN

3

SE

NS

OR

_VP

4

SE

NS

OR

_VN

5

IO34

6

IO35

7

IO32

8

IO33

9

IO25

10

IO26

11

IO27

12

IO14

13

IO12

14

GN

D3

38

IO23

37

IO22

36

TXD

035

RX

D0

34

IO21

33

NC

32

IO19

31

IO18

30

IO5

29

IO17

28

IO16

27

IO4

26

IO0

25

GND215

IO1316

SD217

SD318

CMD19

CLK20

SD021

SD122

IO1523

IO224P

_GN

D39

Espressif ! /!12 17 2019.10

Page 16: ESP32-LyraTD-SYNA User Guide EN - Espressif...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

!

Appendix A

!

5 5

4 4

3 3

2 2

1 1

DD

CC

BB

AA

6-Ph

ysic

al-B

utto

ns:

Conn

ecto

r fo

r LE

D &

Butt

on &

MIC

(Re

serv

ed):

0.6V

MIC

MUTE

1.8V

2.42

V

1.2V

VOL+

PLAY/PAU

SE

VOL-

I2C_SC

L:IO

23I2C_SD

A:IO

18

Button A

rray

MUTE_ON_

OFF:

IO27

IO18

IO23

SEN

SOR

_VN

CX_

MIC

BIA

S1

CX_

MIC

BIA

S2

ExtF

FC_M

IC_I

NN

1Ex

tFFC

_MIC

_IN

P1

ExtF

FC_M

IC_I

NP2

ExtF

FC_M

IC_I

NN

2

IO27

SEN

SOR

_VN

SEN

SOR

_VN

IO23

IO18

CX_

MIC

BIA

S1

CX_

MIC

BIA

S2

ExtF

FC_M

IC_I

NP1

ExtF

FC_M

IC_I

NN

1

ExtF

FC_M

IC_I

NP2

ExtF

FC_M

IC_I

NN

2

IO27

CX_

GN

D

LED

_VC

C

CX_

GN

D

VCC

CX_

GN

DC

X_G

ND

CX_

GN

D

GN

D

VDD

33

GN

D

GN

D

GN

D

GN

D

SEN

SOR

_VN

2

IO23

2,5,

6IO

182,

5,6

CX_

MIC

BIA

S15

CX_

MIC

BIA

S25

ExtF

FC_M

IC_I

NP1

5Ex

tFFC

_MIC

_IN

N1

5

ExtF

FC_M

IC_I

NP2

5Ex

tFFC

_MIC

_IN

N2

5

IO27

2,5

Title

Siz

eD

ocum

ent

Num

ber

Re

v

Dat

e:S

heet

of

<03_

Butto

n& C

onne

ctor

>1.

3

ES

P32

-LY

RA

TD-S

YN

A

C

36

Frid

ay, A

ugus

t 30,

201

9

Title

Siz

eD

ocum

ent

Num

ber

Re

v

Dat

e:S

heet

of

<03_

Butto

n& C

onne

ctor

>1.

3

ES

P32

-LY

RA

TD-S

YN

A

C

36

Frid

ay, A

ugus

t 30,

201

9

Title

Siz

eD

ocum

ent

Num

ber

Re

v

Dat

e:S

heet

of

<03_

Butto

n& C

onne

ctor

>1.

3

ES

P32

-LY

RA

TD-S

YN

A

C

36

Frid

ay, A

ugus

t 30,

201

9

R40

2.2K

(1%

)

C13

7

0.1u

F/16

V(1

0%)S3

SW_R

11

22

33

44

S4

SW_R

11

22

33

44

D19

LESD

5D5.

0CT1

G

J13

AFC

01-S

16FC

A-00

11

22

33

44

55

66

77

88

99

1010

1111

1212

1313

1414

1515

1616

S1

SW_R

11

22

33

44

S2 SW_R

11

22

33

44

R39

5.76

K(1

%)

R37

12K(

1%)

C17

10nF

/50V

(10%

)

R30

10K(

5%)

R27

60R

(5%

)

R32

27.4

K(1

%)

C13

8

10uF

/16V

(20%

)

Espressif ! /!13 17 2019.10

Page 17: ESP32-LyraTD-SYNA User Guide EN - Espressif...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

!

Appendix A

!

5 5

4 4

3 3

2 2

1 1

DD

CC

BB

AA

Note:

Include

+1.0V

Test P

oint

as s

hown i

n all

designs.

Place

L16, C

149, C

150

close

to C

X20921 d

evice.

Critical L

ayout

Note:

C146 n

egative

terminal a

nd C

150

negative t

erminal

connecting

to

PGND s

hould

both b

e placed v

ery

close

to p

in 6

of

the

CX20921

device.

The

PGND-GND 5

0-mil

tie

connection

should

be c

lose t

o the

C146/C150/

Pin_6

junction.

Doing

this w

ill

minimize t

he G

ND b

ounce

in t

he D

C-DC c

onverter a

rea.

VISHAY:IFS

C151

5AHE

R2R2

M01.

Note:

Include

resistor l

adder

and

capacitor

as s

hown i

n all

designs.

Single e

nded:45ohm

Differen

tial

:90o

hm

+5V_

USB

USB_

DPUSB_

DM

GND

TXC:

7A-24.

000M

AAJ-

T

Note:

VDDO_1

and

VDDO_2 s

hould

connect

directly t

o +3.3V

or +

1.8V

external S

ystem

power, b

ased o

n I/O

signal l

evel r

equirement

s.

VDDO_1 -

Input s

upply

which

internally

powers

I2S

TX,

I2C

Slave, S

PI M

aster, a

nd R

ESET i

nterfaces.

VDDO_2 -

Input s

upply

which

internally

powers

I2S

RX,

GPIOs, U

ART

and

DMIC i

nterfaces.

VDDO_3 -

Input s

upply

which

internally

powers

the

USB

interface,

must

always c

onnect t

o +3.3V

only.

Create P

GND

plane, s

eparate

from

normal G

ND (

Digital

Ground)

plane

for

internal D

CDC.

Tie

the

PGND t

o Digital

Ground p

lanes

together a

t C

146/C150/P

in_6 j

unction

using

50-mil

trace.

DCDC/DIG

ITAL/M

IC G

ROUN

DS

Mic

section

has

its

own

plane

MGND

.Tie

MGND t

o GND

with 5

0-mils

metal

plane

on B

ottom

layer.

Shor

t PG

ND

to D

GN

D d

irect

ly w

ith a

trac

e.Sh

ort M

GN

D to

DG

ND

dire

ctly

with

a tr

ace

Do

not u

se a

res

isto

r or

ferr

ite b

etw

een

the

grou

nds.

Powe

r fo

r CX

2092

1:Fr

om C

X209

21 d

atas

heet

P18

.Po

wer

cons

umpt

ion

max

is 3

.3x4

9mA=

161.7m

W.

3.3V

/400

mA

CX_

USB

_DP

CX_

USB

_DM

CX_

USB

_5VD

ET

CX2

0921

_3V

3

CX_

PG

ND

CX_

GN

D

CX2

0921

_3V

3

CX_

PG

ND

CX2

0921

_3V

3

CX_

GN

D

CX2

0921

_1V

0

CX_

PG

ND

CX_

GN

D

CX_

GN

D

CX_

GN

D

CX_

GN

DC

X_G

ND

CX2

0921

_1V

0C

X209

21_3

V3

CX_

GN

D

CX2

0921

_3V

3

CX2

0921

_3V

3

CX_

GN

D

CX2

0921

_3V

3

CX_

GN

DC

X209

21_1

V0

CX_

GN

DC

X_G

ND

CX_

MG

ND

CX_

MG

ND

CX_

GN

D

CX_

GN

D

CX2

0921

_3V

3

CX_

GN

DC

X_M

GN

DC

X_P

GN

D

CX_

GN

D

CX_

GN

D

VCC

CX_

GN

D

CX_

GN

D

CX2

0921

_3V

3

CX_

GN

D

CX_

GN

DD

GN

D

VDD

33

Title

Siz

eD

ocum

ent

Num

ber

Re

v

Dat

e:S

heet

of

<04_

CX2

0921

_Pow

er>

1.3

ES

P32

-LY

RA

TD-S

YN

A

C

46

Frid

ay, A

ugus

t 30,

201

9

Title

Siz

eD

ocum

ent

Num

ber

Re

v

Dat

e:S

heet

of

<04_

CX2

0921

_Pow

er>

1.3

ES

P32

-LY

RA

TD-S

YN

A

C

46

Frid

ay, A

ugus

t 30,

201

9

Title

Siz

eD

ocum

ent

Num

ber

Re

v

Dat

e:S

heet

of

<04_

CX2

0921

_Pow

er>

1.3

ES

P32

-LY

RA

TD-S

YN

A

C

46

Frid

ay, A

ugus

t 30,

201

9

R77

10K(

5%)

C16

4

10nF

/50V

(10%

)

R23

40R

(5%

)

R18

022

.1R

(5%

)

C16

1

10nF

/50V

(10%

)

C14

5

0.1u

F/16

V(1

0%)

C16

5

10uF/16V(20%)

TP21 1

C16

8

0.1uF/16V(10%)

C15

4

10nF

/50V

(10%

)

R80

10K(

5%)(

NC

)

C14

6

10uF

/16V

(20%

)

C16

2

1uF/

25V(

10%

)

C16

6

0.1uF/16V(10%)

R18

122

.1R

(5%

)

POWE

R

U19

E

CX2

0921

_60P

_EN

G

VD

D33

_AN

A38

VD

D_L

DO

33A

NA

OU

T43

VD

D_L

DO

33IN

44

VD

D_L

DO

12O

UT

45

EP

61

VD

DO

_14

VD

DO

_221

VD

DO

_328

VD

D5

VD

D9

VD

D20

VD

D27

VD

D50

VD

D56

VD

DO

_155

TP22 1

C15

5

1uF/

25V(

10%

)

C17

8

10nF

/50V

(10%

)

R17

6

100K

(1%

)

C16

9

0.1uF/16V(10%)

R17

730

1K(1

%)

TP23 1

C17

9

1uF/

25V(

10%

)

C18

0

10nF

/50V

(10%

)

C66

4.7u

F/10

V(2

0%)

C15

1

1uF/

16V(

10%

)

C15

8

10nF

/50V

(10%

)

C17

0

0.1uF/16V(10%)

TP24 1

C15

6

0.1u

F/16

V(1

0%)

C18

1

1uF/

25V(

10%

)

C15

322

pF/5

0V(5

%)

C15

9

1uF/

25V(

10%

)

C14

7

10nF

/50V

(10%

)

C17

2

1uF/

25V(

10%

)

C15

7

10uF

/16V

(20%

)

C17

1

0.1uF/16V(10%)

R26

3

52.3

K(1

%)

C14

8

1uF/

25V(

10%

)

C15

222

pF/5

0V(5

%)

C17

3

10nF

/50V

(10%

)

C16

0

10nF

/50V

(10%

)

R21

40R

(5%

)

R18

233

R(5

%)

R26

4

30.1

K(1

%)

TP20 1

XTAL

DCDC

USB

U19

D

CX2

0921

_60P

_EN

G

DC

DC

_PV

SS

6

US

B_D

P29

AV

DD

3313

PS

UP

_1V

046

PS

UP

_3V

349

XIN

47

XO

UT

48

US

B_D

M30

DC

DC

_EN

11

DC

DC

_FB

12

DC

DC

_IR

EF

10

DC

DC

_SW

7

PV

DD

338

US

B_5

VD

ET

31

C17

4

10nF

/50V

(10%

)

C14

9

0.1u

F/16

V(1

0%)

Y3 24M

Hz

C68

0.1u

F/16

V(1

0%)

L16

2.2u

H(2

0%)@

3A

R17

880

.6K

(5%

)

C17

5

1uF/

25V(

10%

)

C15

0

10uF

/16V

(20%

)

C69

10uF

/16V

(20%

)

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

R17

913

0K(5

%)

R27

50R

(5%

)(N

C)

C16

3

1uF/

25V(

10%

)

C16

7

0.1uF/16V(10%)

U11

RT9

043G

B@40

0mA

EN

3

OU

T5

VIN

1

NR

/FB

4

GND2

R18

32.

2R(1

%)

Espressif ! /!14 17 2019.10

Page 18: ESP32-LyraTD-SYNA User Guide EN - Espressif...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

!

Appendix A

!

5 5

4 4

3 3

2 2

1 1

DD

CC

BB

AA

Digi

tal

MEMS

Opt

ion

CX20

921

I2S

Bloc

k:CX

2092

1 Co

mmun

icat

ion

Bloc

k:

Note

:Fo

r AS

R de

sign

s, t

he G

PIO

to h

ost

proc

esso

r co

nnec

tion

is

requ

ired

.Fo

r Vo

IP d

esig

ns,

the

GPIO

to

host

con

nect

ion

is o

ptio

nal.

DSP

RESET

: IO19

Codec_I2

S_MC

LK

DSP_I2C_SDA

: IO18

DSP_I2C_SCL

: IO23

DSP

GPIO

DSP_I2S_BCLK :

IO33

DSP_I2S_DO :

IO35

DSP_I2S_LRCK :

IO32

MUTE_ON_

OFF:

IO27

To M

CU;

From

MCU

;

MIC

MUTE

LED

CX20

921

Mic

Bloc

k:

Anal

og M

ic I

nput

:

Note

:If

the

mic

fro

m FF

C co

nnec

tor

is a

nalo

g ME

MS,

R277

,R27

8,R2

79,R

280,

sho

uld

be s

urfa

ce-m

ount

ed,

And

R53,

R52,

R67,

R69,

sho

uld

be N

C.

MIC

INPUT

Opti

on1

Opti

on2

AEC_I2

S_FS

:AEC_I2S_

DATA

:

AEC_I2S_

BCLK

:

CX_

TXD

CX_

RTS

/DM

IC_C

LK

CX_

CTS

/DM

IC_D

AT

CX_

RXD

CX_

I2C

_SD

A

CX_

GPI

O_1

CX_

RST

N

CX_

RST

N

CX_

I2C

_SC

L

CX_

I2S_

TX_D

ATA

CX_

I2C

_SC

L

CX_

TXD

CX_

I2S_

TX_C

LKC

X_I2

S_TX

_LR

CK

CX_

GPI

O_1

IO27

IO27

CX_

INPU

T_IN

P1

CX_

INPU

T_IN

N1

IO27

CX_

AN

A_IN

P1

CX_

AN

A_IN

N1

CX_

MIC

BIA

S1

CX_

INPU

T_IN

P2

CX_

INPU

T_IN

N2

IO27

CX_

AN

A_IN

P2

CX_

AN

A_IN

N2

CX_

MIC

BIA

S2

CX_

I2S_

RX_

CLK

CX_

I2S_

RX_

LRC

K

CX_

I2S_

RX_

DAT

A2

CX_

I2S_

RX_

DAT

A3

CX_

I2S_

TX_L

RC

K

CX_

I2S_

TX_C

LK

CX_

I2S_

TX_D

ATA

CX_

AN

A_IN

P1

CX_

AN

A_IN

N1

CX_

AN

A_IN

P2

CX_

AN

A_IN

N2

CX_

MIC

BIA

S1

CX_

MIC

BIA

S2IO

27

CX_

I2C

_SD

A

CX_

GPI

O_1

CX_

MIC

BIA

S1

CX_

MIC

BIA

S2

ExtF

FC_M

IC_I

NP1

ExtF

FC_M

IC_I

NN

1

ExtF

FC_M

IC_I

NP2

ExtF

FC_M

IC_I

NN

2

ExtF

FC_M

IC_I

NP1

CX_

INPU

T_IN

P1O

nBoa

rd_M

IC_I

NP1

AuxI

N_M

IC_I

NP1

CX_

INPU

T_IN

N1

OnB

oard

_MIC

_IN

N1

AuxI

N_M

IC_I

NN

1Ex

tFFC

_MIC

_IN

N1

CX_

INPU

T_IN

P2O

nBoa

rd_M

IC_I

NP2

AuxI

N_M

IC_I

NP2

ExtF

FC_M

IC_I

NP2

CX_

INPU

T_IN

N2

OnB

oard

_MIC

_IN

N2

AuxI

N_M

IC_I

NN

2Ex

tFFC

_MIC

_IN

N2

OnB

oard

_MIC

_IN

P2

OnB

oard

_MIC

_IN

N2

OnB

oard

_MIC

_IN

P1

OnB

oard

_MIC

_IN

N1

AuxI

N_M

IC_I

NN

1Au

xIN

_MIC

_IN

P1

AuxI

N_M

IC_I

NN

2Au

xIN

_MIC

_IN

P2

CX2

0721

_BC

LKC

X207

21_L

RC

LKC

X207

21_A

DC

DAT

CX2

0721

_BC

LK

CX2

0721

_LR

CLK

CX_

I2S_

RX_

DAT

A1C

X207

21_A

DC

DAT

CX_

GN

D

CX2

0921

_3V

3

CX_

GN

D

CX2

0921

_3V

3C

X209

21_3

V3

CX2

0921

_3V

3

CX_

GN

D

CX_

GN

D

CX_

GN

D

CX2

0921

_3V

3

CX_

GN

DC

X_G

ND

CX2

0921

_3V

3

DG

ND

CX2

0921

_3V

3

CX_

MG

ND

CX_

MG

ND

CX_

MG

ND

CX_

MG

ND

CX_

MG

ND

CX_

MG

ND

CX_

MG

ND

CX_

MG

ND

CX2

0921

_3V

3 CX_

MG

ND

CX_

MG

ND

CX_

MG

ND

CX_

MG

ND

CX_

MG

ND

CX_

MG

ND

CX_

GN

D

CX_

MG

ND

CX_

MG

ND

CX_

MG

ND

CX_

MG

ND

CX_

MG

ND

VDD

33

CX2

0921

_3V

3

CX_

GN

D

CX_

GN

DC

X_G

ND

CX_

GN

DC

X_G

ND

IO19

2

IO18

2,3,

6

IO35

2

CX_

TXD

6

IO23

2,3,

6

IO33

2IO

322

CX_

GPI

O_1

2

IO27

2,3

CX_

MIC

BIA

S13

CX_

MIC

BIA

S23

ExtF

FC_M

IC_I

NP1

3Ex

tFFC

_MIC

_IN

N1

3

ExtF

FC_M

IC_I

NP2

3Ex

tFFC

_MIC

_IN

N2

3

CX2

0721

_BC

LK6

CX2

0721

_LR

CLK

6C

X207

21_A

DC

DAT

6

Title

Siz

eD

ocum

ent

Num

ber

Re

v

Dat

e:S

heet

of

<05_

CX2

0921

_Int

erfa

ce>

1.3

ES

P32

-LY

RA

TD-S

YN

A

C

56

Frid

ay, A

ugus

t 30,

201

9

Title

Siz

eD

ocum

ent

Num

ber

Re

v

Dat

e:S

heet

of

<05_

CX2

0921

_Int

erfa

ce>

1.3

ES

P32

-LY

RA

TD-S

YN

A

C

56

Frid

ay, A

ugus

t 30,

201

9

Title

Siz

eD

ocum

ent

Num

ber

Re

v

Dat

e:S

heet

of

<05_

CX2

0921

_Int

erfa

ce>

1.3

ES

P32

-LY

RA

TD-S

YN

A

C

56

Frid

ay, A

ugus

t 30,

201

9

I2S

U19

A

CX2

0921

_60P

_EN

G

I2S

_TX

_CLK

3

I2S

_TX

_DA

TA_1

1

I2S

_TX

_LR

CK

2

I2S

_RX

_CLK

22

I2S

_RX

_DA

TA_1

23

I2S

_RX

_LR

CK

24

I2S

_RX

_DA

TA_2

25

I2S

_RX

_DA

TA_3

26

TP77 1

R69

1.1K

(5%

)

R20

1

10K(

5%)

J16

CO

N3x

1_2P

54

123

D29

LESD

8D3.

3CAT

5G(N

C)

TP34 1

TP26 1

R30

00R

(5%

)

R53

1.1K

(5%

)

J4

CO

N21

1

22

C18

5

10nF

/50V

(10%

)D

30

LESD

8D3.

3CAT

5G(N

C)

L17

39nH

(±2%

)

J17

CO

N3x

1_2P

54

123

L19

39nH

(±2%

)

TP27 1U

20

W25

Q32

FVSS

IG

/CS

1

DO

2

/WP

3GND

4

DI

5

CLK

6

/HO

LD7

VCC8

R20

633

R(5

%)

C18

6

10nF

/50V

(10%

)

D32

LESD

8D3.

3CAT

5G(N

C)

R27

90R

(5%

)(N

C)

R19

110

K(5%

)

R18

40R

(5%

)

TP28 1

R28

210

K(5%

)

R197 1.8K(5%)(NC)

C19

0

10pF

/50V

(5%

)(N

C)

R20

40R

(5%

)

R19

4

10K(

5%)(

NC

)

R20

30R

(5%

)

D33

LESD

8D3.

3CAT

5G(N

C)

L20

39nH

(±2%

)

R29

90R

(5%

)

R28

40R

(5%

)

C50

10nF

/50V

(10%

)

R20

733

R(5

%)

C18

8

10uF

/16V

(20%

)(N

C)

L18

39nH

(±2%

)

R19

233

R(5

%)

R52

1.1K

(5%

)

R18

50R

(5%

)

R86

0R(5

%)

J14

CO

N3x

1_2P

54

123

D18

RED

LED

R20

90R

(5%

)

C18

9

10uF

/16V

(20%

)(N

C)

C52

10nF

/50V

(10%

)

TP29 1

C53

10pF

/50V

(5%

)

Audio

PortU

19B

CX2

0921

_60P

_EN

G

AN

A_I

NP

140

MIC

BIA

S2

32M

ICB

IAS

141

AN

A_I

NN

139

AN

A_I

NP

233

AN

A_I

NN

234

VR

EFN

36

VR

EFP

35

VR

EF

42

VS

S_R

EF

37

C34

10nF

/50V

(10%

)

Q7

LBSS

138L

T1G

TP30 1

R29

75.

76K

(1%

)

R27

80R

(5%

)(N

C)

C51

470p

F/50

V(10

%)

R198 1.8K(5%)(NC)

R18

60R

(5%

)

C36

10nF

/50V

(10%

)

R20

50R

(5%

)

TP31 1

C32

10pF

/50V

(5%

)

R27

70R

(5%

)(N

C)

R20

80R

(5%

)

Q11

LBSS

138L

T1G

R21

249

.9R

(1%

)

R19

90R

(5%

)

C54

33pF

/50V

(±2p

F)

C18

4

1uF/

25V(

10%

)

TP32 1

R19

3

10K(

5%)(

NC

)

R19

50R

(5%

)

C19

147

0pF/

50V(

10%

)

C33

33pF

/50V

(±2p

F)

R18

70R

(5%

)

U23

TS3A

4742

DC

N

IN1

1

IN2

6C

OM

17

CO

M2

4

VCC2

GND5

NC

23

NC

18

R29

610

K(5%

)

R21

349

.9R

(1%

)

J15

CO

N3x

1_2P

54

123

R20

00R

(5%

)

R20

210

0K(1

%)

J5

CO

N21

1

22

C18

20.

1uF/

16V

(10%

)

TP25 1

R29

80R

(5%

)

U22

TS3A

4742

DC

N

IN1

1

IN2

6C

OM

17

CO

M2

4

VCC2

GND5

NC

23

NC

18

TP38

1

R19

60R

(5%

)R

188

4.7K

(5%

)

TP76 1

C48

10pF

/50V

(5%

)

J18

A125

1WR

-S-4

P

11

22

33

44

C20

70.

1uF/

16V

(10%

)

R19

04.

7K(5

%)

R21

049

.9R

(1%

)

C18

3

1uF/

16V(

10%

)

I2C

Slave

SPI

Mast

er

GPIO

UART

U19

C

CX2

0921

_60P

_EN

G

SP

I_M

O51

SP

I_M

I53

S_S

DA

58

SP

I_C

K52

S_S

CL

59

SP

I_S

S0

54

TES

T57

TXD

14

RX

D15

CTS

16

RTS

17

GP

IO_1

18

GP

IO_2

19

RS

TN60

C18

7

1uF/

25V(

10%

)

TP33 1

C37

10pF

/50V

(5%

)

C49

33pF

/50V

(±2p

F)

R18

94.

7K(5

%)

TP39

1

C20

60.

1uF/

16V

(10%

)

R30

65.

76K

(1%

)

C38

33pF

/50V

(±2p

F)

R67

1.1K

(5%

)

R21

149

.9R

(1%

)

R28

00R

(5%

)(N

C)

D34

GR

EEN

LED

12

Espressif ! /!15 17 2019.10

Page 19: ESP32-LyraTD-SYNA User Guide EN - Espressif...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

!

Appendix A

!

5 5

4 4

3 3

2 2

1 1

DD

CC

BB

AA

SPK:

Phon

e Ja

ck:

Codec_EA

PD:I

O4

Codec_I2C_

SDA:

IO18

Codec_I2C_

SCL:

IO23

PJ_DET

:IO2

1

Codec_SPK_

MUTE

:IO2

2

Codec_I2S_

BCLK

:IO5

Codec_I2S_

FS:I

O25

Codec_I2S_

SDI0

:IO2

6

Codec_I2S_

MCLK

:IO0

AEC_I2S_

BCLK

:

1.When P

J is n

ot p

lugged i

n,

PJ_JSENSE

is p

ulled

low,

thus m

usic o

utput

via

speaker.

2.When P

J is p

lugged i

n,

PJ_JSENSE

is p

ulled

high,

thus m

usic o

utput

via

PJ.

Codec_I2

S_MC

LK

Code

c:

AEC_I2

S_FS

:AEC_I2S_

DATA

:

Powe

r Su

pply

for

Cod

ec:

3.3V

/400

mA

1.8V

/150

mA

RO

UTP

RO

UTN

LOU

TN

LOU

TP

HP_

A_R

HP_

A_L

IO18

IO4IO

23

IO21

IO22IO

0IO

5IO

25IO

26

PJ_D

ET

CX_

TXD

IO22

CX2

0721

_SPK

R_M

UTE

CX2

0721

_Jac

k_S

ense

_IR

Q

CX_

TXD

HP_

A_L

HP_

A_R

HG

ND

AH

GN

DB

POR

TD_A

_MIC

POR

TD_B

_MIC

MIC

/LIN

EIN

_B_L

MIC

/LIN

EIN

_B_R

MIC

BIA

S_B

CX2

0721

_BC

LKC

X207

21_L

RC

LKC

X207

21_A

DC

DAT

CX2

0721

_DAC

DAT

IO0

IO5

IO25

IO26

CX2

0721

_MC

LK

IO23

IO18

CX2

0721

_SC

LC

X207

21_S

DA

DM

IC1_

CLK

DM

IC1_

DAT

RO

UTN

RO

UTP

LOU

TP

LOU

TN

CX2

0721

_BC

LKC

X207

21_L

RC

LKC

X207

21_A

DC

DAT

IO4

CX2

0721

_EAP

D

IO21

Cod

ec_G

ND

Cod

ec_G

ND

Cod

ec_A

GN

D

Cod

ec_A

GN

D

Cod

ec_A

GN

D

Cod

ec_A

GN

DC

odec

_AG

ND

Cod

ec_G

ND

Cod

ec_G

ND

Cod

ec_G

ND

Cod

ec_G

ND

CX2

0721

_3V

3

VDD

18

Cod

ec_G

ND

Cod

ec_G

ND

GN

DC

odec

_GN

DC

odec

_GN

DC

odec

_AG

ND

Cod

ec_G

ND

Cod

ec_A

GN

D

Cod

ec_A

GN

D

Cod

ec_G

ND

Cod

ec_G

ND

Cod

ec_A

GN

D

Cod

ec_G

ND

AVD

D5

Cod

ec_A

GN

DC

odec

_AG

ND

CP_

VD

D18

Cod

ec_G

ND

Cod

ec_G

ND

VDD

18

Cod

ec_G

ND

Cod

ec_G

ND

Cod

ec_G

ND

PVD

D5_

L/R

Cod

ec_G

ND

Cod

ec_G

ND

Cod

ec_G

ND

Cod

ec_G

ND

Cod

ec_G

ND

Cod

ec_G

ND

CX2

0721

_3V

3

CX2

0721

_3V

3

Cod

ec_G

ND

CX2

0721

_3V

3

Cod

ec_G

ND

CX2

0721

_3V

3

Cod

ec_A

GN

D

Cod

ec_G

ND

Cod

ec_G

ND

Cod

ec_G

ND

Cod

ec_G

ND

Cod

ec_G

ND

Cod

ec_V

CC

Cod

ec_V

CC

CX2

0721

_1V

8C

X207

21_1

V8

Cod

ec_G

ND

Cod

ec_V

CC

Cod

ec_G

ND

Cod

ec_G

ND

CX2

0721

_3V

3

Cod

ec_G

ND

Cod

ec_G

ND

Cod

ec_V

CC

Cod

ec_G

ND

CX2

0721

_1V

8

Cod

ec_G

ND

Cod

ec_G

ND

Cod

ec_G

ND

VCC

Cod

ec_V

CC

IO18

2,3,

5

IO4

2

IO23

2,3,

5

IO21

2

IO22

2

IO0

2IO

52

IO25

2IO

262

CX_

TXD

5

CX2

0721

_BC

LK5

CX2

0721

_LR

CLK

5C

X207

21_A

DC

DAT

5

Title

Siz

eD

ocum

ent

Num

ber

Re

v

Dat

e:S

heet

of

<06_

Cod

ec>

1.3

ES

P32

-LY

RA

TD-S

YN

A

C

66

Thur

sday

, Sep

tem

ber 0

5, 2

019

Title

Siz

eD

ocum

ent

Num

ber

Re

v

Dat

e:S

heet

of

<06_

Cod

ec>

1.3

ES

P32

-LY

RA

TD-S

YN

A

C

66

Thur

sday

, Sep

tem

ber 0

5, 2

019

Title

Siz

eD

ocum

ent

Num

ber

Re

v

Dat

e:S

heet

of

<06_

Cod

ec>

1.3

ES

P32

-LY

RA

TD-S

YN

A

C

66

Thur

sday

, Sep

tem

ber 0

5, 2

019

U13

RT9

043G

B@40

0mA

EN

3

OU

T5

VIN

1

NR

/FB

4

GND2

C10

22.

2uF/

10V

(10%

)

R10

40R

(5%

)

PJ-3

930-

A

J7

11

22

33

44

55

66

77

88

C98

1000

pF/5

0V(5

%)(

NC

)

C125 390pF/50V(10%)(NC)

R27

210

K(5%

)

C99

1000

pF/5

0V(5

%)(

NC

)

R23

90R

(5%

)

C12

0

0.1u

F/16

V(1

0%)

C11

9

10uF

/16V

(20%

)

C12

4

330p

F/50

V(10

%)(

NC

)

C10

11u

F/16

V(10

%)

R90

10K(

5%)

R91

0R(5

%)

R28

30R

(5%

)(N

C)

D27

LESD

8D3.

3CAT

5G(N

C)

R23

70R

(5%

)

TP42

1

R25

9

52.3

K(1

%)

C96

1000

pF/5

0V(5

%)(

NC

)

TP6

1

C97

1000

pF/5

0V(5

%)(

NC

)

R87

0R(5

%)

R24

45.

1R(5

%)

R95

4.7K

(5%

)(N

C)

R98

4.7K

(5%

)(N

C)

R10

147

R(1

%)

C90

0.1u

F/16

V(1

0%)

R11

50R

(5%

)

C12

1

0.1u

F/16

V(1

0%)

TP45

1

C20

0

4.7u

F/10

V(2

0%)

R10

80R

(5%

)

R24

20R

(5%

)

C12

8

330p

F/50

V(10

%)(

NC

)

R31

20R

(5%

)

R10

60R

(5%

)(N

C)

R24

35.

1R(5

%)

C19

8

0.1u

F/16

V(1

0%)

R30

910

K(5%

)(N

C)

R26

1

10K(

5%)

R24

10R

(5%

)

C10

8

4.7u

F/10

V(2

0%)

C11

2

0.1u

F/16

V(1

0%)

R92

0R(5

%)

C12

2

330p

F/50

V(10

%)(

NC

)

C80

22pF

/50V

(NC

)

C11

5

0.1u

F/16

V(1

0%)

R25

80R

(5%

)

C88

4.7u

F/10

V(2

0%)

R11

1

100K

(1%

)

R10

247

R(1

%)

L22

0R(5

%)

R31

10R

(5%

)

C11

0

4.7u

F/10

V(2

0%)

C126 390pF/50V(10%)(NC)

R26

2

10K(

5%)(

NC

)

C86

22pF

/50V

(NC

)

C10

02.

2uF/

10V

(10%

)

C10

9

0.1u

F/16

V(1

0%)

C19

9

10uF

/16V

(20%

)

R23

10R

(5%

)

TP43

1

R84

33R

(5%

)

C12

3

330p

F/50

V(10

%)(

NC

)

R23

80R

(5%

)

L21

0R(5

%)

TP41

1

R93

33R

(5%

)

R23

20R

(5%

)

R31

010

K(5%

)

C19

6

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

C11

7

100u

F/6.

3V(2

0%)(

NC

)

R24

00R

(5%

)

R11

4

10K(

5%)(

NC

)TP

461

R85

33R

(5%

)

C79

0.1u

F/16

V(1

0%)

C10

32.

2uF/

10V

(10%

)

R26

0

30.1

K(1

%)

J9

A200

1WR

-S-2

P

R29

00R

(5%

)

R11

310

K(5%

)

U21

TPS7

1718

DC

KR

EN

3

OU

T5

VIN

1

NR

/FB

4

GND2

R11

70R

(5%

)

C81

220p

F/50

V(5%

)

C11

6

0.1u

F/16

V(1

0%)

C85

220p

F/50

V(5%

)

R11

010

K(5%

)(N

C)

R89

47R

(1%

)

C10

6

0.1u

F/16

V(1

0%)

J8

A200

1WR

-S-2

P

R11

80R

(5%

)

C87

220p

F/50

V(5%

)

U12

CX2

0721

-11Z

/CX2

2721

-11Z

DA

CD

AT

1

MC

LK2

VDDIO3

SC

L4

SD

A5

MU

SIC

_RE

Q/S

PD

IF/G

PIO

06

SP

KR

_MU

TE#/

SP

DIF

/GP

IO1

7

PO

RTC

_DM

IC_D

ATA

1/G

PIO

38

DVDD_IO9

PO

RTC

_DM

IC_C

LK1/

GP

IO2

10

EA

PD

11

PORTG_LEFT_P12

PVDD5_LEFT13

PORTG_LEFT_N14

PORTG_RIGHT_N15

PVDD5_RIGHT16

PORTG_RIGHT_P17

CP_VDD1818

CP

_FLY

_P19

CP

_FLY

_N20

CP_VNEG21

CP_VPOS22

PO

RTA

_L23

PO

RTA

_R24

HG

ND

A25

HG

ND

B26

VREF_DAC27 V

RE

FP28

AVDD529

PO

RTD

_A30

PO

RTD

_B31

MIC

BIA

SB

32

PO

RTB

_L33

PO

RTB

_R34

JSE

NS

E35

PC

BE

EP

36

LDO_AVDD37

VDD1838

LDO_VDD_CORE39

BC

LK40

LRC

LK41

AD

CD

AT

42

EXP_GND43

R10

047

R(1

%)

C10

7

4.7u

F/10

V(2

0%)

C11

8

10uF

/16V

(20%

)

R11

90R

(5%

)

C19

7

10nF

/50V

(10%

)

TP5

1

R11

20R

(5%

)

C10

50.

47uF

/16V

(10%

)

D28

LESD

8D3.

3CAT

5G(N

C)

C11

4

10uF

/16V

(20%

)

C82

220p

F/50

V(5%

)

TP44

1

R10

533

R(5

%)(

NC

)

C10

41u

F/16

V(10

%)

TP47

1

Espressif ! /!16 17 2019.10

Page 20: ESP32-LyraTD-SYNA User Guide EN - Espressif...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

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 © 2019 Espressif Inc. All rights reserved.

Espressif IoT Teamwww.espressif.com


Recommended