Search found 16 matches

by JP5654
Tue Sep 05, 2023 4:05 pm
Forum: ESP-IDF
Topic: I2s DMA buffer size incorrect
Replies: 5
Views: 3374

Re: I2s DMA buffer size incorrect

Oh, well thank you! That is useful. Do you mind letting me know where you got that from? I have been using the latest version of https://docs.espressif.com/projects/esp ... s/i2s.html for documentation and I don't see anything in there that states that fact.
by JP5654
Fri Sep 01, 2023 6:26 pm
Forum: ESP-IDF
Topic: I2s DMA buffer size incorrect
Replies: 5
Views: 3374

I2s DMA buffer size incorrect

Hello, I'm confused about something, the DMA buffer that the i2s creates is not the size I expect. According to the documentation: dma_buffer_size = dma_frame_num * slot_num * slot_bit_width / 8 This equation does not hold up for a slot width of 8bits. As an example if I have slot_bit_width=8 with s...
by JP5654
Tue Aug 15, 2023 6:38 pm
Forum: ESP-IDF
Topic: ESP32s3 Broken Debugger I2s TDM
Replies: 0
Views: 1183

ESP32s3 Broken Debugger I2s TDM

Hello, I'm having a weird problem where depending on my i2s tdm slot configuration my debugger stops working. I'm using ESP-IDF_5.1 and I'm debugging the ESP32s3 using the onboard USB/JTAG. I have attached a paired down i2s_tdm example project that shows the issue. .slot_mask = I2S_TDM_SLOT0|I2S_TDM...
by JP5654
Mon Jul 10, 2023 6:47 pm
Forum: Report Bugs
Topic: ESP32-S3 Multiple I2s Instances exhausts interrupt resources
Replies: 6
Views: 53893

Re: ESP32-S3 Multiple I2s Instances exhausts interrupt resources

I guess one follow on question, how could I be exhausting all interrupts already? I enabled DEBUG_INT_ALLOC_DECISIONS to take a look at the allocations. At startup there are already only 12 level interrupts available, is that really correct? Why are so many of the interrupts listed as "reserved"? I ...
by JP5654
Sun Jul 09, 2023 3:34 pm
Forum: Report Bugs
Topic: ESP32-S3 Multiple I2s Instances exhausts interrupt resources
Replies: 6
Views: 53893

Re: ESP32-S3 Multiple I2s Instances exhausts interrupt resources

Thank you for the quick response. In the meantime I will run the other peripherals with ESP_INTR_FLAG_SHARED, that does fix the issue for now. Please let me know when you file an issue so I can follow along with it's progress. Thanks!
by JP5654
Sat Jul 08, 2023 4:34 pm
Forum: Report Bugs
Topic: ESP32-S3 Multiple I2s Instances exhausts interrupt resources
Replies: 6
Views: 53893

ESP32-S3 Multiple I2s Instances exhausts interrupt resources

I'm currently using ESP-IDF v5.1. My application is running on ESP32-S3. When registering two instances of i2s_tdm, it cannot allocate the interrupt for the second rx_event. The error message is as follows: E (508) gdma: gdma_install_rx_interrupt(776): alloc interrupt failed E (508) gdma: gdma_regis...