cancel
Showing results for 
Search instead for 
Did you mean: 

HAL_QSPI function

Dick Lin
Senior
Posted on June 26, 2018 at 18:39

Hi,

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

Thx

3 REPLIES 3
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
Up vote any posts that you find helpful, it shows what's working..
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. 

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
Up vote any posts that you find helpful, it shows what's working..