XIAO_BLE wakes up from System_ON_Sleep and Writes weather data to on-board Flash

Schematic description of the experiment so far,

#define PowerDownTime 285           // 285:OK 286:NG

flashTransport.runCommand(0xB9);    // enter
delay(PowerDownTime);

flashTransport.runCommand(0xAB);    // release
delay(500);

flashTransport.runCommand(0xB9);    // enter
delay(PowerDownTime);

flashTransport.runCommand(0xAB);    // release
delay(500);

flash.begin(&P25Q16H, 1);           // initialize

If PowerDownTime is smaller than 285mS, it can be released; if it is larger than 286mS, it cannot be released. The current value is also measured, but if it cannot be released, an error occurs in flash.begin(). I can’t imagine why it is related to the length of DeepPowerDown at the moment.