@JorgeCas , thanks for your reply.
I have few questions, (please bare with me as I have a long post with multiple questions)
1) I have gone through the PAC1934 current equations, I think those computations are required to be done on the "VSENSE results registers", to get the actual voltage and current drawn by sense resistor i.e., can you confirm that the probed voltages through Saleae must match with the final computed voltages using PAC equations?
2) Also it looks like PAC1934 driver is part of the BCU utility itself, so I think it is not possible to access the PAC registers when my code executes on Cortex-M33. Can you confirm?
2) From the SOM schematics, I observed the "VDD_SOC_0V85" is the power rail that goes close enough to SOC, is there any other rail that can go even closer to measure power at Cortex-M33 level or at the Ethosu NPU level?
3) Assuming the probed voltage is not having any errors, can you validate the following procedure to compute the SOC power?
- Probe Vsense+ and Vsense- voltages
- Calculate sense resistor voltage (Vsense = Vsense+ - Vsense-)
- Calculate the sense current (Isense = Vsense / Rs). In my case, Rs = 1 + 0.005 = 1.005 ohm
- Calculate SOC voltage which will be same as Vsense- (since they are in series)
- Calculate SOC power (Power = Vsoc * Isense) (since they are in series)
With this procedure, I am getting Power = 13,755.22 uW
Can you provide me your insights on these assumptions?
Thanks