Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 8 months ago.
STM32 question about DMA
I use spi to send may data, but it used too much cpu resources. so I want to use DMA, but I didn't found API about that.
1 Answer
8 years, 8 months ago.
You will need to program it yourself. Either directly to the registers or using the STM32 hal driver files that are included with mbed. I am not aware of a user lib for the STM32 DMA, I did start at it once, but STM32 DMA is not the easiest one to make a library for (since they have different DMAs and different inputs for different peripherals, while Freescale/NXP DMA is just a single DMA where every input can handle every peripheral).