3297 views|14 replies

41

Posts

0

Resources
The OP
 

[ESP32-Audio-Kit Audio Development Board Review]——(2): Questions about play_mp3_control [Copy link]

 

According to the plan, test the play_mp3_control routine. First, select the play_mp3_control routine in the ESP-ADF framework of VS code. The IIC and IIS pins of the 8388 pins in the official ESP32-A1S (ES8388 version) schematic .pdf are as follows:

However, the IIC interface of the ESP32 core part in the ESP32-A1S specification book .pdf is different, which is a bit confusing, as shown below:

I checked the information online and found that many of them are pin configurations as shown below:

I found this diagram online and asked the technicians, they said it was an old version. But I tried two IO configurations, and the play_mp3_control routine still didn't work. Both times there was a problem with the IIC bus. Is there a difference between the IIC bus timing of ES8388 and the routine? Or is there another problem that needs further testing and verification?

This post is from RF/Wirelessly

Latest reply

I can compile and download, but I can't hear any sound - https://bbs.eeworld.com.cn/thread-1181485-1-1.html   Details Published on 2021-11-25 14:20
 

6587

Posts

0

Resources
2
 

Even if the picture is an old version, I suspect it is also an IO port definition.

Where is the new picture? Is there no official one?

This post is from RF/Wirelessly

Comments

I don't know  Details Published on 2021-11-22 09:05
I don't know  Details Published on 2021-11-22 09:02
 
 

9717

Posts

24

Resources
3
 

I see that the I2C pins in the two pictures are gpio23 and gpio18.

This post is from RF/Wirelessly

Comments

The I2C in the following figure is not gpio18 and gpio23  Details Published on 2021-11-22 09:03
 
 
 

41

Posts

0

Resources
4
 
Jacktang posted on 2021-11-20 18:47 Even if the picture is an old version, I suspect it is the IO port definition. Where is the new picture? Is there no official one?

I don't know

This post is from RF/Wirelessly
 
 
 

41

Posts

0

Resources
5
 
littleshrimp posted on 2021-11-21 09:01 I see that the I2C pins in the two pictures are gpio23 and gpio18

The I2C in the following figure is not gpio18 and gpio23

This post is from RF/Wirelessly

Comments

Always configure I2C to read the default 8388 non-zero registers, or read back after writing the registers to see if I2C communication is successful. For example: 6.1.8 Register7 Analog Voltage Management, Default 01111100  Details Published on 2021-11-22 09:13
 
 
 

41

Posts

0

Resources
6
 
Jacktang posted on 2021-11-20 18:47 Even if the picture is an old version, I suspect it is the IO port definition. Where is the new picture? Is there no official one?

You can only find problems in the software if you make sure there are no problems with the hardware.

This post is from RF/Wirelessly
 
 
 

9717

Posts

24

Resources
7
 
chg0823 posted on 2021-11-22 09:03 The I2C in the picture below is not gpio18 and gpio23

Always configure I2C to read the default 8388 non-zero registers, or read back after writing the registers to see if the I2C communication is successful.
For example:
6.1.8 Register7 Analog Voltage Management,Default 01111100

This post is from RF/Wirelessly
 
 
 

5217

Posts

239

Resources
8
 

Anxinke Xugong sent me this, please refer to this: esp32-a1s_v2.3 原理图.pdf (99.89 KB, downloads: 14)

@laocuo1142
@MianQi
@ddllxxrr
@jinglixixi
@se7ens
@Mustard is not spicy

@wo4fisher

This post is from RF/Wirelessly
Add and join groups EEWorld service account EEWorld subscription account Automotive development circle

Comments

grateful!  Details Published on 2021-11-22 10:53
 
 
 

5217

Posts

239

Resources
9
 
This post is from RF/Wirelessly
Add and join groups EEWorld service account EEWorld subscription account Automotive development circle
 
 
 

1455

Posts

1

Resources
10
 
nmg Published on 2021-11-22 10:39 Anxinke Xugong sent me this, please refer to this: @laocuo1142 @MianQi @ddllxxrr @jinglixixi @se7ens @ ...

grateful!

This post is from RF/Wirelessly

Comments

receive  Details Published on 2021-11-23 08:02
 
 
 

305

Posts

0

Resources
11
 

When you say "didn't run successfully", do you mean that the compilation failed or that you couldn't hear any sound after downloading?

This post is from RF/Wirelessly

Comments

The IIC driver for ES8388 is wrong, not to mention the rest.  Details Published on 2021-11-25 09:03
Personal signature

“Everyone wants the project to be good, fast, and cheap... pick two.”

- Unknown

 
 
 

92

Posts

1

Resources
12
 
This post is from RF/Wirelessly
 
 
 

41

Posts

0

Resources
13
 
MianQi posted on 2021-11-22 12:19 When you say "didn't run through", do you mean the compilation didn't pass or you couldn't hear any sound after downloading?

The IIC driver for ES8388 is wrong, let alone the rest.

This post is from RF/Wirelessly

Comments

I can compile and download, but I can't hear any sound - https://bbs.eeworld.com.cn/thread-1181485-1-1.html  Details Published on 2021-11-25 14:20
 
 
 

305

Posts

0

Resources
14
 
chg0823 posted on 2021-11-25 09:03 The IIC driver for ES8388 went wrong, let alone the rest

I can compile and download, but I can't hear any sound - https://bbs.eeworld.com.cn/thread-1181485-1-1.html

This post is from RF/Wirelessly

Comments

In your case, the IIC write timing is wrong.  Details Published on 2021-11-25 14:37
Personal signature

“Everyone wants the project to be good, fast, and cheap... pick two.”

- Unknown

 
 
 

41

Posts

0

Resources
15
 
MianQi posted on 2021-11-25 14:20 I can compile and download, but I can't hear any sound - https://bbs.eeworld.com.cn/thread-1181485-1-1.html

In your case, the IIC write timing is wrong.

This post is from RF/Wirelessly
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Related articles more>>
快速回复 返回顶部 Return list