It took some time to re-experiment and summarize the data, then I found the following
- runCommand() can enter but cannot release. However, if the sleep time is less than 200mS, it can be released.
- SPI.transfer() can enter and release with no problem.
My hypothesis is that XIAO sends “0x05” to Flash in DeepPowerDown mode and waits for a reply, but Flash ignores it and times out, as described in post 17.
I will now read the Nordic information more carefully.
nRF52_XIAO_LightSleep_enter_release_begin.zip (1.5 KB)
Since the oonboard Flash cannot observe waveforms, I connected an external Flash to observe waveforms.