ESP32-LyraTD-MSC es8388_write_reg error

shashank
Posts: 2
Joined: Tue Sep 25, 2018 8:20 pm

ESP32-LyraTD-MSC es8388_write_reg error

Postby shashank » Wed Sep 26, 2018 7:35 am

Hi,

I'm trying to get the latest release LyraT SR v1.0b1r3 working on my MSC board, after flashing, LED doesn't light up on the secondary board, and the volume controls/ voice trigger is not working.

looking into serial logs, i see the following error:
I (5681) gpio: GPIO[22]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 1| Pulldown: 1| Intr:0
I (5691) gpio: GPIO[19]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 1| Pulldown: 1| Intr:0
I (5701) UI_LED: LED initialized
I (5701) gpio: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 1| Intr:1
I (5711) gpio: GPIO[39]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 1| Intr:3
I (5721) gpio: GPIO[21]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
E (5731) CODEC_ES8388: es8388_write_reg error
E (5731) CODEC_ES8388: es8388_write_reg error
E (5741) CODEC_ES8388: es8388_write_reg error
E (5741) CODEC_ES8388: es8388_write_reg error
E (5751) CODEC_ES8388: es8388_write_reg error
E (5751) CODEC_ES8388: es8388_write_reg error
E (5761) CODEC_ES8388: es8388_write_reg error
E (5761) CODEC_ES8388: es8388_write_reg error
E (5771) CODEC_ES8388: es8388_write_reg error
E (5771) CODEC_ES8388: es8388_write_reg error
E (5781) CODEC_ES8388: es8388_write_reg error
E (5781) CODEC_ES8388: es8388_write_reg error
E (5791) CODEC_ES8388: es8388_write_reg error
E (5791) CODEC_ES8388: es8388_write_reg error
E (5801) CODEC_ES8388: es8388_write_reg error
E (5801) CODEC_ES8388: es8388_write_reg error
E (5811) CODEC_ES8388: es8388_write_reg error
E (5811) CODEC_ES8388: es8388_write_reg error
E (5821) CODEC_ES8388: es8388_write_reg error
E (5831) CODEC_ES8388: es8388_write_reg error
E (5831) CODEC_ES8388: es8388_write_reg error
E (5841) CODEC_ES8388: es8388_write_reg error
E (5841) CODEC_ES8388: es8388_write_reg error
E (5851) CODEC_ES8388: es8388_write_reg error
E (5851) CODEC_ES8388: es8388_write_reg error
E (5861) CODEC_ES8388: es8388_read_reg error
E (5861) CODEC_ES8388: es8388_write_reg error
E (5871) CODEC_ES8388: es8388_read_reg error
E (5871) CODEC_ES8388: es8388_write_reg error
E (5881) CODEC_ES8388: es8388_read_reg error
E (5881) CODEC_ES8388: es8388_write_reg error
E (5891) CODEC_ES8388: es8388_read_reg error
E (5891) CODEC_ES8388: es8388_write_reg error
E (5901) CODEC_ES8388: es8388_write_reg error
E (5901) CODEC_ES8388: es8388_write_reg error
E (5911) CODEC_ES8388: es8388_read_reg error
E (5911) CODEC_ES8388: es8388_write_reg error
E (5921) CODEC_ES8388: es8388_write_reg error
E (5921) CODEC_ES8388: es8388_write_reg error
E (5931) CODEC_ES8388: es8388_write_reg error
E (5931) CODEC_ES8388: es8388_write_reg error
I (5941) dsp: Created I2S audio stream
I (5941) audio_stream: Starting i2s_reader stream
Starting audio stream i2s_reader
W (5991) I2S: I2S driver already installed
.......................Init i2s stream...............
I (5991) audio_stream: Stream i2s_reader Event Started
I (6001) dsp: Reader stream event 2
Stopping audio stream i2s_reader
I (6021) audio_stream: Stream i2s_reader Event Stopped
I (6021) dsp: Reader stream event 3
Generated stopped event for stream i2s_reader
I (6021) I2S: PLL_D2: Req RATE: 48000, real rate: 48076.000, BITS: 16, CLKM: 13, BCK: 8, MCLK: 12292917.167, SCLK: 1538432.000000, diva: 64, divb: 1
Starting audio stream i2s_reader
W (6041) I2S: I2S driver already installed
.......................Init i2s stream...............
I (6051) audio_stream: Stream i2s_reader Event Started
I (6051) dsp: Reader stream event 2
I (6061) audio_stream: Starting playback_writer stream
Starting audio stream playback_writer
I (6071) audio_stream: Stream playback_writer Event Started
I (6071) avs-nvs-util: No value set for: speaker_vol
I (6081) [speaker]: Using default volume
E (6081) CODEC_ES8388: es8388_read_reg error
E (6111) CODEC_ES8388: es8388_write_reg error
E (6111) CODEC_ES8388: es8388_write_reg error
E (6111) CODEC_ES8388: es8388_write_reg error
E (6111) CODEC_ES8388: es8388_write_reg error
E (6121) CODEC_ES8388: es8388_write_reg error
I (6151) LYRAT_CB: Volume changed to 40
I (6151) auth-delegate-config: Returning auth delegate subsequent auth configuration
I (23511) [auth-delegate]: Token will be refreshed after 3000 seconds
I (23611) [auth-delegate]: Authentication Done !
I (23751) audio_codec: Starting mp3 codec codec
I (23761) audio_codec: Starting mp3 codec codec
I (23771) audio_codec: Starting aac codec codec
I (23941) audio_stream: Starting http_reader stream
I (23951) audio_codec: Starting mp3 codec codec
I (23951) audio_stream: Starting http_reader stream
I (23981) avs-nvs-util: No value set for: endpoint
I (23981) [endpoint_handler]: Cannot find endpoint URL in NVS. Setting default: https://avs-alexa-eu.amazon.com
I (23991) [endpoint_handler]: AVS endpoint: https://avs-alexa-eu.amazon.com
I (24001) [http_transport]: Connecting to server: https://avs-alexa-eu.amazon.com
I (26951) [http_transport]: HTTP2 Connection done
I (26951) [http_stream]: [stream-new] 60132 spiram 1249456
I (26951) [http_stream]: stream GET /v20160207/directives sid:1
[sid: 1] Response code: 200
Also i could not find the file that is flashed into 0x10000, Its is currently not found in the released binaries.

Is this a known issue? if not can you please nudge me in the right direction?

Thanks,
Shashank

ESP_Kewal
Posts: 4
Joined: Mon Apr 10, 2017 8:38 am
Location: India/China

Re: ESP32-LyraTD-MSC es8388_write_reg error

Postby ESP_Kewal » Wed Sep 26, 2018 1:01 pm

HI Shashank,

The current release supports only LyraT. We are in process to release support for LyraTD-MSC board. If you flash this code to LyraTD-MSC its obvious to run into errors.
Regards,
Kewal Shah

shashank
Posts: 2
Joined: Tue Sep 25, 2018 8:20 pm

Re: ESP32-LyraTD-MSC es8388_write_reg error

Postby shashank » Thu Sep 27, 2018 11:00 am

Thank you Kewal, looking forward for that release.

ESP_Kewal
Posts: 4
Joined: Mon Apr 10, 2017 8:38 am
Location: India/China

Re: ESP32-LyraTD-MSC es8388_write_reg error

Postby ESP_Kewal » Thu Oct 04, 2018 5:02 am

Hi Shashank,

We have released support for LyraTD-MSC board on github. Please take a look here: https://github.com/espressif/esp-avs-sd ... c_alexa_sr
Regards,
Kewal Shah

Who is online

Users browsing this forum: No registered users and 190 guests