Skip to main content
Visitor II
January 29, 2025
Solved

STM32MP1 Tamper Pull-up Wen Running From Vbat

  • January 29, 2025
  • 1 reply
  • 963 views

Hi,

In Vbat mode (No Vdd), is it possible to pull up the tamper pins and detect tamper in High-Level.

We did it in run mode. We enabled the pullups on the tamper pins which are connected to a detect switch. We detect tamper and erase backup registers when the switch released.

But in VBat mode. We couldnt succedded.

We are runing Passive tamper with precharge enable and trig on. Only PC3,PF10 and PI2 pins are available on the board for tamper inputs.

 

We configure the tamp block both in Optee and TFA with same configuration.

Below is our device tree for both Op-tee and TFA configuration.

 

&tamp {

    st,tamp-passive-nb-sample = <4>;
    st,tamp-passive-sample-clk-div = <16384>;
    st,tamp-passive-precharge = <4>;
    wakeup-source;
    wakeup-parent = <&exti>;

    /* Tamper button */
    tamp-button {
        tamper-gpios = <&gpiof 10 0>;
        st,tamp-mode = <TAMPER_CONFIRMED_MODE>;
        st,tamp-id = <1>;
        status = "okay";
        st,trig-on;

    };
};

 

 

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

    Solved on the hardware by removing the pul-up resistors to vdd.

     

    1 reply

    GokhanKAuthorAnswer
    Visitor II
    January 29, 2025

    Solved on the hardware by removing the pul-up resistors to vdd.