Show Contents

# Configure the tamper interfaces

You can use the tamper_cfg application, which is included by default in Digi Embedded Yocto, to configure the tamper interfaces by modifying the registers associated with the tamper interface (particularly TAMPERn_CFG0).

## Register description

### TAMPERn_CFG0

B7 | B6 | B5 | B4 | B3 | B2 | B1 | B0
--- | --- | --- | --- | --- | --- | --- | ---
CLR_EV_EN | PWROFF_EN | OUT_ACT_HIGH | OUT_EN | - | IN_ACT_HIGH | RECONF_EN | DET_EN

## Field description

Field | Description
--- | ---
0 DET_EN | Enable tamper detection (1: enabled, 0: disabled)
1 RECONF_EN | Reconfigure tamper interface settings (1: allowed, 0: not allowed)
2 IN_ACT_HIGH | Set active level (tamper condition) of the tamper input (1: high, 0: low)
3 - | Reserved
4 OUT_EN | Activate the output of an IO when a tamper condition is detected (1: enabled, 0: disabled)
5 OUT_ACT_HIGH | Set output level (if enabled) when a tamper condition is detected (1: high, 0: low)
6 PWROFF_EN | Power off the device after the programmed timeout, after a tamper detection (1: enabled, 0: disabled)
7 CLR_EV_EN | Clear tamper events by writing a 0 to the tamper event register (1: enabled, 0: disabled)

### TAMPERn_CFG1

B7 | B6 | B5 | B4 | B3 | B2 | B1 | B0
--- | --- | --- | --- | --- | --- | --- | ---
- | - | - | - | - | INT_VREF | AVG

## Field description

Field | Description
--- | ---
0-1 AVG | Analog comparator averager: 0: 1 sample 1: 2 samples 2: 4 samples 3: 8 samples
1 INT_VREF | Use internal voltage reference for analog tamper CAUTION! This affects all analog tamper detection, MCA ADCs, analog comparators, and external VRef output.

### TAMPERn_EVENT

B7 | B6 | B5 | B4 | B3 | B2 | B1 | B0
--- | --- | --- | --- | --- | --- | --- | ---
- | - | - | - | - | - | ACKED | SIGNALED

© 2018 Digi International Inc. All rights reserved.
Configure the tamper interfaces updated on 22 January 2018 02:43:38 PM