Search found 1 match

by MikeKazoo
Thu Apr 17, 2025 12:37 pm
Forum: ESP-IDF
Topic: Why is the I2S DMA buffer full after setup?
Replies: 0
Views: 83

Why is the I2S DMA buffer full after setup?

I have run an experiment. It measures how long it takes to call i2s_write in a loop and then logs the result.



#include <driver/i2s.h>

#define I2S_BCLK 15
#define I2S_LRC 16
#define I2S_DOUT 17

#define SAMPLE_RATE 10000
#define I2S_NUM I2S_NUM_0

#define DMA_BUF_LEN 1000
#define DMA_BUF_COUNT 5 ...

Go to advanced search