Wio Terminal Flash usage and CPU Power saving questions

I have some more questions that I can’t find answers to:

  1. How do I use some of the 4MB of Flash to store data or do I have to use a MicroSD card?
  2. How do I throttle the CPU or make it sleep to save power? If it can sleep, can it sleep while watching for a button to be pushed (i.e. how to make it wake up?)

Thanks!
Scott

@ansonhe97 Please help him.

Hi @mischko

  1. You can use the 4MB Flash to store data, the factory firmware (the game when you first turned on) stores the image in flash. We are currently working on a Arduino library for this, so please be patient. It should be released within this month.

  2. For low power mode, we have not done much work on this. But Adafruit seems did some work. Here is the Adafruit Sleepydoy library. But it seems that it’s doesn’t support SAMD51 yet but some users already discuss some ways to do it here: https://forums.adafruit.com/viewtopic.php?f=62&t=145747

Thanks

Hi @ ansonhe97, is there any news on the library for writing data on the flash?
I look forward to this library would solve problems for the development of a product based on Wio terminal

https://wiki.seeedstudio.com/Wio-Terminal-FS-Overview/ @ansonhe97 this document does not say how to use SPI Flash.Please help to add it.

Hi @Gianfry60

Please check this doc: https://wiki.seeedstudio.com/Wio-Terminal-FS-ReadWrite/#readingwriting-the-flash-using-qspi

Hi @ansonhe97 This is just an example, I would have preferred a documentation, but it’s still a start. thanks
Gianfranco

Will work on the documentations for this library this week, thanks :slight_smile:

1 Like

Hi @ansonhe97, I tried to use your example but it doesn’t seem to work, the only message the serial monitor returns to me is:
[SFUD](D:\Documenti\Arduino library\libraries\Seeed_Arduino_SFUD-master\src\sfud.c:116)
Am I wrong or is there something wrong?