The external Flash is W25Q128JV (Winbond), connected via SPI, with unused WP and HOLD pins pulled up.
The current flowing into the VCC pin is measured.
The command sequence is:
flash.begin() -->enter–>release–>flash.begin().
- Using SPI.transfr(),
5.7uA–>0.26uA–>5.7uA–>5.7uA - Using runCommand(),
5.7uA–>300uA–>600uA–>5.7uA
External Flash does not seem to execute runCommand() correctly. - “0x66”,“0x99” is used instead of “0xAB”, the result is the same as 2.