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.

BQ27542-G1: Need to know which command line interface is used to execute Standard Data Commands for the battery for one of our EVM boards

Part Number: BQ27542-G1
Other Parts Discussed in Thread: BQSTUDIO, BQPRODUCTION

HI,

I am trying to Automate Standard data Commands using Python Script so as to fetch most of the low level data and export them to PDF report so that user will have full picture of the Battery related activities/values that are taking place right from low level(registers level) to the UI level. At UI level I can use "adb shell dumpsys battery" and "adb shell dumpsys batterystats" commands . But when it comes to fetch Low level data like :


Control()
AtRate()
UnfilteredSOC()
Temperature()
Voltage()
Flags()
NomAvailableCapacity()
FullAvailableCapacity()

etc...

My query here on my EVM board like adb shell is there any other command line interface where I can try out the commands above and fetch the data and automate it?

Thanks and Regards,

Srinivas Mannapuram

  • Srivinas,

    Are you able to read/ write standard commands using bqstudio and your EVM? Now, that i can help you figure out how to do, but i don't use python, so will be unable to help you out on that aspect. Perhaps someone else more familiar with Python on the forums can help you.

    thanks
    Onyx
  • HI Onyx,

    Thank you for the Immediate Response. I haven't used bqstudio in this regard as it is a licensed one. Do we have any open source tools that will do the job ? if Yes please let me know how to use them . Would be a great help.

    Thanks and Regards,

    Srinivas Mannapuram

  • Hi Srinivas,

    bqStudio and bqProduction (used for mass production) are licensed for use by TI customers for evaluation and manufacturing. It is free, there is no fee.
    Both are not open source as the intent is to use only with TI products. The license prohibits its use for non-TI products.


    thanks
    Onyx