2014-08-16 01:34 PM
I'm trying to find an example of loading the next timer delay via DMA. I want to sweep a square wave over a range of frequencies and this looks as if it might be able to do it very neatly.
Assembly preferred as I'm using forth, but any discusion would help. I'm using an STM32F4Discovery board if that matters. Thanks, Reg2014-08-16 04:43 PM
It's important to review the reference manual to understand what timers and channels associate with which DMA units, channels and streams.
[DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Discovery/STM32F4%20PWM%2BDMA%20problem&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F¤tviews=395]https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2FSTM32Discovery%2FSTM32F4%20PWM%2BDMA%20problem&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F¤tviews=395