feat(i2s): enable dma burst size configuration

This commit is contained in:
Chen Chen
2026-09-01 16:11:57 +08:00
parent 3cd64a905d
commit bea9fd822c
7 changed files with 112 additions and 70 deletions
@@ -25,6 +25,11 @@ extern "C" {
GDMA_BURST_SIZE_SUPPORT_32 | \
GDMA_BURST_SIZE_SUPPORT_64)
#define LP_AHB_DMA_LL_SUPPORTED_BURST_SIZE_MASK (GDMA_BURST_SIZE_SUPPORT_4 | \
GDMA_BURST_SIZE_SUPPORT_16 | \
GDMA_BURST_SIZE_SUPPORT_32 | \
GDMA_BURST_SIZE_SUPPORT_64)
// any "dummy" peripheral ID can be used for M2M mode
#define AHB_DMA_LL_M2M_FREE_PERIPH_ID_MASK (0x8200)
#define AHB_DMA_LL_RX_EVENT_MASK (0x7F)
+1 -1
View File
@@ -319,7 +319,7 @@ static gdma_hal_priv_data_t gdma_lp_ahb_hal_priv_data = {
.tx_event_mask = AHB_DMA_LL_TX_EVENT_MASK,
.rx_event_mask = AHB_DMA_LL_RX_EVENT_MASK,
#if GDMA_LL_GET(AHB_BURST_SIZE_ADJUSTABLE)
.supported_burst_size_mask = AHB_DMA_LL_SUPPORTED_BURST_SIZE_MASK,
.supported_burst_size_mask = LP_AHB_DMA_LL_SUPPORTED_BURST_SIZE_MASK,
#endif
};