Skip to main content
Associate III
September 24, 2017
Question

quad SPI to SPI DMA

  • September 24, 2017
  • 2 replies
  • 573 views
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

    This topic has been closed for replies.

    2 replies

    waclawek.jan
    Super User
    September 24, 2017
    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

    privenAuthor
    Associate III
    September 25, 2017
    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