Skip to main content
DavePfz
Senior
Question

Is there an updated register map for the STUSB4500?

In trying to read the I2C registers of the STUSB4500, I find that the information provided in the combination of UM2473, UM2650, DS12499, and even STSW-STUSB033 to be incomplete and at time contradictory. For example STSW-STUSB003 references rev 2 of the document and the current revision is 3 and they don’t agree. Mush of what I find here on the community is 7 or 8 years old and of a very similar complaint.

Is there one source that provides all of the data concisely? This is needed for a project where connecting to a NUCLEO-F072RB is not feasible.

Thanks

2 replies

Didier HERROUIN
ST Technical Moderator

Dear DavePfz,

Basically, the STSW-STUSB003 provides some code examples to manage dynamically the input power of the STUSB4500, based on STM32F072RB µController host. It includes an IAR project. UM2473 is the user manual which details these libraries, like PDO reading and PDO update.
The rev3 enriches the rev2, especially the software examples to allow the application to modify the current of the 5 V profile and to make system decisions based on the port state.

The UM2650 is another SW programming guide for experts who want to go further, with good practice recommendations about PDO reading, renegotiation with the SOURCE, etc…

Note that if your need is only NVM programming (static configuration), STSW-STUSB004 is recommended.

 

Could you describe what you intend to do using the STUSB4500 registers ?

 

Best regards,

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
DavePfz
DavePfzAuthor
Senior

In my application, the processor needs to be able to read the registers to “know” what power is available. I don’t need to be able to modify the registers as the default mode will select the highest available voltage and in most cases that is sufficient.

However, if the end result is the selection of a 5V supply (as in the case of connecting to a PC), the application needs to be able to determine if there is sufficient current capacity before turning on the circuit to charge the internal batteries - 4 NiMH in series. The system can operate on the standard 5V at 500mA, but needs more for charging.

I was hoping that there was a datasheet that provided this information as I find that easier to understand than reading code that has no reference.

Thanks