AnsweredAssumed Answered

SPI Rx via DMA... SCLK generation?

Question asked by reed.matthew.001 on May 19, 2014
Latest reply on May 20, 2014 by reed.matthew.001
I'm wanting to update a product that has a SPI device on the same channel as the UART.  Currently the SPI device uses DMA - it sends 1 byte and receives a packet of info.  On the UART we only send data.

I would like to split the DMA up and use one channel for the UART and one for the SPI, but I've been told we can't because the SPI will not generate the clock unless it is sending out data (currently a bunch of '0's).

I am considering switching the SPI to Rx only after the 1 byte command is sent.

Does anyone have any experience with this or suggestions?  Just want to get all the info I can before I start ripping software apart.