I2C address map for STUSB4500?
Hi
Which registers can be read/write on the STUSB4500? What are the register addresses?
The datasheet only mentions the NVM parameters and their default values, how do you set them via i2c?
Thanks
JM
Hi
Which registers can be read/write on the STUSB4500? What are the register addresses?
The datasheet only mentions the NVM parameters and their default values, how do you set them via i2c?
Thanks
JM
Hello,
Be careful that the STUSB4500 contains 2 kinds of memories:
- a bank of programmable registers (I2C register map)
- a Non-Voltage Memory (NVM), which contains the default device configuration at startup, and where the content is kept when there is no power.
The Table 16 of the datasheet ("STUSB4500 user-defined parameters and default settings") describes some parameters like SHIFT_VBUS_LL2.
However this table is not the I2C register map, but the NVM memory description.
So be careful of the confusion, because both memories are different.
The full register map is available in the STSW-STUSB003 package.
But even with the register map document, it is not easy to understand how to program the chip.
The best way to understand how to use the chip is to refer to the sample code in STSW-STUSB003 package.
There is also another sample code here:
https://github.com/usb-c/STUSB4500/tree/master/Firmware/Project/Src
Is there a specific feature that you want to implement which is not in the sample code ?
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.