You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have stm32f302c8 and W25Q512 flash. If my stm chip configured to work on 8MHz (from HSI) all ok. If I change clock source to PLL and use 56MHz (x14) W25qxx_ReadID (and probably all other functions that use W25qxx_Spi()) - work wrong. For example W25qxx_ReadID receives only first byte with manufacturer ID, two next bytes are zero.
It can be fixed with increasing timeout from 100 to 150 in the call of
HAL_SPI_TransmitReceive(&_W25QXX_SPI,&Data,&ret,1,150);
The text was updated successfully, but these errors were encountered:
Hello!
I have stm32f302c8 and W25Q512 flash. If my stm chip configured to work on 8MHz (from HSI) all ok. If I change clock source to PLL and use 56MHz (x14) W25qxx_ReadID (and probably all other functions that use W25qxx_Spi()) - work wrong. For example W25qxx_ReadID receives only first byte with manufacturer ID, two next bytes are zero.
It can be fixed with increasing timeout from 100 to 150 in the call of
HAL_SPI_TransmitReceive(&_W25QXX_SPI,&Data,&ret,1,150);
The text was updated successfully, but these errors were encountered: