Hello,
I have a custom board with an nRF52833 and a W25Q512JVEIQ, which communicate over SPI (not QSPI). I successfully accessed the W25Q512JVEIQ (executed my own read and write commands).
My next goal is to use the W25Q512JVEIQ external flash memory as USB mass storage. I reviewed the samples/subsys/usb/mass
sample and am trying to adapt it to my project. While researching an issue, I came across an old discussion where it was mentioned that the nRF5 SDK did not include any application for SPI flash. Is this still true? In this example, samples/subsys/usb/mass
uses QSPI. Can I switch to SPI and use it without issues?
I tried implementing it myself, but I encountered mounting issues. The fs_mount
function returns -5, which I believe is an EIO error. What can I do to resolve this? To resolve this issue, I think I need to implement the read, write, and erase functions I wrote for the W25Q512JVEIQ in the relevant parts of the code. Am I correct?
Best Regars.