QSPI Interfacing for Winbond Flash Memory STM32
I have trying to use the ST Hal Library for interfacing the Win Bond Serial Flash IC with part Number w25q64jv. With Git repo Library which i found online https://github.com/Crazy-Geeks/STM32-W25Q-QSPI . The Code work only until he W25Q_init() functions read ID. if i try to just Read the ID then i get no data from the IC.
while(1)
{
if(W25Q_Init()==W25Q_OK)
{
success_cnt+=1;
}
//HAL_Delay(1000);
}
When i try to use Hal delay function then the ID is read only once after that the
Hospi structure shows error of incorrect sequence (note i am only trying to read
the ID multiple times).
If any one has ever interfaced this QSPI Protocol of ST please share example codes.
I am unable to figure out that why does using Hal Delay causing error in reading the ID.
Also if i comment the Delay and try then the ID is read for 1200 times and then again
The Id is not read.
