This example allows to measure the consumption of the core in different modes (sleep mode, wait mode, backup mode).
This package can be used with SAM V71 Xplained Ultra board, and should run on flash.
At start-up, the program configures all the PIOs as input to avoid parasite consumption. Then a menu is displayed. It allows user to enter in a mode to measure consumption.
On the computer, open and configure a terminal application (e.g. HyperTerminal on Microsoft Windows) with these settings:
Start the application.
-- Low_power Example xxx -- -- xxxxxx-xx -- Compiled: xxx xx xxxx xx:xx:xx --