In my project (SDK 2.9.1), I have configured a USB Mass Storage (MSC) device that uses a QSPI flash, like the one on the 52840DK board.
CONFIG_USB_MASS_STORAGE=y CONFIG_MASS_STORAGE_DISK_NAME="NAND"
My system goes into sleep mode when a button is pressed, but before that it powers down some peripherals to reduce current consumption. One of these peripherals is the flash memory itself. However, when the system wakes up, the flash is not yet active, so the MSC initialization fails. This is because the MSC is initialized before my application has a chance to start and activate the flash. I was wondering if it's possible to delay the MSC initialization and decide when to trigger it myself. Is that possible?