5 years, 3 months ago.

Programm doesn't work when STM32Nucleo 16-board is connected to extern usb power supply

Hi everyone.

My programm does work fine when the usb port of my stm32nucleo 16-board is connected to the pc. but if i supply the board with an extern usb power suppy the programm doesnt run as it should?

what am i doing wrong? maybe solder bridges or jumper position?

1 Answer

5 years, 3 months ago.

During USB enumeration the ST-Link communicates with the USB host to request more than the default 100mA. In case that fails the target processor will be disabled. Obviously most USB powersupplies will not support enumeration and thus the board does not work. You may be abe to get it working by inserting SB1. Alternatively, use the external powersupply input pins. Check the board manual for all details. See Chapter 6.4 in DM00231744.pdf on the ST website. https://www.st.com/content/ccc/resource/technical/document/user_manual/e3/0e/88/05/e8/74/43/a0/DM00231744.pdf/files/DM00231744.pdf/jcr:content/translations/en.DM00231744.pdf