AnsweredAssumed Answered

QSPI Configuration using SST26VF032B-104I

Question asked by THIHA KYAW on Feb 20, 2018
Latest reply on Feb 21, 2018 by THIHA KYAW

Hi STM,

I have some questions for QSPI configuration using SST26VF032B-104I (Max clock = 104 MHz)

 

I am getting QSPI_SUSPENDED Error when I call BSP_QSPI_GetStatus().

 

Configuration is as follow;

 

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

 

QSPIHandle.Init.ClockPrescaler = 2; /* QSPI freq = 216 MHz/(1+2) = 72 Mhz */
QSPIHandle.Init.FifoThreshold = 4;
QSPIHandle.Init.SampleShifting = QSPI_SAMPLE_SHIFTING_HALFCYCLE;
QSPIHandle.Init.FlashSize = POSITION_VAL(SST26VF032B_FLASH_SIZE) - 1;
QSPIHandle.Init.ChipSelectHighTime = QSPI_CS_HIGH_TIME_2_CYCLE; /* Min 30ns for nonRead */
QSPIHandle.Init.ClockMode = QSPI_CLOCK_MODE_0;
QSPIHandle.Init.FlashID = QSPI_FLASH_ID_1;
QSPIHandle.Init.DualFlash = QSPI_DUALFLASH_DISABLE;

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

 

I don't know what is wrong.

 

Please advise me.

 

Thanks.

 

Regards,

Thiha Kyaw

Outcomes