Skip to main content
Dick Lin
Senior
June 26, 2018
Question

HAL_QSPI function

  • June 26, 2018
  • 3 replies
  • 798 views
Posted on June 26, 2018 at 18:39

Hi,

Why there is no HAL_QSPI_TransmitReceive() function like HAL_SPI does?

Thx

    This topic has been closed for replies.

    3 replies

    Tesla DeLorean
    Guru
    June 26, 2018
    Posted on June 26, 2018 at 18:48

    Interaction with the devices is heavily asymmetrical, the interface is clocked on the large receive blocks without the need to stuff dummy data like SPI.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Dick Lin
    Dick LinAuthor
    Senior
    June 26, 2018
    Posted on June 26, 2018 at 19:00

    In CubeMX, there is QuadSPI mode drop down menu can select 'Bank1 with Single/Dual Lines'. Does it mean I can use single GPIO for tx/rx such as just IO0?

    We are short of GPIO pin now. Wondering if I can just use 1 line to communicate with S25FL256S flash memory. 

    Tesla DeLorean
    Guru
    June 26, 2018
    Posted on June 26, 2018 at 19:08

    Hard to say, and I'm not going to dig into it, but with the QSPI functions you can specify the width of both the Address and Data portion of the transaction, and you can use the appropriate Commands.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..