Hello everyone,
Has anyone tried to measure current using one of the MCU GPIO with its on/off time measurement? I'm trying to figure out how I can measure the current of the device in this way, distinguishing the separate processes (functions) which are taking place. The problem is, that there are no running processes in the application with a clear sequence. I'm thinking what could be the principle of measurement when processes are not defined in time (interrupts, rtc events and so on...)? I cant use adc also for this research, only power measurement device and toggling some gpios, which works perfectly when the processes used in the software are consistent.
Thanks for the answers.