2015-05-09 11:26 AM
Hi, I'm trying to set DMA2 to do a Memory-to-Peripheral trasfer from memory to GPIOB.
But now, I'm stuck with a problem since I want to configure the DMA transfer speed to 1/8 of the Bus clock(168Mhz). Is there any way for me to achieve that?I also need this transfer not to be delayed by some other processing, that's why i'm using DMA.If it's not possible to configure the speed at which the transfers occurs, is there any other way to achieve this?Thanks a lot.Edit:Edited to remove code and change title2015-05-09 11:52 AM
I'm I right assuming GPIO is a peripheral?
It does not show on DMA request mapping but it has a clock for itself.2015-05-09 07:47 PM
You don't increment the Peripheral address. You removed the code, but I did see it earlier.
If you want to pace the transfer use a TIM, and the channel/stream associated with it and the DMA unit. The associations for the DMA triggers are listed in a table in the reference manual.2017-10-02 02:59 PM
http://www.st.com/en/embedded-software/x-cube-paral-com.html