 So if I call up the cube power, so what I suggest as well actually is it's probably a good idea. I do it this way anyway. I remove the cable from the nuclear U5 board so that I'm not trying to... It should be isolated, but I don't really want the ST link powered up as well whilst I'm powering the target from somewhere else. So we can remove JP5, put it to one side. Hopefully you've got your power shield plugged into your computer. You should be able to connect to the specific COM port and click on take control. And you know if it's connected properly because it will say board firmware version blah blah blah and if you've not updated the board it might be version 106 minus version 108. It doesn't really matter for this example. So first thing we want to do is we want like we did with Anders is to calibrate the power shield board. So before you plug in the power lead from the shield to the JP5 pin just click on calibrate and make sure that it gets a green tick. Now you are able to connect the power lead to the JP5 pin. I've now done that and that enables us to start capturing information from the board. But first of all let's change the board sampling frequency and this time we will put it at max. We can if we want to change the acquisition time to infinite but we only really want to look at a few seconds worth because if we remember we are running one second at 256 hertz and one second at 64 hertz and then we are turning the processor back on again. So if we set it to 10 seconds that gives us a nice span to look at. Now we can hit the start acquisition button which is start seeing data but now if you press the black button on the nuclear the reset button you will actually see the activity. Now it looks it's so miniscule here because I've not it's not auto zooming on the Y axis but I can zoom in very easily. After you've done every acquisition it asks you if you want to save a log. We don't need to save a log at this point so I'm just going to cancel that and zoom in on this area here by left clicking with the mouse button and this is okay. So this should be two seconds so 4.8 to 6.8 yes about right. So this is the where we're taking the 256 and 64 hertz samples and again if you haven't already done it select on the show report button here and that will give you this section of information that shows you what the average current is over the selected time frame. So if I was to have a look at this it's about 4.9 microamps which actually is probably a little bit higher than we're probably expecting but not by much to the look was it meant to be 4.194. So actually it's pretty close it's pretty close 4.9 microamps. Now it may be a poor calibration or I may have missed a step but this gives you the current consumption during the entire ADC sampling phase. So this is sampling at two rates via DMA. I can scroll back out again so we can see that the process is running and then it goes into stop two mode, samples at one rate then samples the other rate and then comes back out of stop two mode but this period here is very low power consumption even though it's sampling from the ADC. It's quite a long session to show you how to use this LPBAM configuration tool. Basically what we've done is we've created using that tool a set of configurations to run the DMA channel, the LPDMA with two channels, one to update a timer with two different frequency rates and the other one to do some sampling of an ADC. We could have done it all in one channel but we wanted to show you that we can use multiple channels for different things and we're showing that this can handle data whilst the rest of the chip is in low power mode. Now there are some more slides where we compare doing this at a faster sample rate or rather faster core clock frequency for the ADC and the timer and the DMA block and you'll find that actually that doesn't increase the power consumption much at all. Power consumption is dependent very heavily on the actual sample rate that we're taking the ADC samples because that's determining how long the ADC is essentially functioning for but what does make a difference is if we up the sample rate then the power consumption goes up but the savings over using a standard inter-wakeup mechanism where you run a DMA transfer, you wake up the process of the data then go back to sleep, the savings between that get more and more significant as the ADC sample rate goes up.