Other Parts Discussed in Thread: ENERGYTRACE, SYSCONFIG
Hello,
I checked out the current consumption of my project using EnergyTrace and saw that the minimum current it was consuming was approx. 6 mA. For this reason I decided to compare the project with the example project and saw that it was able to reach a minimum current of around 1-2 mA, in contrary to my project..
The changes between the example project and my project are not a lot. I included a Sensor Controller project. After the reporting time ends, the execution task is manually executed and a semaphore is used to put the task in an "Idle" state. After further digging I found out that defining the pins caused the current to increase by some mA. I confirmed this by adding the sysconfig of my project to the example project. I have removed the pins from Sysconfig, but they are defined in the Sensor Controller project too, so the current will go to ~6 mA whenever the main communicates with the Sensor Controller and then stays on at least 6 mA.
I have added links to the power profiles because the pictures resize when I paste them in here directly. The first one is my project, the second the example project. For the context: I've merely let the devices start without a collector around and they do not contain any join information.
My own project:
https://imgur.com/henIqiM
Example project:
https://imgur.com/TXocBKI
Now that the context is clear, how to ensure that the main is in standby mode? Is it possible to completely disable these pins after the execution is done, and re-enable them when needed? Right now it looks like the standby mode is being blocked by the sensor controller
I would really appreciate the help.
Kind regards