Search found 2 matches

by SvanteKaiser
Tue May 21, 2024 3:38 pm
Forum: ESP32 Arduino
Topic: [HELP] Reading from I2S to WAV in stereo
Replies: 0
Views: 737

[HELP] Reading from I2S to WAV in stereo

How can I read from I2S to WAV in stereo? I have such I2S configuration: BITS_PER_SAMPLE = I2S_BITS_PER_SAMPLE_16BIT;// I2S_BITS_PER_SAMPLE_32BIT; i2s_config_t i2s_config = { .mode = (i2s_mode_t)(I2S_MODE_MASTER | I2S_MODE_RX), .sample_rate = SAMPLE_RATE, .bits_per_sample = BITS_PER_SAMPLE, .channel...
by SvanteKaiser
Fri Apr 12, 2024 3:53 pm
Forum: ESP-IDF
Topic: ESP_ERR_NOT_FOUND when esp_intr_alloc
Replies: 0
Views: 337

ESP_ERR_NOT_FOUND when esp_intr_alloc

I get an error when trying to configure an interrupt for DMA. When I use i2s_read outside the interrupt everything works fine, so it's not a problem with microphones or I2S configuration. One more question is about dmaIsrHandler. I am not sure that it will work this way. Should i2s_read work inside ...