Anyone has a driver for QSPI flash S25FL512S?
ST has something on their github but it is incomplete.
The Infineon/Cypress forum offers something here but it is too obtuse.
ST has something on their github but it is incomplete.
The Infineon/Cypress forum offers something here but it is too obtuse.
The S25FL512S is in no way special, a driver for e.g. S25FL128S will work, too (as far as reading status reg., read ID are concerned and even for read for the bottom half).
(The changes for 4-byte address mode are rather simple, e.g. change the command bytes accordingly and the ADSIZE field in QUADSPI_CCR, but that's the final step, when read ID etc. work.)
Probably the pin setup is not correct? Check with scope or logic analyzer for activity on NCS, CLK, IO0 and then IO1) and verify that CLK speed is within allowed range for the flash.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.