9 years, 6 months ago.

Nucleo STM32 L053R8 : External supply without ST-LINK

Hello everyone,

I am a student in an internship and I am using a Nucleo L053R8. I want to use that platform with the lowest consumption possible so I would like to remove the ST-LINK part. For that I supply the Nucleo with 5V on the +5V pin and I remove the JP5 and SB12 jumpers. In my project, i communicate with an IRRIDIUM module through a serial port.

The program works fine with the ST-LINK connect (JP5 ON), but when I remove it (JP5 OFF) the program gets stuck at some points when it tries to clear the buffer of the IRRIDIUM.

I need to understand the relation between the ST-LINK and the main processor.

Thank you !

Hi Jean-Michel, With the 5V supply you are still powering up the st-link Please look at the STM Nucleo User Manual UM1724 page 20 section 5.33 you have to use a 3V3 supply and remove SB12 and SB2 Hope this helps

posted by Martin Simpson 02 Jun 2015

Hello Martin, thank you for your answer. Unfortunately we're forced to use the +5V supply, we're using an SD card shield that needs at least 3V5. The st-link is activited with the E5V pin, which is linked to the +3V3_ST_LINK. This is why we put the JP5 jumper off (links between E5V and . But We tried what you suggested and the result is the same. There must something with the st-link that prevents the processor from working well. Thank you a lot for your answer though.

posted by Jean-Michel Antarctica's King 03 Jun 2015

Hi Jean-Michel, All JP5 does is toi swap input 5V from USB to External supply the on board 3V3 regulator is activated either way and so the st-link is activated. However, have you removed CN3? and/or removed SB15 which is the SWO line for jtag programming? This may cause the STLINK to activate and effect PB3 on the ST processor. Please check the schematics in the previous document refered too. Kind Regards

posted by Martin Simpson 03 Jun 2015

Hi Jean-Micheal, Please check https://developer.mbed.org/questions/5362/Using-external-33V-Power-supply/ I think your problem is also compounded by Oscillator selection check page 22 of UM1724 document. You either have to use above solution in html link or provide your own XTAL (8MHz) since this MCO clock is provided by the STLINK.With out a defined (either by settings or hardware) then this will give you problems with your Serial timings and hence problems communicating with your devices. Kind Regards

posted by Martin Simpson 03 Jun 2015

Hi Martin, the CN3 was removed but not the SB15 jumper, that may be the source of the problem. And the MCO clock provided by the STLINK also, it's a serial communication problem probably due to frequencies. I guess we will have to add our own XTAL. We will check on these two parts. Thanks a lot Martin, that really hepled us.

posted by Jean-Michel Antarctica's King 03 Jun 2015
Be the first to answer this question.