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: Having problems programming the NVM

Part Number: LP8764-Q1

I am trying to program the NVM of the above part. The chip is connected using I2C to an ARM chip. I have wrote a program that uses the BIN file from the GUI and writes the registers in the sequence that is defined in slvaf93a. I dont have any problem doing this. But when I try and verify the NVM I get the wrong values. I initially try and verify page 0 address 4 but get the wrong value. It appears, although I cant be sure, that the values returned seem to be from page 3, subpage 0. Not sure why that would be, I have the ENABLE pin of the regulator held low and I dont power cycle the chip after programming. Is this correct? Also I am finding that if I try to write to page 4 it fails. I am trying to do this with I2C1. I have I2C2 disabled by setting the GPIO 2 and 3 to non I2C mode. Any help appreciated. 

Thanks

Jon  

  • I managed to get it working. One issue was that the user registers where locked. I had to issue the unlock command. I am not sure why the app note doesnt mention this.The second issue was that the watchdog use the I2c address at I2C2_ID. Even if the second I2C isnt used that is the address you have to use. 

  • Hi Jon,

    Thanks for reaching out and good to hear that you got managed to work it out.  And will take your feedback in consideration if there is any update to the app note. 

    BR,

    Ishtiaque