How can I measure the power consumption on my SOM 8M Plus Development Kit?

Answer

There are two current sense resistors on the SOM 8M Plus DVK connected to a power monitoring IC to allow for measurements of current on the SOM 8M Plus power rail as well as on the external battery power rail.

For current consumption on the SOMs power rail issue:

cat /sys/bus/iio/devices/iio\:device0/in_current0_input

And for the external power rail issue:

cat /sys/bus/iio/devices/iio\:device0/in_current1_input

 

Reference: https://lairdcp.github.io/guides/summit-som8mplus-dvk-docs/1.0/PowerMan…