This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-AM68: How to use MCU I2C to access INA and measure power

Part Number: SK-AM68

Tool/software:

Hello -

The customer wants to measure power on the SK-AM68 when running their customer model. They referred to this existing E2E thread: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1325011/sk-am68-how-to-do-power-measurements-on-sk-am68

Is there an API or driver available from the Linux side of things to access the MCU and read the INA devices?  It’s not clear from the accepted answer how this is achieved.

Thanks,

Ross

  • Hi Ross,

    I am redirecting your question to the right expert. Thank you for your patience.

    - Fabiana

  • Ross,

    I use a stand-along widget to talk to the INAs. I do not think that there is an API to do this.

    It is certainly possible to use i2cset and i2cget to write and interrogate the INAs. One difficulty is that the INAs are 16 bits wide instead of 8 bits.

    As a first step, you will want to run a command like this: dmesg | grep i2c and look for the i2c with an address that matches the MCU I2C (e.g. 0x40B00000). This will be your i2c instance in the i2cget/i2cset.

    Kevin