cancel
Showing results for 
Search instead for 
Did you mean: 

quad SPI to SPI DMA

priven
Associate II
Posted on September 24, 2017 at 12:31

Hello,

I have a data in stored in quad SPI memory on device A, that I want to transmit to device B using SPI interface.

I was wondering if its possible to steam directly from quad-spi memory to SPI interface using DMA without buffering?

I have STM32L476 Discovery for testing

Thanks

Michael

2 REPLIES 2
Posted on September 24, 2017 at 12:38

Never tried, but I'd say yes, if the QSPI is in memory-mapped mode and the DMA is triggered from the SPI, it should behave as any other memory-to-SPI DMA. I wouldn't count on continuous SPI clock in case of SPI being master, though, and would consider timing issues should the SPI be slave.

JW

Posted on September 25, 2017 at 13:17

JW,

Thank you for your replay, its a good idea to use QSPI and memory mapped.

The SPI is slave, how can I evaluate the timing and check for issues?

Michael