4.3.7 Tamper Detection
The ATSAML22N18A supports up to five selectable external inputs and one output that can be used for tamper detection. When tamper is detected a time stamp is logged and an interrupt is raised. The output pin can be used for PCB active layer detection, when enabled a bit pattern is applied to the output pin, if this pattern is not received at an input pin a tamper is detected.
All tamper inputs and the output is connected to EXT1 and EXT2. Using a jumper between PB01 and an input can emulate for example the chassis of a product being opened or a modification to a PCB.
For more details about how the tamper functionality works, see the SAM L22 datasheet.