AnsweredAssumed Answered

SPI Clock via DMA

Question asked by Joshua on Feb 7, 2014
Latest reply on Feb 10, 2014 by Clive One
I'm using a DMA for the first time (on a STM32F427), and am having a bit of trouble: I don't see SCK on any of my four SPIs when trying to transfer data via the DMA (specifically, I've only tried on the Tx side so far). I tested the SPIs separately, by simply doing a while loop while constantly calling SPI_I2S_SendData(SPI1, 0x77), and it works fine: I see SCK, and data on the MOSI. But when I try to use the DMA, I see no pulses on SCK or data being moved. What's strange is that the "transfer complete" ISRs I have enabled are triggering. 

Long story short: should I not expect to see SCK when transferring data from memory to the SPI via DMA?

Sorry for not posting my code; I left my laptop at work. I can post that tomorrow morning if necessary.

Thanks! 

Outcomes