Posted on June 18, 2013 at 00:45The original post was too long to process during our migration. Please click on the attachment to read the original post.
Posted on June 20, 2013 at 20:54
Clive1, thank you very much for your help!
To others out there, here's my error:
I was calling RCC_AHB1PeriphResetCmd(SPIx_DMA_CLK, ENABLE);
to enable the DMA2 clock, when I should hav...
Posted on June 19, 2013 at 20:22I've tracked the error down, and what's happening is the enable bit on the DMA Stream is not getting set in hardware. The ST DMA driver goes and sets the bit (via the DMA_Cmd() function), but when I loop waiting for...
Posted on June 19, 2013 at 19:16There must be someone out there who has done exactly what I'm trying to do. I can't find a working sample of Tx/Rx DMA over SPI (Using polling rather than interrupts) anywhere.
Posted on June 19, 2013 at 00:18
Ah, stupid mistake. I've copied and pasted your #defines.
I still fail on the loop checking whether the TX stream has been
enabled, the DMA streams aren't getting enabled.
#define SPIx_DMA ...