Power monitoring on LS1028ARDB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Power monitoring on LS1028ARDB

Jump to solution
872 Views
noahw
Contributor III

I'd like to monitor power draw of LS1028ARDB (Vdd). It looks like there are some INA222 current monitors on the device which can be queried via I2C to compute power draw. I'm looking at the information on this (https://docs.nxp.com/bundle/GUID-487B2E69-BB19-42CB-AC38-7EF18C0FE3AE/page/GUID-3B61CB66-10E4-4255-8...) page and Power Monitor User Manual" section of the LSDK user manual. 

I can't quite seem to figure out what I need to do to be able to get output from the INA222 devices. I installed the lm-sensors bash tool in my LSDK, but when I run `sensor` all I see are the two temperature devices. I can't seem to figure out whether the NXP-provided instruction are telling me to install additional I2C drivers, edit some config file somewhere, etc.

Is power monitoring supported on my device, and how can I read current and/or wattage output?

Tags (1)
0 Kudos
Reply
1 Solution
4 Replies
737 Views
June_Lu
NXP TechSupport
NXP TechSupport
0 Kudos
Reply
707 Views
noahw
Contributor III
0 Kudos
Reply
841 Views
June_Lu
NXP TechSupport
NXP TechSupport

Please enable the following options in LSDK2108 Linux Kernel configuration file and rebuild Linux Kernel. It seems that these options are not enabled by default.

CONFIG_I2C_MPC=y

SENSORS_INA2XX=y

0 Kudos
Reply
748 Views
noahw
Contributor III

Is it SENSORS_INA2XX=y or CONFIG_SENSORS_INA2XX=y?

Also, where in the flex-builder file system do I find the kernel config to edit?

Also, where in the menuconfig GUI can I find these two config options?

0 Kudos
Reply