You can use the tamper_cfg
application, which is included by default in Digi Embedded for Android, to configure the tamper interfaces by modifying the registers associated with the tamper interface (particularly TAMPERn_CFG0
).
TAMPERn_CFG0
register
B7 | B6 | B5 | B4 | B3 | B2 | B1 | B0 |
---|---|---|---|---|---|---|---|
|
|
|
|
- |
|
|
|
Fields description
Bit | Field | Description |
---|---|---|
B0 |
|
Enable tamper detection (1: enabled, 0: disabled) |
B1 |
|
Reconfigure tamper interface settings (1: allowed, 0: not allowed) |
B2 |
|
Set active level (tamper condition) of the tamper input (1: high, 0: low) |
B3 |
- |
Reserved |
B4 |
|
Activate the output of an IO when a tamper condition is detected (1: enabled, 0: disabled) |
B5 |
|
Set output level (if enabled) when a tamper condition is detected (1: high, 0: low) |
B6 |
|
Power off the device after the programmed timeout, after a tamper detection (1: enabled, 0: disabled) |
B7 |
|
Clear tamper events by writing a 0 to the tamper event register (1: enabled, 0: disabled) |
TAMPERn_CFG1
register
B7 | B6 | B5 | B4 | B3 | B2 | B1 | B0 |
---|---|---|---|---|---|---|---|
- |
- |
- |
- |
- |
|
|
Fields description
Bit | Field | Description | ||
---|---|---|---|---|
B0-B1 |
|
Analog comparator averager:
|
||
B2 |
|
Use internal voltage reference for analog tamper
|
TAMPERn_EVENT
register
B7 | B6 | B5 | B4 | B3 | B2 | B1 | B0 |
---|---|---|---|---|---|---|---|
- |
- |
- |
- |
- |
- |
|
|