7 years, 11 months ago.

Autonomous USB Power for MBED NUCLEO F030R8

Hi all,

I want your advice. I have an Mbed LPC1768 and it allows to be power out with other source than a computer. I have tried with basic autonomous battery as :

This one : /media/uploads/steven_armiroli/victsing-16000mah-panneau-solaire-chargeur-de-secours-avec-dual-usb-externe-mobile-chargeur-de-batterie-banque-dalimentation-pour-ipad-mini-ipad-5-4-3-2-tablettes-android-samsung-galaxy-note-80-google-0.jpg

Or also this one : /media/uploads/steven_armiroli/batterie-de-secours-usb-autonome-2200mah.jpg

I have implemented my programs in MBEDs NUCLEO F030R8 and i cannot use this kind of battery, i have only one solution which is to plug my USB to the computer. I would like to use basicall autonomous battery as i do for MBED LPC1768.

Why it does not work ? Is it possible to do it with my NUCLEO ? How exactly?

Thank you for your help !!

1 Answer

7 years, 11 months ago.

I assume you are trying to power the nucleo from the alternative powersource using the usb port that is also used for connecting and powering it from the PC. Note that this USB port is controlled by the stlink/v2-1 which tries to negotiate a higher current from the host PC. This will fail when there is no actual USB host on the other end but a battery or solarcell. The stlink will then shutdown the target f030. You need to modify jumpers on the nucleo to make this work. Check the nucleo board usermanual for details.

Accepted Answer

Thank you very much for answering my question. It works perfectly now.

I have found that I had to jump JP1 according to the usermanuel and as my system does not need more than 300mA current It works well.

Have a good day !

posted by Steven ARMIROLI 07 May 2016