Hi,
How to measure power consumption, in the TMDSCNCD263P evaluation board using INA228AIDGSR. Any sample code or document is available for the same.
Thanks and regards.
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.
Hi,
How to measure power consumption, in the TMDSCNCD263P evaluation board using INA228AIDGSR. Any sample code or document is available for the same.
Thanks and regards.
Sudhakar,
See attached CCS binary to measure power consumption.
Regards,
Brennan
https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/908/current_5F00_monitor_5F00_test.release.debug.out
Hello Brennan,
After flashing the current_monitor_test.release.debug.out binary, getting the below message in the console window.
***************************************************
* Current Monitor Test *
***************************************************
Running Current Monitor test...
Setting INA configuration Failed
Current Monitor Test Failed
Also I was trying to measure power consumption on different scenario's, so it'll be helpful if I get the source file instead of binary.
Thanks.
Sudhakar,
You'll need to enable the PMIC LDO2 to supply the current monitors. Attached is a binary to enable all PMIC rails. You'll need to run this first, then the current monitor binary.
https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/908/pmic_5F00_diag_5F00_test.debug.out
Unfortunately, the source for the current monitor test is not publicly available.
Regards,
Brennan
Hello Brennan,
I've ran the binary file one by one, got the below result
pmic_test start
Device ID: 3c
Unlock config registers
Status Reg: 02
All tests have passed!!
***************************************************
* Current Monitor Test *
***************************************************
Running Current Monitor test...
Shunt Voltage = 78mV
Bus Voltage = 16383mV
Power = 0mW
Current = 16mA
Reading INA Device of Slave Address - 0x40 is successful
Shunt Voltage = 78mV
Bus Voltage = 16383mV
Power = 0mW
Current = 42mA
Reading INA Device of Slave Address - 0x41 is successful
Current Monitor Test Passed
I'm think data is not as expected for both the bus, for example Bus Voltage is showing 16383mV (i.e. 16.3V) and Power is 0mW, which is not correct, similarly other data as well.
Also Could you please share the register detail to to enable the PMIC LDO2 to supply the current monitors !
Sudhakar,
The current monitor binary comes from our PCB manufacturer, so I would need to let them know and wait for them to make changes to the source.
As for the PMIC LDO registers, this is information not made public by the PMIC team. You would need to reach out to them for that.
Regards,
Brennan
Hello Brennan,
Thanks, if possible once you received the updated binary please share.
Sudhakar,
I have let our manufacturer know about this issue. In the mean time, you can reference the Monitoring Bus Voltage and Power Measurement on AM263x MCU Using INA226/INA228 Application Note for instructions on doing this yourself.
Regards,
Brennan
Also, if possible can you share the binary, that I'll give us the minimum possible power consumption.
The binary which you'll be share in the future. What I'm looking for is, what is the minimum and maximum power consumption of the micro.
Sudhakar,
I was told today that the new current monitor binary will be ready by the end of next week. Is this something you are still interested in?
Sudhakar,
I talked with our manufacturer, the new current monitor binary has been delayed until next week.
Sudhakar,
Thank you for your patience. Attached is a working binary for power measurement using the current monitors.
Reminder that you must run the PMIC configuration binary before running the current monitor binary.
Regards,
Brennan