Hello.
I am using esp-idf 4.x.x.
My program is using i2s peripheral.
I am getting the "i2s_event_tx_q_ovf" event but to get that event the gdma would have to be activated.
As far as I know, that functionality is not implemented in the esp32 and the function that sends that
event is grayed out when I bring the i2s.c file into my project.
Maybe someone who has more experience with i2s can shed some light on this.
TIA
#if SOC_GDMA_SUPPORTED is false but getting events from GDMA function
-
- Posts: 1692
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: #if SOC_GDMA_SUPPORTED is false but getting events from GDMA function
The IDF driver abstracts the GDMA support of the hardware away to provide a unified application interface across the different SoC.
See e.g. https://github.com/espressif/esp-idf/bl ... i2s.c#L467
which is in the #else branch of the #if SOC_GDMA_SUPPORTED.
See e.g. https://github.com/espressif/esp-idf/bl ... i2s.c#L467
which is in the #else branch of the #if SOC_GDMA_SUPPORTED.
Re: #if SOC_GDMA_SUPPORTED is false but getting events from GDMA function
That is a link to version 5. I'm using version 4.4 of the idf which does not include the code that sends the tx overflow eventMicroController wrote: ↑Wed Jul 17, 2024 7:20 pmThe IDF driver abstracts the GDMA support of the hardware away to provide a unified application interface across the different SoC.
See e.g. https://github.com/espressif/esp-idf/bl ... i2s.c#L467
which is in the #else branch of the #if SOC_GDMA_SUPPORTED.
to the queue.
Thanks for responding.
-
- Posts: 1692
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: #if SOC_GDMA_SUPPORTED is false but getting events from GDMA function
No, it's v4.4. Specifically, the code appears to be there since v4.4.3.noweare wrote: ↑Thu Jul 18, 2024 12:20 amThat is a link to version 5.MicroController wrote: ↑Wed Jul 17, 2024 7:20 pmSee e.g. https://github.com/espressif/esp-idf/bl ... i2s.c#L467
Re: #if SOC_GDMA_SUPPORTED is false but getting events from GDMA function
Your right.No, it's v4.4. Specifically, the code appears to be there since v4.4.3.
I am using platformio, which doesn't include source of the esp-idf version that it works with.
I was looking at v 4.4.2 of the idf which I used to look at source. The esp-idf version
that platformio uses is actually 4.4.7
I did see that issue was fixed in v4.4.3 as you said.
My bad. Thanks for looking into it.
Happy programming.
Who is online
Users browsing this forum: No registered users and 191 guests