2023-06-02 06:51 PM
I'm currently working on a project involving a NUCLEO-H743ZI2 board.
I want to know if it's possible to power the board with User USB instead of ST-Link USB.
Or if it's possible to transfer data using ST-Link USB and use User USB for debugging.
Thank you in advance!
Solved! Go to Solution.
2023-06-03 01:39 AM
Have a look at the board schematics page 7: https://www.st.com/resource/en/schematic_pack/mb1364-h743zi-c01_schematic.pdf
There is no way to connect the VBUS from the user USB connector to the board power supply.
You can use the ST-LINK USB to transfer data using the VCP port (connected MCU USART3), not using USB protocol.
I don't thing you can use user USB to debug with ST-LINK...
2023-06-03 01:39 AM
Have a look at the board schematics page 7: https://www.st.com/resource/en/schematic_pack/mb1364-h743zi-c01_schematic.pdf
There is no way to connect the VBUS from the user USB connector to the board power supply.
You can use the ST-LINK USB to transfer data using the VCP port (connected MCU USART3), not using USB protocol.
I don't thing you can use user USB to debug with ST-LINK...
2023-06-03 01:21 PM
Yes, it is possible to power the NUCLEO-H743ZI2 board using the User USB instead of the ST-Link USB. You can connect the board to a power source through the User USB port. As for data transfer and debugging, you can use the ST-Link USB for both purposes simultaneously. This allows you to transfer data between the board and your computer while using the User USB for debugging operations.
2023-06-04 08:58 AM
My understanding:
NUCLEO boards have 1 USB port for debugging (STLinkV2/3) the target MCU.
This can be the power source of the target MCU. If legacy micro-USB, the budget will be 500mA minus the debugger (if V3, 100-150mA left).
Most STLinks have built-in USB to Serial (UART) translators, connected to specific RX/TX of target MCU. You can use it if you implement code in the target MCU (to make printf, console, etc.... as you wish)
Now the target USB (the port connected to the target MCU USB-Pins) can power the target chip.
If plugged to a PC (and not a power bank), if the target MCU doesn't have USB SW, non-USB-C plugs will provide 100mA. With target USB SW, you can declare to be a high powered device (500mA).
Another way to provide power is through Arduino Vin source which goes to a 5V built-in regulator.
There should be jumpers to select the power source for the target.
With USB-C, max current ratings may be pushed up.
2023-06-04 10:15 AM
"Yes, it is possible to power the NUCLEO-H743ZI2 board using the User USB instead of the ST-Link USB" This statement does not agree with the schematic pointed out by Nikita91.
2023-06-04 10:16 AM
"Now the target USB (the port connected to the target MCU USB-Pins) can power the target chip." This statement does not agree with the schematic pointed out by Nikita91.
2023-06-04 01:07 PM
See UM2407 6.4.3: there is option for external 5V and 3.3V power. If you connect the ext. 5V supply pin to the USB power wire ...
2023-06-04 03:16 PM
Yes JP2 allows to select among various 5V power inputs, but not from the user USB...
As @Pavel A. say you can solder a wire on the board!
2023-06-04 03:57 PM
Thanks for the replay.
Do you mean I should jump wire from VBUS to 5V power input?
Is it safe to do?
2023-06-04 04:07 PM
I'm not sure it's safe to jump wire between USB power and Ext. 5v.
I can give a try.
Thank you for the information.