0
\$\begingroup\$

I a working on a project around the STM32H7 (Nucleo STM32H743ZI2) on which I am using the user USB to communicate through CDC interface. Everything is working fine, however, I just noticed that this User USB port is not powering the board. I am pretty sure initially it was, but well it's no longer the case.

what is the CubeMX settings to enable this user USB port to power the board? The goal is to use this USB port to connect to the PC communicating with the board (and not the STLINK USB).

right now I have the USB_OTG_FS set to Device_Only, activate_VBUS set to VBUS sensing and activate_SOF is enabled.

thanks!

\$\endgroup\$
  • \$\begingroup\$ nvm, not possible per documentation. oh well \$\endgroup\$ – zytra Jul 20 at 23:55
  • \$\begingroup\$ If you think this is supposed to be supported, study the published board schematics until you understand how it is supposed to work. \$\endgroup\$ – Chris Stratton Jul 21 at 0:26
  • \$\begingroup\$ On the STM32F4 Discovery board, I usually use a jumper wire to bridge the user USB VBUS to the 5V -> 3V regulator. Not sure if that's possible on your board. \$\endgroup\$ – Felix S Jul 21 at 13:07
  • \$\begingroup\$ I read the doc again and it clearly says that the User USB cannot be used to power the board \$\endgroup\$ – zytra Jul 22 at 16:13
  • \$\begingroup\$ Please provide links to relevant data sheets plus section and page numbers so others can benefit/. Additionally, saying WHY this is the case (which may require you to look at schematics, would be informative. \$\endgroup\$ – Russell McMahon Aug 4 at 6:39
0
\$\begingroup\$

I read the Nucleo doc for my H743ZI2 again and it clearly says that the User USB cannot be used to power the board.

THis is more of a limitation of the development boards rather than a limitation of the USB OTG itself.

Thanks

| improve this answer | |
\$\endgroup\$
  • \$\begingroup\$ Please provide links to relevant data sheets plus section and page numbers so others can benefit/. Additionally, saying WHY this is the case (which may require you to look at schematics, would be informative. This also has the advantage of making the answer useful enough to be not much more than a comment. \$\endgroup\$ – Russell McMahon Aug 4 at 6:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.