cancel
Showing results for 
Search instead for 
Did you mean: 

supply power from Nucleo STM32G4

Jad
Associate III

Good morning.

I am wiling to use the STM32G4 Nucleo-32 board (MB1430) board for an analog to CAN use.

PHOTO-2024-11-14-11-35-13.jpg

I would like to know if I could power up my 10 5V sensors. so i would like to know if I can use the +5V of my board and the current capacity of it to power up my sensors.

 

Capture d’écran 2024-11-14 à 11.46.30.png

My other question would be around the power supply of the board, It seems logical to use 7V and 800 mA to power it up so I will have as much power possible to use my 5V for my sensors. Is it the correct way to think?

Capture d’écran 2024-11-14 à 11.21.44.png

I would also like to know if i Have a 14 Volt battery, if I can directly put 2 boards in serial, the regulator inside of them making always sure that the tension is stable even if there is current variation in the circuit.

1 ACCEPTED SOLUTION

Accepted Solutions

@Jad wrote:

I would like to know how to calculate how much supply my MCU would need


Measure the consumption on JP1 while running the application:

SofLit_0-1731587949723.png

But seems not only the target MCU that pulls the current from LD1117 but also the STLINK block: MCU+LDO+ LEDs:

SofLit_1-1731588179901.png

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

View solution in original post

16 REPLIES 16
SofLit
ST Employee

@Jad wrote:

Good morning.

I am wiling to use the STM32G4 Nucleo-32 board (MB1430) board for an analog to CAN use.

PHOTO-2024-11-14-11-35-13.jpg

I would like to know if I could power up my 10 5V sensors. so i would like to know if I can use the +5V of my board and the current capacity of it to power up my sensors.

 


That depends on the load that LD1117 (the 5V regulator) will reach with your sensors. According to its datasheet the current should not exceed 800 mA of output current:

SofLit_0-1731582615007.png

The load includes the supply of the MCU + LDO regulator LD39050P (5V to 3.3V).

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

@Jad wrote:

I would like to know if I could power up my 10 5V sensors. so i would like to know if I can use the +5V of my board and the current capacity of it to power up my sensors.


Yes - so long as the total of the Nucleo board and all your sensors doesn't exceed the power supply capacity.

 


@Jad wrote:

My other question would be around the power supply of the board, It seems logical to use 7V and 800 mA to power it up so I will have as much power possible to use my 5V for my sensors.


The limiting factor here is going to be the power dissipation in the regulator - see Table 5 in the User Manual:

AndrewNeil_0-1731583329115.png

https://www.st.com/resource/en/user_manual/um2397-stm32g4-nucleo32-board-mb1430-stmicroelectronics.pdf#page=13

 

So, from a 7V input, it should be able to give 800mA total for both the Nucleo itself and any added loads.

 


@Jad wrote:

I would also like to know if i Have a 14 Volt battery, if I can directly put 2 boards in serial


I think not.

Jad
Associate III

thank you for the response, I saw the table of the current depending of the voltage, it is to maximise the power that i chose the 7 V input so I could get an output of 800 mA. I would like to know how to calculate how much supply my MCU would need, then to know the power that I can still use I do P(source) - (Pmcu) right?. If I do not use the 3.3V output i can not take care of the LDO regulator LD39050P (5V to 3.3V) right? 

Capture d’écran 2024-11-14 à 13.26.37.png


@Jad wrote:

I would like to know how to calculate how much supply my MCU would need


Measure the consumption on JP1 while running the application:

SofLit_0-1731587949723.png

But seems not only the target MCU that pulls the current from LD1117 but also the STLINK block: MCU+LDO+ LEDs:

SofLit_1-1731588179901.png

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

@Jad wrote:

 I would like to know how to calculate how much supply my MCU would need,


As @SofLit said, the easiest way is to measure it.

 


@Jad wrote:

then to know the power that I can still use I do P(source) - (Pmcu) right?


Yes.

 


@Jad wrote:

 If I do not use the 3.3V output i can not take care of the LDO regulator LD39050P (5V to 3.3V) right? 


I'm not sure what you mean by that.

Figure 8 in the UM shows you how all the various supplies & regulators relate

Thank you very much for the response, I am new in the power supply of MCUs and would like to know what could be the problems if I put 2 boards in serial. And if you have any tips regarding the power of MCUs in general, my main goal is to power up 3 MCU's and a light  with a 12 volt power supply

What do you mean by that?


@Jad wrote:

 I put 2 boards in serial. 


I think it's better to plot a sketch with different blocks and different power supply levels at each stage and share it here to understand what do you need to do ..

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Jad
Associate III

Thank you for the response. I can't have a value before running my program on the board. Because for my project, what I wanted to do is to choose the sensors in a matter of the power supply that I get from the MCU, so I can power up all my sensors from my MCU.

Jad
Associate III

allright, I will open a new case for that topic