cancel
Showing results for 
Search instead for 
Did you mean: 

STPMIC1 Always ON LDO for powering a supporting micro (3.3V)?

roland van straten
Associate III

I have a small micro that needs to run before the MP157 is active. The voltage coming gin is 5V, but I need 3.3V. Is there an always-on LDO in the STPMIC1 for such purpose? I assume the internal LDO is not te be used?

Do I need to program the voltage of the LDO or is it set by default to 3.3V

Regards

1 ACCEPTED SOLUTION

Accepted Solutions
PatrickF
ST Employee

Hi @roland van straten 

on STPMIC1A, you could use Buck3 which is started at 3.3V few tens of ms before the MP157 is out of reset and maintained on every modes including Standby. If you need more time, you could maintain the NRST low form your small MCU the time you need.

During operation of STM32MP15x, Buck3 is usually defined as 'no power cycle on NRST' within TF-A in our SW deliveries (e.g. Buck3 kept powered even when watchdog reset occurs after TF-A starts).

Obviously, a platform shutdown requesting an STPMIC1 power-off will make the Buck3 OFF as well.

 

Regards.

In order 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

8 REPLIES 8
Vincenzo
ST Employee

Hi,

version of STPMIC1? A, B or...?

To have the 3.3V @Rank1 you need to program (one time, output voltage and Rank#) the LDO# in the NVM content so it will start at turn ON phase.

The STPMIC1 I²C programming guide - Application note

 

Regards

Vincenzo

PatrickF
ST Employee

Hi @roland van straten 

on STPMIC1A, you could use Buck3 which is started at 3.3V few tens of ms before the MP157 is out of reset and maintained on every modes including Standby. If you need more time, you could maintain the NRST low form your small MCU the time you need.

During operation of STM32MP15x, Buck3 is usually defined as 'no power cycle on NRST' within TF-A in our SW deliveries (e.g. Buck3 kept powered even when watchdog reset occurs after TF-A starts).

Obviously, a platform shutdown requesting an STPMIC1 power-off will make the Buck3 OFF as well.

 

Regards.

In order 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.

Thanks for the note:

I measured the -DK2 and the behavior of BUCK3, LDO2 etc and indeed the STPMIC1A is 3.3V and stable and always on. The LDO e.a. are affected when reset occurs.

Tnx

Hi roland van straten,

you need to program the below address, see STPMIC1 DS rev.10 @page83

Vincenzo_0-1723436107639.png

set bit to 1 active mask reset option for selected LDO for next

reset power-cycle. It is a single shot option and then register is reset to default

 

Regards

Vincenzo

It seems not to work as I hoped/expected it would be :(

The BUCK3 delivers the 3.3V as already mentioned in this thread. However, the 3.3V will turn off when pressing reset. The interrupting is short (5ms on its best behavior), but for the intended purpose not usable.

It would be wonderful to have a LDO with permanent 3.3V.

I did fix it with adding an external LDO.

 

Hi,

please have a look to this thread :

https://community.st.com/t5/stm32-mpus-products/iwdg1-bit-is-not-set-in-rcc-status-register/m-p/729735/highlight/true#M12074

you could setup any Buck or regulator to 'ignore the NRST' (in some extend, see note below) by setting the relative MRST_xxx bit(s) in STPMIC1.

Note: these registers are volatile and should be written on each SW boot (i.e. each NRST cycle). That mean if NRST is pressed again before SW programming, the regulator will do a power cycle. This is usually not a big concern as in a final product there is usually no direct HW reset button.

Regards.

 

In order 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.

That will not work in my case.

 

Just for some more background:

- I use a STM32C011 that does some chores on the board next to the STM32MP157F.

- One task is to provide the BOOT[2..0] pins setting instead of hard-wiring or a dip switch.

- The procure is when power is applied, C011 resets, STM32MP1 hold in reset, set boot pins, release reset.

- Using a Reed switch and hold it closed for a defined time period, I'm able to change the settings of the BOOT[2..0] and reset the STPMIC1/STM32MP157 so the processor reads the new setting and reboots.

 

Unfortunately, the reset that is generated will turn-off BUCK3 as mentioned before.

 

So, if STM32MP15 has not booted, it could not set the STPMIC registers as done on our Starter Package to avoid VDD cycle on next NRST. I see no solution here, simpler might be a distinct LDO for STM32C0.

Regards.

In order 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.