I’m trying to clarify my understanding of the SparkCore with consideration for a future project.
- Is the STM processor effectively uncommitted and available solely for User applications or does it run some wireless code?
- I understand that you can put the wireless chip to sleep and also the STM. Do you have a figure for current consumption of the SparkCore board as a whole when in deep sleep i.e. including regulator current?
- I presume the STM can be woken up from pin interrupts etc?
- Is the STM normally programmed with a boot loader that allows loading of Arduino code?
- If you wanted to debug / program the STM directly presumably you would use the JTAG adapter?
- If using the JTAG, do you have any recommendations for development tools / toolchains?
I’m hoping / assuming from confirmation of the questions above that it is possible to construct an application which uses the STM to run the code, using sleep modes to reduce the duty cycle of the runtime and reduce overall power consumption.
In my particular case the application would be event driven - waking from sleep, performing it’s task, collecting data, then sleeping again. The data would then be dumped on demand over the wireless link when back at a base, only firing up the wireless part at this point and powering it down the rest of the time. Does that use case fit with the SparkCore?