Skip to main content
Ara.1
Associate III
September 8, 2020
Question

STM32MP1 VBAT

  • September 8, 2020
  • 6 replies
  • 2359 views

how to use vbat in dtsi configuration for RTC back up,

i had checked in evk and dk1 and dk2 dtsi, no reference available.

any one please share you thoughts

This topic has been closed for replies.

6 replies

Olivier GALLIEN
Technical Moderator
September 9, 2020

Hi @Ara.1​ 

I guess your question is similar to https://community.st.com/s/question/0D53W000009k9xfSAA/how-to-set-vsw-domain-for-stm32mp151c-custom-board-as-openstlinux-dts-for-using-retram

Actually this is not manage through dtsi. You need to patch TF-A in order to set in PWR_CR2, the bits RREN and BREN

Olivier

Olivier GALLIEN 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.
Ara.1
Ara.1Author
Associate III
September 9, 2020

Hi Olivier,

Thanks i will check it ,

where can i get these information as a reference manual,

i have STM32MP157C/F data sheet, but i need these PWR_CR2 information , like reference manual, that would be helpful.

Olivier GALLIEN
Technical Moderator
September 9, 2020

Hi @Ara.1​ 

Please go through https://www.st.com/en/microcontrollers-microprocessors/stm32mp1-series.html#resource

It contains all technical literature around MP1 including of course RM

Olivier

Olivier GALLIEN 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.
Ara.1
Ara.1Author
Associate III
October 18, 2021

is there any way in linux sdk support on

  1. vbat battery healthy status check and battery voltage measurement
  2. cpu temperature in *C
  3. cpu frequency.

Ara.1
Ara.1Author
Associate III
October 18, 2021

hi

anyone face this issue ?

Olivier GALLIEN
Technical Moderator
October 18, 2021

Hi @Ara.1​ 

Even if in same topic I would prefer you open a new post for your last comment rather than wake up this old one.

And for the original question , was my comment useful ?

Thanks,

Olivier

Olivier GALLIEN 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.
Ara.1
Ara.1Author
Associate III
October 18, 2021

Yes Oliver your informative was useful, but i am seeing sysfs user space like /sys/ device or class info which can access in user space.

as this this is a right forum to ask question, so asked here