mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
emac: reduce rx burst length to avoid SPI DMA collision bug
See <https://github.com/espressif/esp-idf/issues/7380>.
This commit is contained in:
parent
723212717a
commit
a6ca3d39a8
@ -297,7 +297,7 @@ void emac_hal_init_dma_default(emac_hal_context_t *hal)
|
||||
/* Use Separate PBL */
|
||||
emac_ll_use_separate_pbl_enable(hal->dma_regs, true);
|
||||
/* Set Rx/Tx DMA Burst Length */
|
||||
emac_ll_set_rx_dma_pbl(hal->dma_regs, EMAC_LL_DMA_BURST_LENGTH_32BEAT);
|
||||
emac_ll_set_rx_dma_pbl(hal->dma_regs, EMAC_LL_DMA_BURST_LENGTH_8BEAT);
|
||||
emac_ll_set_prog_burst_len(hal->dma_regs, EMAC_LL_DMA_BURST_LENGTH_32BEAT);
|
||||
/* Enable Enhanced Descriptor,8 Words(32 Bytes) */
|
||||
emac_ll_enhance_desc_enable(hal->dma_regs, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user