2019-01-11 10:07 AM
Read from datasheet, not clear if I could use MCU change the I2C register, then get new PDO effective immediately or have to write to NVM first, reset, then the chip load that to I2C register to take it effective. If has to write NVM every time, what is the endurance of the NVM? Thanks!
2019-01-14 06:14 AM
Hello,
Yes. You can update STUSB4500 SINK PDOs via I2C. Please download STSW-STUSB003 software library as a reference or check UM2473 user manual. This will override on the fly the I2C registers, which use the NVM content as a default (Power On reset) . New settings are effective immediately without reset, but are volatile (managed during boot or application software).
For applications without MCU, the NVM can be indeed also updated (during evaluation using STSW-STUSB002 GUI or during manufacturing). But this customisation is optional for MCU based applications.
Hope it helps,
Rgds,
Benoit