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.

LP8764-Q1: Testing the LP8764x PMIC via python script

Part Number: LP8764-Q1

I am connected to a prototype board design with one LP876411 PMIC, using I2C.
(The Scalable PMIC GUI is not working - another thread)

Reading and writing registers via I2C using python is possible. However, after a few days of trying, I cannot safely setup the outputs.

Is there a simple basic "quick start" list of what registers to set in what order, just to get some stable outputs?
Do I have to clear the pre-programmed PFSM first?
I just need 4 stable independently controlled regulators, don't care about monitoring events, start sequences, exception handling etc. at this stage.

  • Hi Stephen,

    Yes, you can change registers on the fly but PFSM is thing what needs to be updated before device starts working as you expect. So you need to create whole new NVM before you can update EEPROM and get more stable outputs i think. 

    So new NVM needs to be created to make device work. 

    You mean you would need LP8764-Q1 NVM configuration which has 4xsingle output and controlled with 4x different GPIO each output separately. 

    Br, Jari

  • Hi Jari,

    If I create a simple NVM image in Scalable PMIC GUI, e.g. to simply toggle the reset line (something safe), is there any documentation available to allow me to develop a Python script to send the image to LP8764 NVM (@ page 1 address)?
    Sorry, it's not clear from the datasheet or EVM user guides.

    Longer term, we want to program the PMIC NVM, (in high volume) from ATE, a microcontroller etc. rather than using PC + Scalable PMIC GUI.

  • Hi Stephen,

    Yes, there is documentation. Please see https://www.ti.com/lit/an/slvaf93a/slvaf93a.pdf

    There is plan we are going to release new GUI by end of this month. Also early next year, 1Q24 probably, we are releasing more support for customer DIY purposes. This means there will be dedicated LP8764-Q1 version released for customer programming. Also there has been discussion if we should release example code for customer production programming since we have recognized using GUI and PC is not effective. 

    Br; Jari.

  • Hi Jari,

    Thanks for the documentation, there is quite a learning curve but hopefully I will be able to encapsulate the process and download a binary image.
    Obviously I may have issues with the process, but for now, this is enough to get going.

    Thanks

    Steve