cancel
Showing results for 
Search instead for 
Did you mean: 

Wake up from stand by from a tamper pin.

JAlca
Senior

Hi all,

It is possible to wake up a STM32F3 series MCU, in stand by mode, from a tamper pin?

4 REPLIES 4
Uwe Bonnes
Principal II

RM0316. chapter 7.3.5:

Mode exit:

         WKUP pin rising edge, RTC alarm event's rising edge, external Reset in

         NRST pin, IWDG Reset.

I/O states in Standby mode

In Standby mode, all I/O pins are high impedance except:

·   Reset pad (still available)

·   TAMPER pin if configured for tamper or calibration out

·   WKUP pin, if enabled

JAlca
Senior

Yes, but in the same chapter, it says:

--------------------------------------------------------------------

Standby mode Description

Mode entry

WFI (Wait for Interrupt) or WFE (Wait for Event) while:

– Set SLEEPDEEP in ARM® Cortex®-M4 System Control register

– Set PDDS bit in Power Control register (PWR_CR)

– Clear WUF bit in Power Control/Status register (PWR_CSR)

Mode exit WKUP pin rising edge, RTC alarm event’s rising edge, external Reset in

NRST pin, IWDG Reset.

--------------------------------------------------------------------

It dont talk about tamper pins, only wakeup pins.

Uwe Bonnes
Principal II

So use wakeup pin as tamper.

JAlca
Senior

I did it, and its work well. But the wakeup pin is only rising edge active, and I need a falling edge (yes, I can use a NOT gate, but if is there a way to use tamper...)