Skip to main content
Gabriel T
Senior
May 11, 2022
Question

STM32H743 Can BDMA trigger a DMA2 transfer

  • May 11, 2022
  • 0 replies
  • 1037 views

I already set up a SPI1 Tx and Rx with MDMA and DMA2 moving data from DTCMRAM to RAMD2 to SPI1

Is it possible to do the same with SPI6 ?

I see that DMA2 can access APB4 peripherals (including SPI6) but "sp6_rx_dma" and "spi6_tx_dma" hardware requests are linked to DMAMUX2 (it triggers only BDMA)

But I can't use BDMA because it can't trigger a MDMA transfer on transfer completion (as I do with DMA2 and MDMA).

A workaround would be that BDMA triggers a DMA2 transfer and then DMA2 triggers a MDMA transfer to get my data to DTCRAM without using CPU.

Is there a way to accomplish what I want to do ?

I prefer to use any hardware tweaks to save CPU time

This topic has been closed for replies.