cancel
Showing results for 
Search instead for 
Did you mean: 

Nucleo-L4R5 not working when powered externally

b.a.
Associate III

I have a Nucleo-L4R5 board that I want to power externally and for power consumption reasons, deactivate the ST-Link.

For that reason I removed the jumper from JP6 and applied 5V power to CN8 pin 9 (5V)and 13 (Gnd).

USB is plugged to the ST-Link and I program the board with the timedWakeUp-example from the STM32Duino-LowPower library.

The builtin LED starts blinking as expected, but as soon as I pull the USB from the ST-Link part of the board, the blinking stops.

Board version is MB1312-A01 to which I cannot find the documentation/schematic. Only newer A03 Version is available.

When I look into the A03 schematic, all should be fine and the MCU running when JP6 jumper is pulled. The 3V3 regulator U6 is powered and I can measure that the 3V3 voltage is present.

 

Any idea what might be wrong?

1 ACCEPTED SOLUTION

Accepted Solutions

@b.a. wrote:

Of course I am aware that the ST-Link can be broken off.


That's not a given - many don't realise that !

 

My guess would be that the "deactivated" (but still connected) ST-Link is holding the NRST line down.

It looks like there is a link to disconnect NRST - so you could try that.

 

You said this was specifically about power consumption. In that case, you really do need to be sure that all connections to the ST-Link are properly disconnected - otherwise there will be leakage ...

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

View solution in original post

6 REPLIES 6
Andrew Neil
Super User

@b.a. wrote:

I have a Nucleo-L4R5 


You mean the Nucleo-L4R5ZI ?

 

AndrewNeil_1-1750671534412.png


@b.a. wrote:

 for power consumption reasons, deactivate the ST-Link.


That board has the break-off ST-Link section (highlighted above). The surest way to deactivate the ST-Link is to break it off!


 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Yes, that's the board I use.

 

Of course I am aware that the ST-Link can be broken off.

So if I am asking here, maybe that is not the solution I would prefer...

 

Furthermore, I really would like to understand what is going on.

I am quite sure that breaking of the ST-Link will not change the current behaviour of the board not running the program with deactivated ST-Link.

So I'll end up with a broken board AND no solution ...

 


@b.a. wrote:

Of course I am aware that the ST-Link can be broken off.


That's not a given - many don't realise that !

 

My guess would be that the "deactivated" (but still connected) ST-Link is holding the NRST line down.

It looks like there is a link to disconnect NRST - so you could try that.

 

You said this was specifically about power consumption. In that case, you really do need to be sure that all connections to the ST-Link are properly disconnected - otherwise there will be leakage ...

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

ST-Link is holding the NRST line down.

nailed it :)

 

Thank you very much, as well for the hint to cutting all the connections.

 

 

 

b.a.
Associate III

Oh! Just realized, that when I power the ST-Link from a different source, and connect JP6 to E5V, it draws no power from the E5V!
So that is a quick way to roughly measure power consumption of the MCU part :)


@b.a. wrote:

ST-Link is holding the NRST line down.

nailed it :)


Glad that helped!

The User Manual mentions it for external 3.3V operation, but not 5V:

AndrewNeil_0-1750677694009.png

https://www.st.com/resource/en/user_manual/um2179-stm32-nucleo144-boards-mb1312-stmicroelectronics.pdf#page=23

 

@STTwo-32 - is this a documentation error/omission?

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.