cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use tamper pins as a wakeup source?

AGamb.4
Associate III

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

1 ACCEPTED SOLUTION

Accepted Solutions
OlivierK
ST Employee

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

View solution in original post

1 REPLY 1
OlivierK
ST Employee

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