background image

!

Appendix A

!

 

5

5

4

4

3

3

2

2

1

1

D

D

C

C

B

B

A

A

SP

K:

Ph

on

Ja

ck

:

Co

de

c_

E

A

P

D

:

I

O

4

Co

de

c_

I2

C

_

S

D

A

:

I

O

1

8

Co

de

c_

I2

C

_

S

C

L

:

I

O

2

3

PJ

_D

ET:

I

O

2

1

Co

de

c_

SP

K_M

U

T

E

:

I

O

2

2

Co

de

c_

I2

S

_

B

C

L

K

:

I

O

5

Co

de

c_

I2

S

_

F

S

:

I

O

2

5

Co

de

c_

I2

S_S

D

I

0

:

I

O

2

6

Co

de

c_

I2

S_M

C

L

K

:

I

O

0

 

AE

C_

I2

S

_

B

C

L

K

:

1.When 

PJ 

is 

not 

plugged 

in,

 

 

PJ_JSENSE 

is 

pulled 

low,

 

 

thus 

music 

output 

via 

speaker.

2.When 

PJ 

is 

plugged 

in,

 

 

PJ_JSENSE 

is 

pulled 

high,

 

 

thus 

music 

output 

via 

PJ.

Co

de

c_

I

2

S

_

M

C

L

K

Co

de

c:

AE

C_

I2S

_

F

S

:

AE

C_

I2

S

_

D

A

T

A

:

Po

we

Su

pp

ly

 f

or

 C

od

ec

:

3.3V

/

4

0

0

m

A

1.8V

/

1

5

0

m

A

RO

UT

P

RO

UT

N

LOU

T

N

LOU

T

P

HP

_A_R

HP

_A_L

IO18

IO4

IO23

IO21

IO22

IO0

IO5 IO25 IO26

P

J_

DE

T

CX

_TX

D

IO22

CX

20

72

1_

S

P

K

R_M

UT

E

CX

20

72

1_

Ja

ck

_Sense

_IRQ

CX

_TX

D

HP

_A_L

HP

_A_R

HG

ND

A

HG

ND

B

P

O

RT

D_A

_MIC

P

O

RT

D_B

_MIC

MIC

/LI

NE

IN_B

_L

MIC

/LI

NE

IN_B

_R

MIC

B

IA

S

_B

CX

20

72

1_

B

CLK

CX

20

72

1_

LRC

LK

CX

20

72

1_

A

DC

DA

T

CX

20

72

1_

DA

CD

A

T

IO0 IO5 IO25

IO26

CX

20

72

1_

MC

LK

IO23 IO18

CX

20

72

1_

S

CL

CX

20

72

1_

S

DA

DM

IC1_CLK

DM

IC1_DA

T

RO

UT

N

RO

UT

P

LOU

T

P

LOU

T

N

CX

20

72

1_

B

CLK

CX

20

72

1_

LRC

LK

CX

20

72

1_

A

DC

DA

T

IO4

CX

20

72

1_

E

A

P

D

IO21

Codec

_GN

D

Codec

_GN

D

Codec

_AG

ND

Codec

_AG

ND

Codec

_AG

ND

Codec

_AG

ND

Codec

_AG

ND

Codec

_GN

D

Codec

_GN

D

Codec

_GN

D

Codec

_GN

D

CX

20

72

1_

3V3

V

DD

18

Codec

_GN

D

Codec

_GN

D

G

ND

Codec

_GN

D

Codec

_GN

D

Codec

_AG

ND

Codec

_GN

D

Codec

_AG

ND

Codec

_AG

ND

Codec

_GN

D

Codec

_GN

D

Codec

_AG

ND

Codec

_GN

D

A

V

DD

5

Codec

_AG

ND

Codec

_AG

ND

CP

_VD

D18

Codec

_GN

D

Codec

_GN

D

V

DD

18

Codec

_GN

D

Codec

_GN

D

Codec

_GN

D

P

V

DD

5_

L/R

Codec

_GN

D

Codec

_GN

D

Codec

_GN

D

Codec

_GN

D

Codec

_GN

D

Codec

_GN

D

CX

20

72

1_

3V3

CX

20

72

1_

3V3

Codec

_GN

D

CX

20

72

1_

3V3

Codec

_GN

D

CX

20

72

1_

3V3

Codec

_AG

ND

Codec

_GN

D

Codec

_GN

D

Codec

_GN

D

Codec

_GN

D

Codec

_GN

D

Codec

_VC

C

Codec

_VC

C

CX

20

72

1_

1V8

CX

20

72

1_

1V8

Codec

_GN

D

Codec

_VC

C

Codec

_GN

D

Codec

_GN

D

CX

20

72

1_

3V3

Codec

_GN

D

Codec

_GN

D

Codec

_VC

C

Codec

_GN

D

CX

20

72

1_

1V8

Codec

_GN

D

Codec

_GN

D

Codec

_GN

D

V

CC

Codec

_VC

C

IO18

2,3

,5

IO4

2

IO23

2,3

,5

IO21

2

IO22

2

IO0

2

IO5

2

IO25

2

IO26

2

CX

_TX

D

5

CX

20

72

1_

B

CLK

5

CX

20

72

1_

LRC

LK

5

CX

20

72

1_

A

DC

DA

T

5

Ti

tle

Size

Doc

umen

Numb

er

Re

v

Da

te

:

Sh

e

e

t

of

<06_

Codec

>

1.3

ESP32-

LYR

ATD-SYN

A

C

6

6

T

hu

rs

da

y, 

S

ep

tembe

r 0

5, 

20

19

Ti

tle

Size

Doc

umen

Numb

er

Re

v

Da

te

:

Sh

e

e

t

of

<06_

Codec

>

1.3

ESP32-

LYR

ATD-SYN

A

C

6

6

T

hu

rs

da

y, 

S

ep

tembe

r 0

5, 

20

19

Ti

tle

Size

Doc

umen

Numb

er

Re

v

Da

te

:

Sh

e

e

t

of

<06_

Codec

>

1.3

ESP32-

LYR

ATD-SYN

A

C

6

6

T

hu

rs

da

y, 

S

ep

tembe

r 0

5, 

20

19

U13

RT

90

43

G

B

@40

0mA

EN

3

OUT

5

VI

N

1

NR/

FB

4

GND

2

C102

2.2

uF/10V(10

%)

R104

0R(5%)

P

J-

39

30

-A

J7

1

1

2

2

3

3

4

4

5

5

6

6

7

7

8

8

C98

10

00

pF/50V(5%)(NC

)

C125

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

R272

10

K

(5

%)

C99

10

00

pF/50V(5%)(NC

)

R239

0R(5%)

C120

0.1

uF/16V(10

%)

C119

10

uF/16V(20

%)

C124

33

0p

F

/50

V

(1

0%)(NC

)

C101

1u

F

/16

V

(1

0%)

R90

10

K

(5

%)

R91

0R(5%)

R283

0R(5%)(NC)

D27

LES

D8D

3.3

CA

T

5G(NC

)

R237

0R(5%)

T

P

42

1

R259

52

.3K(1%)

C96

10

00

pF/50V(5%)(NC

)

TP6

1

C97

10

00

pF/50V(5%)(NC

)

R87

0R(5%)

R244

5.1

R(5%)

R95

4.7

K

(5

%)(NC

)

R98

4.7

K

(5

%)(NC

)

R101

47

R(1%)

C90

0.1

uF/16V(10

%)

R115

0R(5%)

C121

0.1

uF/16V(10

%)

T

P

45

1

C200

4.7

uF/10V(20

%)

R108

0R(5%)

R242

0R(5%)

C128

33

0p

F

/50

V

(1

0%)(NC

)

R312

0R(5%)

R106

0R(5%)(NC)

R243

5.1

R(5%)

C198

0.1

uF/16V(10

%)

R309

10

K

(5

%)(NC

)

R261

10

K

(5

%)

R241

0R(5%)

C108

4.7

uF/10V(20

%)

C112

0.1

uF/16V(10

%)

R92

0R(5%)

C122

33

0p

F

/50

V

(1

0%)(NC

)

C80

22

pF/50V(NC

)

C115

0.1

uF/16V(10

%)

R258

0R(5%)

C88

4.7

uF/10V(20

%)

R111

10

0K(1%)

R102

47

R(1%)

L2

2

0R(5%)

R311

0R(5%)

C110

4.7

uF/10V(20

%)

C126

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

R262

10

K

(5

%)(NC

)

C86

22

pF/50V(NC

)

C100

2.2

uF/10V(10

%)

C109

0.1

uF/16V(10

%)

C199

10

uF/16V(20

%)

R231

0R(5%)

T

P

43

1

R84

33

R(5%)

C123

33

0p

F

/50

V

(1

0%)(NC

)

R238

0R(5%)

L2

1

0R(5%)

T

P

41

1

R93

33

R(5%)

R232

0R(5%)

R310

10

K

(5

%)

C196

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

C117

10

0u

F

/6.

3V(20%)(

NC

)

R240

0R(5%)

R114

10

K

(5

%)(NC

)

T

P

46

1

R85

33

R(5%)

C79

0.1

uF/16V(10

%)

C103

2.2

uF/10V(10

%)

R260

30

.1K(1%)

J9

A

20

01

WR

-S-2P

R290

0R(5%)

R113

10

K

(5

%)

U21

T

P

S

71

71

8DC

K

R

EN

3

OUT

5

VI

N

1

NR/

FB

4

GND

2

R117

0R(5%)

C81

22

0p

F

/50

V

(5

%)

C116

0.1

uF/16V(10

%)

C85

22

0p

F

/50

V

(5

%)

R110

10

K

(5

%)(NC

)

R89

47

R(1%)

C106

0.1

uF/16V(10

%)

J8

A

20

01

WR

-S-2P

R118

0R(5%)

C87

22

0p

F

/50

V

(5

%)

U12

CX

20

72

1-

11

Z

/CX

22

72

1-

11

Z

DACDA

T

1

MCLK

2

VD

DIO

3

SCL

4

SDA

5

MUS

IC

_REQ

/S

PDI

F/G

PI

O0

6

SPKR

_MUTE#/

SPDI

F/G

PI

O1

7

POR

TC_DMI

C_DATA1/

GPI

O3

8

DV

DD

_IO

9

POR

TC_DMI

C_CLK1/

GPI

O2

10

EAPD

11

POR

TG_

LEFT_

P

12

PVDD

5_

LEFT

13

POR

TG_

LEFT_

N

14

PO

RT

G_

RIG

HT

_N

15

PV

DD

5_

RIG

HT

16

PO

RT

G_

RIG

HT

_P

17

CP_

VDD1

8

18

CP_FLY_P

19

CP_FLY_N

20

CP_

VNE

G

21

CP_

VP

OS

22

POR

TA_L

23

POR

TA_R

24

HGN

DA

25

HGN

DB

26

VREF_

DAC

27

VREFP

28

AVDD

5

29

POR

TD_A

30

POR

TD_B

31

MI

CBI

ASB

32

POR

TB_L

33

POR

TB_R

34

JSENSE

35

PCBE

EP

36

LDO

_AV

DD

37

VDD

18

38

LDO

_VD

D_C

OR

E

39

BCLK

40

LRCLK

41

ADCDA

T

42

EXP_G

ND

43

R100

47

R(1%)

C107

4.7

uF/10V(20

%)

C118

10

uF/16V(20

%)

R119

0R(5%)

C197

10

nF/50V(10

%)

TP5

1

R112

0R(5%)

C105

0.4

7u

F

/16

V

(1

0%)

D28

LES

D8D

3.3

CA

T

5G(NC

)

C114

10

uF/16V(20

%)

C82

22

0p

F

/50

V

(5

%)

T

P

44

1

R105

33

R(5%)(NC

)

C104

1u

F

/16

V

(1

0%)

T

P

47

1

Espressif

!

/

!

16 17

2019.09

Summary of Contents for ESP32-LyraTD-SYNA

Page 1: ...ESP32 LyraTD SYNA User Guide Version 1 0 Espressif Systems Copyright 2019...

Page 2: ...e 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 ce...

Page 3: ...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...

Page 4: ...o 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 hig...

Page 5: ...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 M...

Page 6: ...15200 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...

Page 7: ...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 gene...

Page 8: ...ary 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 co...

Page 9: ...or 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 Fl...

Page 10: ...ice 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...

Page 11: ...ext 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...

Page 12: ...twork 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 b...

Page 13: ...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...

Page 14: ...Q EAPD I2C I2S_ESP_TX I2S_AEC VCC AP7361C 33 ER 7 13 USB CNN ESP32 3 3V LDO 3 3V DSP CX20921 3 3V Codec CX22721 LDO LDO 1 8V VCC Title Size Document Number R e v Date Sheet o f 01_Block 1 3 ESP32 LYRA...

Page 15: ...6 Friday August 30 2019 Title Size Document Number R e v Date Sheet o f 02_Power_MCU 1 3 ESP32 LYRATD SYNA C 2 6 Friday August 30 2019 R36 100K 1 NC R230 0R 5 R21 0R 5 U4 AP7361C 33 ER 7 13 GND 1 VOUT...

Page 16: ...FFC_MIC_INP1 5 ExtFFC_MIC_INN1 5 ExtFFC_MIC_INP2 5 ExtFFC_MIC_INN2 5 IO27 2 5 Title Size Document Number R e v Date Sheet o f 03_Button Connector 1 3 ESP32 LYRATD SYNA C 3 6 Friday August 30 2019 Titl...

Page 17: ...V0 CX20921_3V3 CX_GND CX20921_3V3 CX20921_3V3 CX_GND CX20921_3V3 CX_GND CX20921_1V0 CX_GND CX_GND CX_MGND CX_MGND CX_GND CX_GND CX20921_3V3 CX_GND CX_MGND CX_PGND CX_GND CX_GND VCC CX_GND CX_GND CX209...

Page 18: ...CX20721_LRCLK 6 CX20721_ADCDAT 6 Title Size Document Number R e v Date Sheet o f 05_CX20921_Interface 1 3 ESP32 LYRATD SYNA C 5 6 Friday August 30 2019 Title Size Document Number R e v Date Sheet o f...

Page 19: ...Sheet o f 06_Codec 1 3 ESP32 LYRATD SYNA C 6 6 Thursday September 05 2019 U13 RT9043GB 400mA EN 3 OUT 5 VIN 1 NR FB 4 GND 2 C102 2 2uF 10V 10 R104 0R 5 PJ 3930 A J7 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 C9...

Page 20: ...lity 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 right...

Reviews: