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

GDMA RX alloc fail (AUD-6009) #1354

Open
kungfupizza opened this issue Jan 20, 2025 · 2 comments
Open

GDMA RX alloc fail (AUD-6009) #1354

kungfupizza opened this issue Jan 20, 2025 · 2 comments

Comments

@kungfupizza
Copy link

So I have multiple audio pipeline setup along with wifi, SD, and keys peripherals on Korvo2 board.

Pipelines:
http -> i2s_out

fatfs -> mp3_decoder -> i2s_out

i2s_in -> https

I also have wifi, SD card, led_indicator, and keys peripherals enabled along with event listeners.

The init fails and gives out error as below after 3rd pipeline is attempted to initialised.

E (508) gdma: gdma_install_rx_interrupt(776): alloc interrupt failed
E (508) gdma: gdma_register_rx_event_callbacks(436): install interrupt service failed

What can I do to solve this?

@kungfupizza kungfupizza changed the title GDMA TX alloc fail GDMA RX alloc fail Jan 20, 2025
@github-actions github-actions bot changed the title GDMA RX alloc fail GDMA RX alloc fail (AUD-6009) Jan 20, 2025
@TempoTian
Copy link
Contributor

TempoTian commented Jan 21, 2025

You can use API esp_intr_dump() to dump the the interrupt occupied in each core. For you are using many peripheral, each peripheral needs allocate some interrupt, and allocate happened on the init function executed core. For most peripheral init happened on core0, you can move some peripheral init to core1 if core0 is full, like create a task pin to core 1 and call sdcard init instead.

@jason-mao
Copy link
Collaborator

How is your issue progressing? I would appreciate any updates on it.

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

3 participants