cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP1 Tamper Pull-up Wen Running From Vbat

GokhanK
Associate

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;

    };
};

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
GokhanK
Associate

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

 

View solution in original post

1 REPLY 1
GokhanK
Associate

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