esp32: use PLL_CLK clock source for I2S

This commit is contained in:
Matthias Ringwald 2021-12-28 17:58:24 +01:00
parent 2116cb5fab
commit 2668b53221

View File

@ -220,6 +220,7 @@ static void btstack_audio_esp32_init(void){
.communication_format = I2S_COMM_FORMAT_STAND_I2S, .communication_format = I2S_COMM_FORMAT_STAND_I2S,
.dma_buf_count = DMA_BUFFER_COUNT, // Number of DMA buffers. Max 128. .dma_buf_count = DMA_BUFFER_COUNT, // Number of DMA buffers. Max 128.
.dma_buf_len = DMA_BUFFER_SAMPLES, // Size of each DMA buffer in samples. Max 1024. .dma_buf_len = DMA_BUFFER_SAMPLES, // Size of each DMA buffer in samples. Max 1024.
.use_apll = true,
.intr_alloc_flags = ESP_INTR_FLAG_LEVEL1 .intr_alloc_flags = ESP_INTR_FLAG_LEVEL1
}; };