Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio Pipeline Fails esp32-s3-box-lite #141

Open
wsieber opened this issue Jan 7, 2024 · 1 comment
Open

Audio Pipeline Fails esp32-s3-box-lite #141

wsieber opened this issue Jan 7, 2024 · 1 comment

Comments

@wsieber
Copy link

wsieber commented Jan 7, 2024

logs_esp32-s3-box-lite-d50078_run.txt

Greetings,

I have 2 of the box-lite. Both of them will not activate speaker or microphone. I have attached the complete log file.

Below are are some excerpts from the log:

src/esphome/components/esp_adf/microphone/esp_adf_microphone.cpp: In static member function 'static void esphome::esp_adf::ESPADFMicrophone::read_task(void*)':
src/esphome/components/esp_adf/microphone/esp_adf_microphone.cpp:98:3: warning: missing initializer for member 'i2s_driver_config_t::chan_mask' [-Wmissing-field-initializers]
};
^
src/esphome/components/esp_adf/microphone/esp_adf_microphone.cpp:98:3: warning: missing initializer for member 'i2s_driver_config_t::total_chan' [-Wmissing-field-initializers]
src/esphome/components/esp_adf/microphone/esp_adf_microphone.cpp:98:3: warning: missing initializer for member 'i2s_driver_config_t::left_align' [-Wmissing-field-initializers]
src/esphome/components/esp_adf/microphone/esp_adf_microphone.cpp:98:3: warning: missing initializer for member 'i2s_driver_config_t::big_edin' [-Wmissing-field-initializers]
src/esphome/components/esp_adf/microphone/esp_adf_microphone.cpp:98:3: warning: missing initializer for member 'i2s_driver_config_t::bit_order_msb' [-Wmissing-field-initializers]
src/esphome/components/esp_adf/microphone/esp_adf_microphone.cpp:98:3: warning: missing initializer for member 'i2s_driver_config_t::skip_msk' [-Wmissing-field-initializers]
Compiling .pioenvs/esp32-s3-box-lite-d50078/src/esphome/components/improv_serial/improv_serial_component.o
src/esphome/components/esp_adf/speaker/esp_adf_speaker.cpp: In static member function 'static void esphome::esp_adf::ESPADFSpeaker::player_task(void*)':
src/esphome/components/esp_adf/speaker/esp_adf_speaker.cpp:60:3: warning: missing initializer for member 'i2s_driver_config_t::chan_mask' [-Wmissing-field-initializers]
};
^
src/esphome/components/esp_adf/speaker/esp_adf_speaker.cpp:60:3: warning: missing initializer for member 'i2s_driver_config_t::total_chan' [-Wmissing-field-initializers]
src/esphome/components/esp_adf/speaker/esp_adf_speaker.cpp:60:3: warning: missing initializer for member 'i2s_driver_config_t::left_align' [-Wmissing-field-initializers]
src/esphome/components/esp_adf/speaker/esp_adf_speaker.cpp:60:3: warning: missing initializer for member 'i2s_driver_config_t::big_edin' [-Wmissing-field-initializers]
src/esphome/components/esp_adf/speaker/esp_adf_speaker.cpp:60:3: warning: missing initializer for member 'i2s_driver_config_t::bit_order_msb' [-Wmissing-field-initializers]
src/esphome/components/esp_adf/speaker/esp_adf_speaker.cpp:60:3: warning: missing initializer for member 'i2s_driver_config_t::skip_msk' [-Wmissing-field-initializers]
Compiling .pioenvs/esp32-s3-box-lite-d50078/src/esphome/components/ledc/ledc_output.o

And also:

[01:36:30][D][voice_assistant:422]: State changed from IDLE to START_MICROPHONE
[01:36:30][D][voice_assistant:428]: Desired state set to WAIT_FOR_VAD
[01:36:30][W][component:214]: Component api took a long time for an operation (0.22 s).
[01:36:30][W][component:215]: Components should block for at most 20-30ms.
[01:36:30][D][voice_assistant:159]: Starting Microphone
[01:36:30][D][voice_assistant:422]: State changed from START_MICROPHONE to STARTING_MICROPHONE
[01:36:30][D][esp-idf:000]: I (15233) I2S: DMA Malloc info, datalen=blocksize=512, dma_buf_count=8

[01:36:30][D][esp-idf:000]: I (15240) I2S: I2S0, MCLK output by GPIO2

[01:36:30][D][esp-idf:000]: I (15245) ESP32_S3_BOX_LITE: I2S0, MCLK output by GPIO0

[01:36:30][D][esp-idf:000]: I (15250) AUDIO_PIPELINE: link el->rb, el:0x3d836bd0, tag:i2s, rb:0x3d836fe4

[01:36:30][D][esp-idf:000]: I (15258) AUDIO_PIPELINE: link el->rb, el:0x3d836d44, tag:filter, rb:0x3d839024

[01:36:30][D][esp-idf:000]: I (15263) AUDIO_ELEMENT: [i2s-0x3d836bd0] Element task created

[01:36:30][D][esp-idf:000]: I (15267) AUDIO_THREAD: The filter task allocate stack on external memory

[01:36:30][D][esp-idf:000]: E (15272) AUDIO_THREAD: Not found right xTaskCreateRestrictedPinnedToCore.
Please enter IDF-PATH with "cd $IDF_PATH" and apply the IDF patch with "git apply $ADF_PATH/idf_patches/idf_4.4._freertos.patch" first

[01:36:30][D][esp-idf:000]: E (15282) AUDIO_THREAD: Error creating RestrictedPinnedToCore filter

[01:36:30][D][esp-idf:000]: E (15286) AUDIO_ELEMENT: [filter] audio_thread_create failed

I hope it is a simple fix.

Thanks!

Willie

@monsieurlatte
Copy link

Sounds similar to what I am having with my museluxe, posted about it, been 3 weeks and crickets sadly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants