Skip to main content
chethan sk
Associate II
July 1, 2018
Question

To read data from the external flash do we send dummy data, In QSPI protocol

  • July 1, 2018
  • 3 replies
  • 945 views
Posted on July 01, 2018 at 15:53

hello, 

i am using STM32L432KC MCU to read data from the external flash through QSPI protocol. 

I am setting Instruction, Address , dummy cycle and Data phase and activating indirect read mode.

But i have a doubt that are we sending dummy data to external flash to receive data from the external flash.

    This topic has been closed for replies.

    3 replies

    Tesla DeLorean
    Guru
    July 1, 2018
    Posted on July 01, 2018 at 16:52

    In SPI you send dummy data to clock the interface, the QSPI isn't typically doing that, you're clocking it and getting 4-bits back in every cycle, the bus isn't changing direction.

    If you have doubts, look at the data sheet for the QSPI memory you are using, and the commands you are sending. If you need more validation, use a logic analyzer and observe directly.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    chethan sk
    Associate II
    July 1, 2018
    Posted on July 01, 2018 at 20:36

    thank you for the information clive

    chethan sk
    Associate II
    July 2, 2018
    Posted on July 02, 2018 at 06:30

    Then how master is generating clock in data phase for slave without sending dummy data