2026-02-20 2:02 AM - edited 2026-02-20 3:57 AM
Good morning everyone!
I have a fast question related with STPMIC1. I want to use it in a design with a STM32MP135 but I don't clearly see how to do it, specially the DDR rail, because I understand that i have to program it. But, in a 20-30 units production, How can I flash it? Is there a special tool to flash it by i2c? Or i should to make other solution in PCB?
Thank you so much!
Solved! Go to Solution.
2026-02-26 9:24 PM
Hello huan_cab,
it is not proper to say "to flash the stpmic in the first steps start by I2C"
the STPMIC1 is "managed by the MPU", with the dedicated BUS I2C you can setup
the voltage value your application is needed using the Main mode or Alternate mode
for different working mode.
I'm not a coder for STM32MP device so I can't help you more.
Regards,
Vincenzo
2026-02-20 3:52 AM
Hello hua_cab,
first of all you need to understand what version of STPMIC1 you need, version A, B.. etc
This is linked on your application, see STPMIC1 | Product - STMicroelectronics and download the DS.
I'm not the expert of MPU, my perimeter is the PMIC family and I suggest to ask MPU team for best support on this.
The STPMIC1 device is coming with the minimum setup of output voltages rails to supply the MPU at boot phase and then the MPU take the command over the pmic to program/manage all the output rails your application needs, including the DDR memory power supply.
take a look also @ stm32mpu and you will find a lot of useful information
Regards,
Vincenzo
2026-02-20 4:04 AM
Thank you so much por your reply Vincenzo!
The reference that i need is STPMIC1D.
Related with your answer, Is not dangerous for DDR memories using a not recommended voltage on DDR Rail? I will to check MPU team, thank you!
2026-02-20 4:12 AM
Hello huan_cab,
I think you are in a safe condition, usually for DDR memory it is using the Buck2, LDO3 and VREFDDR output that normally are turned OFF (Rank 0), the MPU will turn ON with right voltage and you will use the setting linked to the DDR version you are using with the right output voltage and mode (sink/source or not for LDO3).
Regards,
Vincenzo
2026-02-26 1:04 AM
Thank you so much for your reply,
then, as I understand it, on the first start, we should to flash the stpmic in the first steps start by I2C, right?
2026-02-26 9:24 PM
Hello huan_cab,
it is not proper to say "to flash the stpmic in the first steps start by I2C"
the STPMIC1 is "managed by the MPU", with the dedicated BUS I2C you can setup
the voltage value your application is needed using the Main mode or Alternate mode
for different working mode.
I'm not a coder for STM32MP device so I can't help you more.
Regards,
Vincenzo