STMicroelectronics / stm32-external-loader

Provides drivers, examples, loader files and testing routines for external loaders for STM32 series of microcontrollers.
Other
127 stars 71 forks source link

Add S25FL064L Driver #20

Open cody84 opened 9 months ago

cody84 commented 9 months ago

Driver was built and tested on custom board with STM32G491 MCU. It is very similar to the others in this repository but is specifically for S25FL064L and uses QPI mode for all functions after Init(). When built with STM32CubeIDE default settings on STM32G491 the external loader failed to read with 'Init function failed with timeout' error. Thanks to comments on STM32 forums by Tesla DeLorean the fix to this problem was setting the optimization level to -Os. A comment is in the CSP_QUADSPI_Init function providing this information if users experience the same error.