fix(st16): audio chip init and data transfer (#6299)

This commit is contained in:
Raphael Coeffic
2025-05-27 07:40:48 +10:00
committed by GitHub
parent 7977e8e694
commit 96a1ca5653
4 changed files with 201 additions and 163 deletions
+3
View File
@@ -102,6 +102,9 @@ static stm32_spi_t audioSpi =
.MISO = AUDIO_SPI_MISO_GPIO,
.MOSI = AUDIO_SPI_MOSI_GPIO,
.CS = AUDIO_CS_GPIO,
.DMA = AUDIO_SPI_DMA,
.txDMA_PeriphRequest = AUDIO_SPI_DMA_REQ,
.txDMA_Stream = AUDIO_SPI_DMA_STREAM,
};
static void audio_set_rst_pin(bool set)