Other Parts Discussed in Thread: TPS65218
Hello,
I need to change the UVLO threshold and hystersis values in the CONFIG1 and CONFIG2 registers and then to save in EEPROM.
So I modified the linux driver tps65218.c
I am able to change the values of the CONFIG registers. But then the save in EEPROM command (0x50 0x1A 0xCE in the password register) is not working. The PMIC does not start anymore after a power cycle.
I tried on 3 boards, all of them are killed.
Then I tested only the command to save in EEPROM (without changing CONFIG registers) on the uboot command line.
U-Boot# i2c mw 24 0x10 0x50 1
U-Boot# i2c mw 24 0x10 0x1A 1
U-Boot# i2c mw 24 0x10 0xCE 1
But same results, my board does not start anymore after a power cycle.
In the spec I read "A consecutive write of 0x50, 0x1A, or 0xCE to the password register commits the current register settings to EEPROM memory so they become the new power-up default values".
What does mean the or 0xCE?
Have and and idea what is going on? Have you some driver code to save the data in EEPROM?
Thanks
Jean-Luc