Changes

Jump to: navigation, search

Power management (Axel)

162 bytes added, 16:35, 10 October 2016
Measuring power consumption
==Measuring power consumption==
[[AxelEVB-Lite|AxelEVB]] integrates a chip (Texas Instruments INA226) that allows to measure the power consumption of the Axel SOM. This component - referenced as U25 - is very flexible. Following are the instructions to perform basic measurements. For more details please refer to its data sheet (http://wwwtested with the Linux kernel released with [Axel_Embedded_Linux_Kit_(XELK) XELK 2.ti3.com/product/INA2260]).
SOM power consumption measurements are available to be read from userspacevia <code>sysfs</code> entries. Following are the ''sysfs'' entries for:* Voltage (expressed in mV):
<pre>
root@axel-lite:~# cat /sys/class/hwmon/hwmon0/device/in0_input
3286
</pre>
* Current (expressed in mA):
<pre>
root@axel-lite:~# cat /sys/class/hwmon/hwmon0/device/curr1_input
425
</pre>
* Power (expressed in uW):
<pre>
root@axel-lite:~# cat /sys/class/hwmon/hwmon0/device/power1_input
1500000
</pre>
 
INA225 - referenced as U25 on AxelEVB - is very flexible. For more details about possible please refer to its data sheet (http://www.ti.com/product/INA226).
==Useful links==
4,650
edits

Navigation menu