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

I eventually got a development board and an external flash. However I did not see obvious difference sending the deep sleep and wake up commands with SPI transfer and Flash Transport. The flash seemed to sleep and wake up properly. However the working current using SPI transfer seemed to be much lower. The graphs below showed the current passing through the external flash chip.

Here are my test sketches.
Flash_test.zip (1.4 KB)