spif
spif copied to clipboard
Library doesn't work flawlessly inside Mass Storage Class (MSC)
Hi, using the library inside normal functions like main, everything works. But it can't be used within STORAGE_FS functions from the mass storage class provided by ST. Calling the function EraseSector ends up in an infinite delay, where the whole device becomes unresponsive. When trying to debug this behaviour, getting unresponsive starts when the function SPIF_WaitForWriting is being called. Also the main-Function Loop freezes when the function SPIF_WaitForWriting is reached.
Maybe someone experienced the same issue?
hello. SPIF_WaitForWriting has timeout. Either way it should work. :(