Skip to main content
Visitor
Nov 18, 2026 12:21 PM UTC
Solved

MCSDK 6.4.2 VBUS sensing clarification required

Hi,

I need some information regarding VBUS sensing configuration in MCSDK. Here’s the relevant screen when editing a board:

I am confused because R1, R2 and R3 are not marked on the schematic so don’t know what they refer to. My guess is that R1 is the top resistor in the voltage divider, R2 is the bottom one? But this is just a guess. Maybe R3 is series to the MCU pin? It’s nowhere to be found on the picture.

Also please explain the need for an explicit “Bus Voltage Divider” parameter. Isn’t this redundant provided that it’s determined by the resistors? Or is this something else? What’s the idea here?

Thank you, Szabi

GMA
GMABest answer
ST Technical Moderator
Nov 18, 2026 4:47 PM UTC

Hello ​@Szabi8,

Thank you for the report.
The relevant parameter is the "Bus Voltage Divider," which is used as the VBUS_PARTITIONING_FACTOR definition in the generated project.
R1, R2, and R3 are indicative values, but they are not relevant.

If you agree with the answer, please accept it by clicking on 'Best answer'.Best regards.GMA

3 replies

Szabi8Author
Visitor
Nov 18, 2026 1:21 PM UTC

And then there’s also this with a separate “Bus Voltage Divider” setting.

How do the resistor values and the two Bus Voltage Divider parameters work together?

GMA
GMABest answer
ST Technical Moderator
Nov 18, 2026 4:47 PM UTC

Hello ​@Szabi8,

Thank you for the report.
The relevant parameter is the "Bus Voltage Divider," which is used as the VBUS_PARTITIONING_FACTOR definition in the generated project.
R1, R2, and R3 are indicative values, but they are not relevant.

If you agree with the answer, please accept it by clicking on 'Best answer'.Best regards.GMA
Szabi8Author
Visitor
Nov 18, 2026 5:49 PM UTC

Thanks ​@GMA 

That still leaves two independent “Bus Voltage Divider” settings, still being unclear which is relevant, but that’s easy to find out.

If I may suggest it would be nice in future versions to see on the UI which parameters are indicative and which are effective.