3 Using the Power Debugger for Power Readings
To use the Power Debugger, Atmel Studio’s Data visualizer needs to be utilized. Open Atmel Studio, go to
. Expand the DGI Control Panel tab and select the Power Debugger Data Gateway.Press Connect and several interfaces will appear.
Enable the Power interface by pressing the empty box on the top left and then open the Settings menu.
In the Settings tab, disable the B channel. The devices can also be powered from the Power Debugger by enabling the output voltage and setting it at the required value.
For this application, only the ammeter function of the Power Debugger is needed. Connect the line going into the A ammeter with the pin closest to the Nano Embedded Debugger on the Curiosity Nano board and the line going from the ammeter to the pin closest to the microcontroller on the Curiosity Nano.
When everything is correctly configured, press Start in Atmel Studio DGI control panel and watch the current consumed in real-time by the device.