2019-05-21 11:14 PM
I am using STM32F779BI for my custom board. I am using TFT LCD Display connected to QSPI, but I want to use QSPI in single SPI Mode. Like simple SPI ( CLK, MOSI, MISO).
How to initialize QSPI in Single SPI Mode?
2019-05-21 11:47 PM
if you are using the HAL QSPI Generic Driver then you can specify this in the "QSPI_CommandTypeDef" struct
/** @defgroup QSPI_InstructionMode QSPI Instruction Mode
* @{
*/
#define QSPI_INSTRUCTION_NONE ((uint32_t)0x00000000U) /*!<No instruction*/
#define QSPI_INSTRUCTION_1_LINE ((uint32_t)QUADSPI_CCR_IMODE_0) /*!<Instruction on a single line*/
#define QSPI_INSTRUCTION_2_LINES ((uint32_t)QUADSPI_CCR_IMODE_1) /*!<Instruction on two lines*/
#define QSPI_INSTRUCTION_4_LINES ((uint32_t)QUADSPI_CCR_IMODE) /*!<Instruction on four lines*/
/**
2019-05-22 08:07 AM
It's set in QUADSPI_CCR.DMODE.
JW