Search found 125 matches
- Tue Apr 23, 2024 11:01 pm
- Forum: ESP-ADF
- Topic: Hang in i2s element
- Replies: 2
- Views: 2100
Re: Hang in i2s element
Hi @liaifat85, Thanks for the constructive suggestions. The I2S peripheral is being used solely as an output. It supplies Data, BCLK and LRCLK to a Max98357 amplifier. Signals are routed less than 10mm from the Wroom module to the amp. I can't see how signal integrity would cause an error in the dma...
- Tue Apr 23, 2024 4:34 am
- Forum: ESP-ADF
- Topic: Hang in i2s element
- Replies: 2
- Views: 2100
Hang in i2s element
I have a custom board with adf pipeline: fat_fs -> mp3 -> i2s ADF: 2.6 IDF: 4.4.6 It all works fine but after the pipeline has sat idle for some long time, like about an hour or so, I get the following error logged from the I2S driver. E (370583) I2S: dma error, interrupt status: 0x00005000 Then the...
- Tue Nov 14, 2023 2:59 am
- Forum: ESP-IDF
- Topic: Need help using espcoredump.py with downloaded core file
- Replies: 1
- Views: 1181
SOLVED: Need help using espcoredump.py with downloaded core file
I got this working. I managed to get espcoredump.py to download the dump directly from the flash. I then compared this to the file I had sent to the cloud storage. They were identical except for the fact that the direct flash download seems to download the entire partition, most of which is useless ...
- Mon Nov 13, 2023 11:22 pm
- Forum: ESP-IDF
- Topic: Need help using espcoredump.py with downloaded core file
- Replies: 1
- Views: 1181
Need help using espcoredump.py with downloaded core file
Hi, Hopefully @ESP_pdragun is listening and can help! Running ADF with IDF 4.4.6 Updated espcoredump.py using pip install to v1.7.0 I have configured settings to save ELF format coredump to flash with SHA256 hash with the following partition table: otadata,data,ota,0x9000,8K, phy_init,data,phy,0xb00...
- Thu Nov 09, 2023 8:31 pm
- Forum: ESP32 Arduino
- Topic: I2S DAC overshooting signal form
- Replies: 5
- Views: 9522
Re: I2S DAC overshooting signal form
Not to mention... https://en.wikipedia.org/wiki/1-bit_DAC
- Tue Nov 07, 2023 12:21 am
- Forum: ESP-IDF
- Topic: new 5 seconds delay during boot
- Replies: 2
- Views: 1508
SOLVED: new 5 seconds delay during boot
It was my own dumb fault. I was fiddling with some SDKCONFIG settings and changed the factory reset gpio to be active high instead of active low (which is necessary for my board). This meant that a factory reset was triggering every boot.
- Sun Nov 05, 2023 9:00 pm
- Forum: ESP-IDF
- Topic: Monitor hangs decoding core dump
- Replies: 7
- Views: 2658
Re: Monitor hangs decoding core dump
Thanks Peter, That is very helpful! I actually managed to track down the bug I was chasing using the GDB load of the flashed core dump. See this post... https://www.esp32.com/viewtopic.php?f=20&t=36599&p=122894#p122894 The core dump revealed the function that had hung and inspection of the code reve...
- Sun Nov 05, 2023 8:47 pm
- Forum: ESP-ADF
- Topic: Hang calling i2s_stream_set_clk during music play
- Replies: 1
- Views: 31406
SOLVED: Hang calling i2s_stream_set_clk during music play
Okay, I think I found it... sigh. https://github.com/espressif/esp-idf/blob/5f257494c5866e5f9965c54c907c2588f3496ad1/components/driver/i2s.c#L1615 The function i2s_set_clk(i2s_port_t i2s_num, uint32_t rate, uint32_t bits_cfg, i2s_channel_t ch) in the i2s driver code takes a mutex at the beginning. S...
- Fri Nov 03, 2023 3:36 am
- Forum: ESP-ADF
- Topic: Hang calling i2s_stream_set_clk during music play
- Replies: 1
- Views: 31406
Hang calling i2s_stream_set_clk during music play
IDF :4.4.6 ADF :2.0.3 My pipeline is: sdcard with mp3 file -> fatfs_stream_element_handle -> mp3_decoder_element_handle -> i2s_stream_writer_element I have a task (thread 15 "music_task") that processes calls control messages from the app and events from the audio pipeline. When the mp3 element repo...
- Fri Nov 03, 2023 1:38 am
- Forum: ESP-IDF
- Topic: new 5 seconds delay during boot
- Replies: 2
- Views: 1508
Re: new 5 seconds delay during boot
I have bootloader hooks installed. void bootloader_before_init(void) { /* Keep in my mind that a lot of functions cannot be called from here * as system initialization has not been performed yet, including * BSS, SPI flash, or memory protection. */ ESP_LOGW("HOOK", "Latching Power On"); // Latch pow...