Skip to main content
AGamb.4
Associate II
June 15, 2022
Solved

How can I use tamper pins as a wakeup source?

  • June 15, 2022
  • 1 reply
  • 1060 views

Hi, I am looking all through the wiki, but I do not see any clue on using the tampers as a wakeup source.

How can I configure the tampers to wake up the stm32mp1 from low power modes?

Is it posible to wake up from VBAT? Or is VBAT only a energy mode to maintain the data in the memories? Can I run a piece of code in VBAT mode? If so, how could I do it? What restrictions do apply?

When I say a piece of code, I mean it can be baremetal or linux or whatever it can run.

Best regards,

Andrés

This topic has been closed for replies.
Best answer by OlivierK

Hi AGamb.4 (Community Member)

There is the procedure in the wiki here linux side.

https://wiki.st.com/stm32mpu/wiki/TAMP_device_tree_configuration

VBAT presence allows to have the backup domain powered when VDD is not present (as in STM32 MCUs). But CPUs are not powered. Refer to the product reference manual for more details.

Regards,

Olivier

1 reply

OlivierK
OlivierKBest answer
Technical Moderator
June 27, 2022

Hi AGamb.4 (Community Member)

There is the procedure in the wiki here linux side.

https://wiki.st.com/stm32mpu/wiki/TAMP_device_tree_configuration

VBAT presence allows to have the backup domain powered when VDD is not present (as in STM32 MCUs). But CPUs are not powered. Refer to the product reference manual for more details.

Regards,

Olivier

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.