2025-01-29 02:39 AM
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.
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;
};
};
Solved! Go to Solution.
2025-01-29 04:56 AM
2025-01-29 04:56 AM
Solved on the hardware by removing the pul-up resistors to vdd.