MrBuddyCasino / ESP32_MP3_Decoder

A internet radio and bluetooth speaker project for the Espressif ESP32
774 stars 182 forks source link

I2S seems to work, But no sound #54

Closed jodel477 closed 6 years ago

jodel477 commented 6 years ago

Hello guys, i just flashed my esp32 with this great Software, but I want to use it with Hifiberry Digi (WM 8804 SPDIF IC). The I2S transmission seems to work as far as I can See with my oscilloscope, but I don't get SPDIF Signals. The WM8804 board work quite good with my Raspberry Pi, but not with the ESP. Do you know if i need to configure something else? Please help me...

jodel477 commented 6 years ago

Btw: Bitclock, Lrclk and Data are connected correctely. I'm an I2S newbie... Thanks in advance!

MrBuddyCasino commented 6 years ago

Its possible the WM 8804 needs MCLK. ESP32 does not natively generate MCLK, best to search the esp32.com forum for solutions. Please report back when you found one.

jodel477 commented 6 years ago

Thanks for your fast answer, but the RPi doesn't generate the MCLK, too. So I think it should work without MCLK...

MrBuddyCasino commented 6 years ago

I see, in that case I have no idea.

jodel477 commented 6 years ago

Hi guys, i found out, that the Digi+ is the Master. So the esp32 needs to be the slave, but when configuring "I2S_MODE_SLAVE | I2S_MODE_TX", i get an " Bluetooth Packet Drop" Error (thousands per second) via UART. Maybe you can help me with this information?

MrBuddyCasino commented 6 years ago

Never used I2S slave mode, sorry.

MrBuddyCasino commented 6 years ago

Closing due to inactivity.