49. Tamper and backup registers (TAMP)

49.1 Introduction

32 32-bit backup registers are retained in all low-power modes and also in \(V_{BAT}\) mode. They can be used to store sensitive data as their content is protected by an tamper detection circuit. 3 tamper pins and 6 internal tampers are available for anti-tamper detection. The external tamper pins can be configured for edge detection, or level detection with or without filtering, or active tamper which increases the security level by auto checking that the tamper pins are not externally opened or shorted.

49.2 TAMP main features

49.3 TAMP functional description

49.3.1 TAMP block diagram

Figure 512. TAMP block diagram

TAMP block diagram showing internal and external tamper detection logic, PRNG, backup registers, and monotonic counter across two clock domains.

The diagram illustrates the TAMP (Tamper and backup registers) architecture, divided into two clock domains: tamp_ker_ck clock domain and tamp_pclk clock domain.

tamp_ker_ck clock domain:

tamp_pclk clock domain:

Other signals shown include tamp_erase, tamp_evt, tamp_pclk, and various TAMP_OUT signals.

TAMP block diagram showing internal and external tamper detection logic, PRNG, backup registers, and monotonic counter across two clock domains.

MSv50992V2

1. The number of external and internal tampers depends on products.

49.3.2 TAMP pins and internal signals

Table 337. TAMP input/output pins

Pin nameSignal typeDescription
TAMP_INx (x = pin index)InputTamper input pin
TAMP_OUTx (x = pin index)OutputTamper output pin

Table 338. TAMP internal input/output signals

Internal signal nameSignal typeDescription
tamp_ker_ckInputTAMP kernel clock, connected to rtc_ker_ck and also named RTCCLK in this document
tamp_pclkInputTAMP APB clock, connected to rtc_pclk
tamp_itamp[y]
(y = signal index)
InputsInternal tamper event sources
tamp_evtOutputTamper event detection (internal or external)
The tamp_evt is used to generate a RTC timestamp event
tamp_eraseOutputDevice secrets erase request following tamper event detection (internal or external)
tamp_itOutputTAMP interrupt (refer to Section 49.5: TAMP interrupts for details)
tamp_trg[x]
(x = signal index)
OutputTamper detection trigger

The TAMP kernel clock is usually the LSE at 32.768 kHz although it is possible to select other clock sources in the RCC (refer to RCC for more details). Some detections modes are not available in some low-power modes or VBAT when the selected clock is not LSE (refer to Section 49.4: TAMP low-power modes for more details).

Table 339. TAMP interconnection

Signal nameSource/Destination
tamp_evtrtc_tamp_evt used to generate a timestamp event
tamp_eraseThe tamp_erase signal is used to erase the device secrets listed hereafter: backup registers and backup SRAM
tamp_itamp1RTC voltage domain monitoring
tamp_itamp2Temperature monitoring
tamp_itamp3LSE monitoring
tamp_itamp4HSE monitoring
tamp_itamp5RTC calendar overflow (rtc_calovf)
tamp_itamp8(1)Monotonic counter overflow

1. This signal is generated in the TAMP peripheral.

49.3.3 TAMP register write protection

After system reset, the TAMP registers (including backup registers) are protected against parasitic write access by the DBP bit in the power control peripheral (refer to the PWR power control section). DBP bit must be set in order to enable TAMP registers write access.

49.3.4 TAMP secure protection modes

By default after a backup domain power-on reset, all TAMP registers can be read or written in both secure and non-secure modes, except for the TAMP secure mode control register (TAMP_SMCR) which can be written in secure mode only. The TAMP protection configuration is not affected by a system reset.

When the TAMPDPROT bit is cleared in the TAMP_SMCR register:

The backup registers protection is configured thanks to BKPRWDPROT[7:0] and BKPWDPROT[7:0] (refer to Figure 513 below):

Figure 513. Backup registers secure protections

Diagram showing backup register protection zones and their access permissions. Protection Zone 3 allows non-secure read/write for TAMP_BKPI(1)R. Protection Zone 2 allows non-secure read and secure write for TAMP_BKPtR and TAMP_BKpZr. Protection Zone 1 allows secure read/write for TAMP_BKpYr, TAMP_BKpXr, and TAMP_BKP0R.
Protection Zone 3Read non-secure
Write non-secure
TAMP_BKPI(1)R
TAMP_BKPtR (t = BKPWDPROT)
TAMP_BKpZr (z = BKPWDPROT-1)
Protection Zone 2Read non-secure
Write secure
TAMP_BKpYr (y = BKPRWDPROT)
TAMP_BKpXr (x = BKPRWDPROT-1)
Protection Zone 1Read secure
Write secure
TAMP_BKP0R

MSv43845V1

Diagram showing backup register protection zones and their access permissions. Protection Zone 3 allows non-secure read/write for TAMP_BKPI(1)R. Protection Zone 2 allows non-secure read and secure write for TAMP_BKPtR and TAMP_BKpZr. Protection Zone 1 allows secure read/write for TAMP_BKpYr, TAMP_BKpXr, and TAMP_BKP0R.

1. I= last backup register index

Accessing a secure-protected register in non-secure mode is done in SILENT mode: read access in non-secure mode to protected TAMP registers returns 0, and write access in non-secure mode to protected TAMP registers is ignored, without notification.

As soon as at least one function is configured to be secured, the TAMP reset and clock control is also secured in the RCC.

49.3.5 Tamper detection

The tamper detection can be configured for the following purposes:

TAMP backup registers

The backup registers (TAMP_BKPxR) are not reset by system reset or when the device wakes up from Standby mode.

The backup registers are reset when a tamper detection event occurs except if the TAMPxNOER bit is set, or if the TAMPxMSK is set in the TAMP_CR2 register.

Tamper detection initialization

Each input can be enabled by setting the corresponding TAMPxE bits to 1 in the TAMP_CR register.

Each TAMP_INx tamper detection input is associated with a flag TAMPxF in the TAMP_SR register.

When TAMPxMSK is cleared:

The TAMPxF flag is asserted after the tamper event on the pin, with the latency provided below:

A new tamper occurring on the same pin during this period and as long as TAMPxF is set cannot be detected.

When TAMPxMSK is set:

A new tamper occurring on the same pin cannot be detected during the latency described above and 2.5 ck_rtc additional cycles.

By setting the TAMPxIE bit in the TAMP_IER register, an interrupt is generated when a tamper detection event occurs (when TAMPxF is set). Setting TAMPxIE is not allowed when the corresponding TAMPxMSK is set.

Trigger output generation on tamper event

The tamper event detection can be used as trigger input by the low-power timers.

When TAMPxMSK bit is cleared in TAMP_CR register, the TAMPxF flag must be cleared by software in order to allow a new tamper detection on the same pin.

When TAMPxMSK bit is set, the TAMPxF flag is masked, and kept cleared in TAMP_SR register. This configuration allows to trig automatically the low-power timers in Stop mode, without requiring the system wakeup to perform the TAMPxF clearing. In this case, the backup registers are not cleared.

This feature is available only when the tamper is configured in the Level detection with filtering on tamper inputs (passive mode) mode (TAMPFLT ≠ 00 and active mode is not selected).

Timestamp on tamper event

With TAMPTS set to 1 in the RTC_CR, any tamper event causes a timestamp to occur. In this case, either the TSF bit or the TSOVF bit is set in RTC_SR, in the same manner as if a normal timestamp event occurs. The affected tamper flag register TAMPxF is set in the TAMP_SR at the same time that TSF or TSOVF is set in the RTC_SR.

Edge detection on tamper inputs (passive mode)

If the TAMPFLT bits are 00, the TAMP_INx pins generate tamper detection events when either a rising edge/high level or a falling edge/low level is observed depending on the corresponding TAMPxTRG bit. The internal pull-up resistors on the TAMP_INx inputs are deactivated when edge detection is selected.

Caution: When using the edge detection, it is recommended to check by software the tamper pin level just after enabling the tamper detection (by reading the GPIO registers), and before writing sensitive values in the backup registers, to ensure that an active edge did not occur before enabling the tamper event detection.

When TAMPFLT = 00 and TAMPxTRG = 0 (rising edge detection), a tamper event may be detected by hardware if the tamper input is already at high level before enabling the tamper detection.

After a tamper event has been detected and cleared, the TAMP_INx should be disabled and then re-enabled (TAMPxE set to 1) before re-programming the backup registers (TAMP_BKPxR). This prevents the application from writing to the backup registers while the TAMP_INx input value still indicates a tamper detection. This is equivalent to a level detection on the TAMP_INx input.

Note: Tamper detection is still active when \(V_{DD}\) power is switched off. To avoid unwanted resetting of the backup registers, the pin to which the TAMPx is mapped should be externally tied to the correct level.

Level detection with filtering on tamper inputs (passive mode)

Level detection with filtering is performed by setting TAMPFLT to a non-zero value. A tamper detection event is generated when either 2, 4, or 8 (depending on TAMPFLT) consecutive samples are observed at the level designated by the TAMPxTRG bits.

The TAMP_INx inputs are precharged through the I/O internal pull-up resistance before its state is sampled, unless disabled by setting TAMPPUDIS to 1. The duration of the precharge is determined by the TAMPPRCH bits, allowing for larger capacitances on the TAMP_INx inputs.

The trade-off between tamper detection latency and power consumption through the pull-up can be optimized by using TAMPFREQ to determine the frequency of the sampling for level detection.

Note: Refer to the datasheet for the electrical characteristics of the pull-up resistors.

Active tamper detection

When the TAMPxAM bit is set in the TAMP_ATCR, the tamper events are configured in active mode, which is based on a comparison between a TAMP_OUTy pin and a TAMP_INx pin. By default (ATOSHARE = 0) the comparison is made between TAMP_INx and TAMP_OUTx (y = x). When ATOSHARE bit is set, the same output can be used for several tamper inputs. Refer to ATOSHARE and ATOSEL bits descriptions in the TAMP_ATCR register.

Every two CK_ATPER cycles (\(CK_{ATPER} = 2^{ATPER} \times CK_{ATPRE} = 2^{ATPER} \times 2^{ATCKSEL} RTCCCLK\)), TAMP_OUTy output pin provides a value provided by a pseudo random number generator (PRNG). After outputting this value, the TAMP_OUTy pin outputs its opposite value one CK_ATPER cycle after.

PRNG is consumed by the selected tamper outputs at a different frequency depending on the number of selected tamper outputs. The number of selected outputs depends on

TAMPxAM, TAMPxE, ATOSEL and ATOSHARE.

The PRNG needs minimum 9 CK_ATPER cycles to output a new value. Consequently the minimum ATPER values for correct functionality are provided in the table below:

Table 340. Minimum ATPER value

Number of selected outputsMinimum ATPER
10
21
3 or 42
5 or more3

The TAMP_INx pin is externally connected to TAMP_OUTy pin. The comparison is made between TAMP_OUTy output value and TAMP_INx received value, taking into account feedback delay. In case a comparison mismatch occurs, the TAMPxF bit is set in the TAMP_SR register.

As an example, TAMP_OUT1 can be used for comparison with TAMP_IN1 and TAMP_IN2 by configuring and enabling both TAMP1 and TAMP2 in active mode, with ATOSHARE = 1, ATOSEL1 = 00 and ATOSEL2 = 00.

The active tamper can be combined with input filtering when FLTEN = 1. In this case, the tamper is detected only when 2 comparisons are false, in 4 consecutive comparison samples.

The pseudo-random generator must be initialized with a seed. This is done by writing consecutively four 32-bit random values in the TAMP_ATSEEDR register. Programming the seed automatically sends it to the PRNG. As long as the new seed is transferred and elaborated by the PRNG, the SEEDF bit is set in the TAMP_ATOM and it is not allowed to switch off the TAMP APB clock. The duration of the elaboration is up to 184 APB clock cycles after the forth seed is written. Consequently, after writing a new seed, the user must wait until SEEDF is cleared before entering low-power modes.

The active tamper outputs are activated only after the first seed is written and the elaboration is completed. Then new seeds can be written and elaborated during active tamper activity.

Active tamper initialization

Here is the software procedure to initialize the active tampers after system reset:

Read INITS in TAMP_ATOR register.

Caution: The active tampers must be disabled before entering the RTC initialization mode (INIT = 1 in the RTC_ICSR). Refer to Section : Calendar initialization and configuration for more details.

49.4 TAMP low-power modes

Table 341. Effect of low-power modes on TAMP

ModeDescription
SleepNo effect.
TAMP interrupts cause the device to exit the Sleep mode.
StopNo effect on all features, except for level detection with filtering and active tamper modes which remain active only when the clock source is LSE or LSI.
TAMP interrupts cause the device to exit the Stop mode.
StandbyNo effect on all features, except for level detection with filtering and active tamper modes which remain active only when the clock source is LSE or LSI. TAMP interrupts cause the device to exit the Standby mode.

49.5 TAMP interrupts

The interrupt channel is set in the interrupt status register or in the secure interrupt status register depending on its secure mode (TAMPDPROT) configuration. The interrupt output or the secure interrupt output is also activated.

Table 342. Non-secure interrupt requests

Interrupt acronymInterrupt eventEvent flag(1)Enable control bit(2)Interrupt clear methodExit from Sleep modeExit from Stop and Standby modes
TAMPTamper x(3)TAMPxFTAMPxE and TAMPDPROT=1Write 1 in CTAMPxFYesYes(4)
Internal tamper y(3)ITAMPyFTAMPyIE and TAMPDPROT=1Write 1 in CITAMPxFYesYes(4)
  1. 1. The event flags are in the TAMP_SR register.
  2. 2. The interrupt masked flags (resulting from event flags AND enable control bits) are in the TAMP_MISR register.
  3. 3. The number of tampers and internal tampers events depend on products.
  4. 4. In case of level detection with filtering passive tamper mode, or in case of active tamper mode, wakeup from Stop and Standby modes is possible only when the TAMP clock source is LSE or LSI.

Table 343. Secure interrupt requests

Interrupt acronymInterrupt eventEvent flag(1)Enable control bit(2)Interrupt clear methodExit from Sleep modeExit from Stop and Standby modes
TAMP_STamper x(3)TAMPxFTAMPxE and TAMPDPROT=0Write 1 in CTAMPxFYesYes(4)
Internal tamper y(3)ITAMPyFTAMPyIE and TAMPDPROT=0Write 1 in CITAMPxFYesYes(4)
  1. 1. The event flags are in the TAMP_SR register.
  2. 2. The interrupt masked flags (resulting from event flags AND enable control bits) are in the TAMP_SMISR register.
  3. 3. The number of tampers and internal tampers events depend on products.
  4. 4. In case of level detection with filtering passive tamper mode, or in case of active tamper mode, wakeup from Stop and Standby modes is possible only when the TAMP clock source is LSE or LSI.

49.6 TAMP registers

Refer to Section 1.2 on page 115 of the reference manual for a list of abbreviations used in register descriptions. The peripheral registers can be accessed by words (32-bit).

49.6.1 TAMP control register 1 (TAMP_CR1)

This register can be protected against non-secure access. Refer to Section 49.3.4: TAMP

secure protection modes.

Address offset: 0x00

Backup domain reset value: 0xFFFF 0000

System reset: not affected

RM0442column_2column_3secure protection modes . Address offset: 0x00 System reset: not affectedcolumn_5column_6column_7column_8
31302928 27 26 25 24 23 22 21 2019181716
Res.Res.Res.Res. Res. Res. Res. Res. ITAMP8ITAMP4ITAMP3ITAMP2ITAMP1
E Res. Res. ITAMP5
EEEEE
rw rwrwrwrwrw
15141312 11 10 9 8 7 6 5 43210
Res.Res.Res.Res. Res. Res. Res. Res. Res. Res. Res. Res.Res.TAMP3TAMP2TAMP1
EEE
rwrwrw
Bit 23ITAMP8E : Internal tamper 8 enable: monotonic counter overflow 0: Internal tamper 8 disabled.
Bit 20ITAMP5E : Internal tamper 5 enable: RTC calendar overflow 0: Internal tamper 5 disabled.
Bit 19cannot overflow. ITAMP4E : Internal tamper 4 enable: HSE monitoring 0: Internal tamper 4 disabled.
Bit 18above thresholds. ITAMP3E : Internal tamper 3 enable: LSE monitoring 0: Internal tamper 3 disabled.
Bit 17above thresholds. ITAMP2E : Internal tamper 2 enable: Temperature monitoring 0: Internal tamper 2 disabled.
Bit 16thresholds. ITAMP1E : Internal tamper 1 enable: RTC power domain supply monitoring 0: Internal tamper 1 disabled.

Bits 31:24 Reserved, must be kept at reset value.

Bit 23 ITAMP8E: Internal tamper 8 enable: monotonic counter overflow

0: Internal tamper 8 disabled.

1: Internal tamper 8 enabled: a tamper is generated when the TAMP_CNT overflows.

Bit 22 Reserved, must be kept at reset value.

Bit 21 Reserved, must be kept at reset value.

Bit 20 ITAMP5E: Internal tamper 5 enable: RTC calendar overflow

0: Internal tamper 5 disabled.

1: Internal tamper 5 enabled: a tamper is generated when the RTC calendar reaches its maximum value, on the 31st of December 99, at 23:59:59. The calendar is then frozen and cannot overflow.

Bit 19 ITAMP4E: Internal tamper 4 enable: HSE monitoring

0: Internal tamper 4 disabled.

1: Internal tamper 4 enabled. a tamper is generated when the HSE frequency is below or above thresholds.

Bit 18 ITAMP3E: Internal tamper 3 enable: LSE monitoring

0: Internal tamper 3 disabled.

1: Internal tamper 3 enabled: a tamper is generated when the LSE frequency is below or above thresholds.

Bit 17 ITAMP2E: Internal tamper 2 enable: Temperature monitoring

0: Internal tamper 2 disabled.

1: Internal tamper 2 enabled: a tamper is generated when the temperature is below or above thresholds.

Bit 16 ITAMP1E: Internal tamper 1 enable: RTC power domain supply monitoring

0: Internal tamper 1 disabled.

1: Internal tamper 1 enabled: a tamper is generated when the RTC power domain supply is below or above thresholds.

Bits 15:3 Reserved, must be kept at reset value.

Bit 2 TAMP3E: Tamper detection on TAMP_IN3 enable(1)

Bit 1 TAMP2E: Tamper detection on TAMP_IN2 enable(1)

Bit 0 TAMP1E: Tamper detection on TAMP_IN1 enable(1)

1. Tamper detection mode (selected with TAMP_FLTCR, TAMP_ATCR1 registers and TAMPxTRG bits in TAMP_CR2), must be configured before enabling the tamper detection.

49.6.2 TAMP control register 2 (TAMP_CR2)

This register can be protected against non-secure access. Refer to Section 49.3.4: TAMP secure protection modes.

Address offset: 0x04

Backup domain reset value: 0x0000 0000

System reset: not affected

31302928272625242322212019181716
Res.Res.Res.Res.Res.TAMP3 TRGTAMP2 TRGTAMP1 TRGRes.Res.Res.Res.Res.TAMP3 MSKTAMP2 MSKTAMP1 MSK
rwrwrwrwrwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TAMP3 NOERTAMP2 NOERTAMP1 NOER
rwrwrw

Bits 31:27 Reserved, must be kept at reset value.

Bit 26 TAMP3TRG: Active level for tamper 3 input (active mode disabled)

Bit 25 TAMP2TRG: Active level for tamper 2 input (active mode disabled)

1. and the device secrets erased by tamp_erase signal (refer to Table 339: TAMP interconnection).

49.6.3 TAMP filter control register (TAMP_FLTCR)

This register can be protected against non-secure access. Refer to Section 49.3.4: TAMP

secure protection modes.

Address offset: 0x0C

Backup domain reset value: 0x0000 0000

System reset: not affected

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.TAMP
PUDIS
TAMPPRCH
[1:0]
TAMPFLT
[1:0]
TAMPFREQ
[2:0]
rwrwrwrwrwrwrwrw

Bits 31:8 Reserved, must be kept at reset value.

Bit 7 TAMPPUDIS: TAMP_INx pull-up disable

This bit determines if each of the TAMPx pins are precharged before each sample.

0: Precharge TAMP_INx pins before sampling (enable internal pull-up)

1: Disable precharge of TAMP_INx pins.

Bits 6:5 TAMPPRCH[1:0]: TAMP_INx precharge duration

These bit determines the duration of time during which the pull-up/is activated before each sample. TAMPPRCH is valid for each of the TAMP_INx inputs.

0x0: 1 RTCCLK cycle

0x1: 2 RTCCLK cycles

0x2: 4 RTCCLK cycles

0x3: 8 RTCCLK cycles

Bits 4:3 TAMPFLT[1:0]: TAMP_INx filter count

These bits determines the number of consecutive samples at the specified level (TAMP*TRG) needed to activate a tamper event. TAMPFLT is valid for each of the TAMP_INx inputs.

0x0: Tamper event is activated on edge of TAMP_INx input transitions to the active level (no internal pull-up on TAMP_INx input).

0x1: Tamper event is activated after 2 consecutive samples at the active level.

0x2: Tamper event is activated after 4 consecutive samples at the active level.

0x3: Tamper event is activated after 8 consecutive samples at the active level.

Bits 2:0 TAMPFREQ[2:0]: Tamper sampling frequency

Determines the frequency at which each of the TAMP_INx inputs are sampled.

0x0: RTCCLK / 32768 (1 Hz when RTCCLK = 32768 Hz)

0x1: RTCCLK / 16384 (2 Hz when RTCCLK = 32768 Hz)

0x2: RTCCLK / 8192 (4 Hz when RTCCLK = 32768 Hz)

0x3: RTCCLK / 4096 (8 Hz when RTCCLK = 32768 Hz)

0x4: RTCCLK / 2048 (16 Hz when RTCCLK = 32768 Hz)

0x5: RTCCLK / 1024 (32 Hz when RTCCLK = 32768 Hz)

0x6: RTCCLK / 512 (64 Hz when RTCCLK = 32768 Hz)

0x7: RTCCLK / 256 (128 Hz when RTCCLK = 32768 Hz)

Note: This register concerns only the tamper inputs in passive mode.

49.6.4 TAMP active tamper control register 1 (TAMP_ATCR1)

This register can be protected against non-secure access. Refer to Section 49.3.4: TAMP secure protection modes.

Address offset: 0x10

Backup domain reset value: 0x0007 0000

System reset: not affected

31302928272625242322212019181716
FLTENATO SHARERes.Res.Res.ATPER[2:0]Res.Res.Res.Res.Res.ATCKSEL[2:0]
rwrwrwrwrwrwrwrw
1514131211109876543210
Res.Res.ATOSEL3[1:0]ATOSEL2[1:0]ATOSEL1[1:0]Res.Res.Res.Res.Res.TAMP3 AMTAMP2 AMTAMP1 AM
rwrwrwrwrwrwrwrwrw

Bit 31 FLTEN: Active tamper filter enable

0: Active tamper filtering disable

1: Active tamper filtering enable: a tamper event is detected when 2 comparison mismatches occur out of 4 consecutive samples.

Bit 30 ATOSHARE: Active tamper output sharing

0: Each active tamper input TAMP_INi is compared with its dedicated output TAMP_OUTi

1: Each active tamper input TAMP_INi is compared with TAMPOUTSELx as defined below, with TAMPOUTSELx defined by ATOSELx bits.

Bits 29:27 Reserved, must be kept at reset value.

Bits 26:24 ATPER[2:0]: Active tamper output change period

The tamper output is changed every \(CK\_ATPER = (2^{ATPER} \times CK\_ATPRE)\) cycles. Refer to Table 340: Minimum ATPER value.

Bits 23:19 Reserved, must be kept at reset value.

Bits 18:16 ATCKSEL[2:0]: Active tamper RTC asynchronous prescaler clock selection

These bits selects the RTC asynchronous prescaler stage output. The selected clock is CK_ATPRE.

\(f_{CK\_ATPRE} = f_{RTCCLK} / 2^{ATCKSEL}\) when (PREDIV_A+1) = 128.

000: RTCCLK is selected

001: RTCCLK/2 is selected when (PREDIV_A+1) = 128 (actually selects 1st flip flop output)

010: RTCCLK/4 is selected when (PREDIV_A+1) = 128 (actually selects 2nd flip flop output)

...

111: RTCCLK/128 is selected when (PREDIV_A+1) = 128 (actually selects 7th flip flop output)

Note: These bits can be written only when all active tampers are disabled. The write protection remains for up to 1.5 ck_atpre cycles after all the active tampers are disabled.

Bits 15:14 Reserved, must be kept at reset value.

Note: Changing the active tampers configuration in this register is not allowed when a TAMPxAM bit is set, unless the corresponding TAMPxE bits are all cleared in the TAMP_CR1 register.
All tampers configured in active mode must be enabled at the same time (by setting all related TAMPxE in the same TAMP_CR1 write).
All tampers configured in active mode must be disabled at the same time (by clearing all related TAMPxE in the same TAMP_CR1 write).
A minimum duration of 1 CK_ATPRE period must be waited for after disabling the active tampers and before re-enabling them.

49.6.5 TAMP active tamper seed register (TAMP_ATSEEDR)

This register can be protected against non-secure access. Refer to Section 49.3.4: TAMP

secure protection modes.

Address offset: 0x14

Backup domain reset value: 0x0000 0000

System reset: not affected

31302928272625242322212019181716
SEED[31:16]
wwwwwwwwwwwwwwww
1514131211109876543210
SEED[15:0]
wwwwwwwwwwwwwwww

Bits 31:0 SEED[31:0]: Pseudo-random generator seed value

This register must be written four times with 32-bit values to provide the 128-bit seed to the PRNG. Writing to this register automatically sends the seed value to the PRNG.

49.6.6 TAMP active tamper output register (TAMP_ATOR)

This register can be protected against non-secure access. Refer to Section 49.3.4: TAMP secure protection modes.

Address offset: 0x18

Backup domain reset value: 0x0000 0000

System reset: not affected, except for SEEDF which is reset to 0.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
INITSSEEDFRes.Res.Res.Res.Res.Res.PRNG[7:0]
rrrrrrrrrr

Bits 31:16 Reserved, must be kept at reset value.

Bit 15 INITS: Active tamper initialization status

This flag is set by hardware when the PRNG has absorbed the first 128-bit seed, meaning that the enabled active tampers are functional. This flag is left unchanged when the active tampers are disabled.

Bit 14 SEEDF: Seed running flag

This flag is set by hardware when a new seed is written in the TAMP_ATSEEDR. It is cleared by hardware when the PRNG has absorbed this new seed, and by system reset. The TAMP APB clock must not be switched off as long as SEEDF is set.

Bits 13:8 Reserved, must be kept at reset value.

Bits 7:0 PRNG[7:0]: Pseudo-random generator value

This field provides the values of the PRNG output. Because of potential inconsistencies due to synchronization delays, PRNG must be read at least twice. The read value is correct if it is equal to previous read value.

This field can only be read when the APB is in secure mode.

This register can be protected against non-secure access. Refer to Section 49.3.4: TAMP secure protection modes.

49.6.7 TAMP secure mode register (TAMP_SMCR)

This register can be written only when the APB access is secure.

Address offset: 0x20

Backup domain reset value: 0x8000 0000

System reset: not affected

31302928272625242322212019181716
TAMP
DPROT
Res.Res.Res.Res.Res.Res.Res.BKPWDPROT[7:0]
rwrwrwrwrwrwrwrwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.BKPRWDPROT[7:0]
rwrwrwrwrwrwrwrw

Bit 31 TAMPDPROT: Tamper protection (excluding backup registers)

0: Tamper configuration and interrupt can be written only when the APB access is secure.

1: Tamper configuration and interrupt can be written when the APB access is secure or non-secure.

Note: Refer to Section 49.3.4: TAMP secure protection modes for details on the read protection.

Bits 30:24 Reserved, must be kept at reset value.

Bits 23:16 BKPWDPROT[7:0]: Backup registers write protection offset

Backup registers from TAMP_BKPyR (y = BKPWDPROT, from 0 to 32) to TAMP_BKPzR (z = BKPWDPROT-1, from 0 to 32, BKPWDPROT ≥ BKPRWDPROT) can be written only when the APB is in secure mode. They can be read in secure or non-secure mode. This zone is the protection zone 2.

Backup registers from TAMP_BKPtR (t = BKPWDPROT, from 0 to 31) can be read or written when the APB is in secure or in non-secure mode. This zone is the protection zone 3.

If BKPWDPROT = 0 or if BKPWDPROT ≤ BKPRWDPROT: none of the backup registers have a secure write access. In these configurations the behavior is equivalent to BKPWDPROT = BKPRWDPROT.

Bits 15:8 Reserved, must be kept at reset value.

Bits 7:0 BKPRWDPROT[7:0]: Backup registers read/write protection offset

Backup registers from TAMP_BKP0R to TAMP_BKPxR (x = BKPRWDPROT-1, from 0 to 32) can be read and written only when the APB is in secure mode. This is the protection zone 1.

If BKPRWSM = 0 none of the backup registers have a secure read/write access.

49.6.8 TAMP interrupt enable register (TAMP_IER)

This register can be protected against non-secure access. Refer to Section 49.3.4: TAMP

secure protection modes.

Address offset: 0x2C

Backup domain reset value: 0x0000 0000

System reset: not affected

Bit_RangeField_NameDescriptionAccessReservedMaskValueTypeModeStateResetOffsetAddressRegisterSectionPage
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.ITAMP8ITAMP4ITAMP3ITAMP2ITAMP1
Res.Res.Res.IERes.Res.ITAMP5
Res.Res.Res.IEIEIEIEIE
Res.Res.Res.rwrwrwrwrwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TAMPTAMPTAMP
Res.Res.Res.3IE2IE1IE
Res.Res.Res.rwrwrw
Res.Bit 23ITAMP8IE: Internal tamper 8 interrupt enable: monotonic counter overflow
Res.Bit 20ITAMP5IE: Internal tamper 5 interrupt enable: RTC calendar overflow
Res.Bit 19ITAMP4IE: Internal tamper 4 interrupt enable: HSE monitoring
Res.Bit 18ITAMP3IE: Internal tamper 3 interrupt enable: LSE monitoring
Res.Bit 17ITAMP2IE: Internal tamper 2 interrupt enable: Temperature monitoring
Res.Bit 16ITAMP1IE: Internal tamper 1 interrupt enable: RTC power domain supply monitoring

Bits 31:24 Reserved, must be kept at reset value.

Bit 23 ITAMP8IE: Internal tamper 8 interrupt enable: monotonic counter overflow

0: Internal tamper 8 interrupt disabled.

1: Internal tamper 8 interrupt enabled.

Bit 22 Reserved, must be kept at reset value.

Bit 21 Reserved, must be kept at reset value.

Bit 20 ITAMP5IE: Internal tamper 5 interrupt enable: RTC calendar overflow

0: Internal tamper 5 interrupt disabled.

1: Internal tamper 5 interrupt enabled.

Bit 19 ITAMP4IE: Internal tamper 4 interrupt enable: HSE monitoring

0: Internal tamper 4 interrupt disabled.

1: Internal tamper 4 interrupt enabled.

Bit 18 ITAMP3IE: Internal tamper 3 interrupt enable: LSE monitoring

0: Internal tamper 3 interrupt disabled.

1: Internal tamper 3 interrupt enabled.

Bit 17 ITAMP2IE: Internal tamper 2 interrupt enable: Temperature monitoring

0: Internal tamper 2 interrupt disabled.

1: Internal tamper 2 interrupt enabled.

Bit 16 ITAMP1IE: Internal tamper 1 interrupt enable: RTC power domain supply monitoring

0: Internal tamper 1 interrupt disabled.

1: Internal tamper 1 interrupt enabled

Bits 15:3 Reserved, must be kept at reset value.

49.6.9 TAMP status register (TAMP_SR)

This register can be protected against non-secure access. Refer to Section 49.3.4: TAMP secure protection modes.

Address offset: 0x30

Backup domain reset value: 0x0000 0000

System reset: not affected

49.6.9column_2Bit 2 Bit 1 Bit 0TAMP3IE : Tamper 3 interrupt enable 0: Tamper 3 interrupt disabled. 1: Tamper 3 interrupt enabled.. TAMP2IE : Tamper 2 interrupt enable 0: Tamper 2 interrupt disabled. 1: Tamper 2 interrupt enabled. TAMP1IE : Tamper 1 interrupt enable 0: Tamper 1 interrupt disabled. 1: Tamper 1 interrupt enabled. secure protection modes . Address offset: 0x30 System reset: not affectedcolumn_5column_6column_7Section 49.3.4: TAMPRM0442
31302928 27 26 25 24 23 22 212019181716
Res.Res.Res.Res. Res. Res. Res. Res. ITAMP8ITAMP4ITAMP3ITAMP2ITAMP1
F Res. Res.ITAMP5
FFFFF
rrrrrr
15141312 11 10 9 8 7 6 543210
Res.Res.Res.Res. Res. Res. Res. Res. Res. Res. Res.Res.Res.TAMPTAMPTAMP
3F2F1F
rrr
Bit 23ITAMP8F : Monotonic counter overflow tamper flag
Bit 20ITAMP5F : RTC calendar overflow tamper detection flag
Bit 19tamper 5. ITAMP4F : HSE monitoring tamper detection flag
Bit 18tamper 4. ITAMP3F : LSE monitoring tamper detection flag
Bit 17tamper 3. ITAMP2F : Temperature monitoring tamper detection flag

Bits 31:24 Reserved, must be kept at reset value.

Bit 16 ITAMP1F: RTC power domain voltage monitoring tamper detection flag

This flag is set by hardware when a tamper detection event is detected on the internal tamper 1.

Bits 15:3 Reserved, must be kept at reset value.

Bit 2 TAMP3F: TAMP3 detection flag

This flag is set by hardware when a tamper detection event is detected on the TAMP3 input.

Bit 1 TAMP2F: TAMP2 detection flag

This flag is set by hardware when a tamper detection event is detected on the TAMP2 input.

Bit 0 TAMP1F: TAMP1 detection flag

This flag is set by hardware when a tamper detection event is detected on the TAMP1 input.

49.6.10 TAMP non-secure masked interrupt status register (TAMP_MISR)

Address offset: 0x34

Backup domain reset value: 0x0000 0000

System reset: not affected

Bit_RangeField_NameDescriptionAccessReservedMaskValueTypeModeStateResetOffsetAddressRegisterSectionPage
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.ITAMP8ITAMP4ITAMP3ITAMP2ITAMP1
Res.Res.Res.MFRes.Res.ITAMP5
Res.Res.Res.MFMFMFMFMF
Res.Res.Res.rrrrrr
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TAMPTAMPTAMP
Res.Res.Res.3MF2MF1MF
Res.Res.Res.rrr
Res.Bit 23ITAMP8MF: Monotonic counter overflow non-secure interrupt masked flag
Res.Bit 20ITAMP5MF: RTC calendar overflow tamper non-secure interrupt masked flag
Res.Bit 19ITAMP4MF: HSE monitoring tamper non-secure interrupt masked flag
Res.Bit 18ITAMP3MF: LSE monitoring tamper non-secure interrupt masked flag
Res.Bit 17ITAMP2MF: Temperature monitoring tamper non-secure interrupt masked flag
Res.Bit 16ITAMP1MF: RTC power domain voltage monitoring tamper non-secure interrupt masked flag

Bits 31:24 Reserved, must be kept at reset value.

Bit 23 ITAMP8MF: Monotonic counter overflow non-secure interrupt masked flag

This flag is set by hardware when the internal tamper 8 non-secure interrupt is raised.

Bit 22 Reserved, must be kept at reset value.

Bit 21 Reserved, must be kept at reset value.

Bit 20 ITAMP5MF: RTC calendar overflow tamper non-secure interrupt masked flag

This flag is set by hardware when the internal tamper 5 non-secure interrupt is raised.

Bit 19 ITAMP4MF: HSE monitoring tamper non-secure interrupt masked flag

This flag is set by hardware when the internal tamper 4 non-secure interrupt is raised.

Bit 18 ITAMP3MF: LSE monitoring tamper non-secure interrupt masked flag

This flag is set by hardware when the internal tamper 3 non-secure interrupt is raised.

Bit 17 ITAMP2MF: Temperature monitoring tamper non-secure interrupt masked flag

This flag is set by hardware when the internal tamper 2 non-secure interrupt is raised.

Bit 16 ITAMP1MF: RTC power domain voltage monitoring tamper non-secure interrupt masked flag

This flag is set by hardware when the internal tamper 1 non-secure interrupt is raised.

Bits 15:3 Reserved, must be kept at reset value.

49.6.11 TAMP secure masked interrupt status register (TAMP_SMISR)

Address offset: 0x38

Backup domain reset value: 0x0000 0000

System reset: not affected

Bit_RangeField_NameDescriptionAccessReservedMaskValueTypeModeStateResetOffsetAddressRegisterSectionPage
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.ITAMP8ITAMP4ITAMP3ITAMP2ITAMP1
Res.Res.Res.MFRes.Res.ITAMP5
Res.Res.Res.MFMFMFMFMF
Res.Res.Res.rrrrrr
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TAMPTAMPTAMP
Res.Res.Res.3MF2MF1MF
Res.Res.Res.rrr
Res.Bit 23ITAMP8MF: Monotonic counter overflow secure interrupt masked flag
Res.Bit 20ITAMP5MF: RTC calendar overflow tamper secure interrupt masked flag
Res.Bit 19ITAMP4MF: HSE monitoring tamper secure interrupt masked flag
Res.Bit 18ITAMP3MF: LSE monitoring tamper secure interrupt masked flag
Res.Bit 17ITAMP2MF: Temperature monitoring tamper secure interrupt masked flag
Res.Bit 16ITAMP1MF: RTC power domain voltage monitoring tamper secure interrupt masked flag

Bits 31:24 Reserved, must be kept at reset value.

Bit 23 ITAMP8MF: Monotonic counter overflow secure interrupt masked flag
This flag is set by hardware when the internal tamper 8 secure interrupt is raised.

Bit 22 Reserved, must be kept at reset value.

Bit 21 Reserved, must be kept at reset value.

Bit 20 ITAMP5MF: RTC calendar overflow tamper secure interrupt masked flag
This flag is set by hardware when the internal tamper 5 secure interrupt is raised.

Bit 19 ITAMP4MF: HSE monitoring tamper secure interrupt masked flag
This flag is set by hardware when the internal tamper 4 secure interrupt is raised.

Bit 18 ITAMP3MF: LSE monitoring tamper secure interrupt masked flag
This flag is set by hardware when the internal tamper 3 secure interrupt is raised.

Bit 17 ITAMP2MF: Temperature monitoring tamper secure interrupt masked flag
This flag is set by hardware when the internal tamper 2 secure interrupt is raised.

Bit 16 ITAMP1MF: RTC power domain voltage monitoring tamper secure interrupt masked flag
This flag is set by hardware when the internal tamper 1 secure interrupt is raised.

Bits 15:3 Reserved, must be kept at reset value.

49.6.12 TAMP status clear register (TAMP_SCR)

Address offset: 0x3C

System reset value: 0x0000 0000

Bit_RangeField_NameDescriptionAccessReservedMaskValueTypeModeStateResetOffsetAddressRegisterSectionPage
31302928272625242322212019181716
313029CCCCCC
Res.Res.Res.Res.Res.Res.Res.Res.ITAMPRes.Res.ITAMPITAMPITAMPITAMPITAMP
Res.Res.Res.8F5F4F3F2F1F
Res.Res.Res.wwwwww
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CTAMPCTAMPCTAMP
Res.Res.Res.3F2F1F
Res.Res.Res.www
Res.Bit 23CITAMP8F: Clear ITAMP8 detection flag
Res.Bit 20CITAMP5F: Clear ITAMP5 detection flag
Res.Bit 19CITAMP4F: Clear ITAMP4 detection flag
Res.Bit 18CITAMP3F: Clear ITAMP3 detection flag
Res.Bit 17CITAMP2F: Clear ITAMP2 detection flag
Res.Bit 16CITAMP1F: Clear ITAMP1 detection flag
Res.Bit 16Bit 2 CTAMP3F: Clear TAMP3 detection flag
Res.Bit 16Bit 1 CTAMP2F: Clear TAMP2 detection flag
Res.Bit 16Bit 0 CTAMP1F: Clear TAMP1 detection flag

Bits 31:24 Reserved, must be kept at reset value.

Bits 15:3 Reserved, must be kept at reset value.

49.6.13 TAMP monotonic counter register (TAMP_COUNTR)

Address offset: 0x040

Backup domain reset value: 0x0000 0000

System reset: not affected

31302928272625242322212019181716
COUNT[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
COUNT[15:0]
rrrrrrrrrrrrrrrr

Bits 31:0 COUNT[31:0]

This register is read-only only and is incremented by one when a write access is done to this register. This register cannot roll-over and is frozen when reaching the maximum value.

49.6.14 TAMP configuration register (TAMP_CFGR)

Address offset: 0x50

Backup domain reset value: 0x0000 0000

System reset: not affected

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.OUT3_RMP
rw

Bits 31:4 Reserved, must be kept at reset value.

Bits 3:1 Reserved, must be kept at reset value.

Bit 0 OUT3_RMP: TAMP_OUT3 mapping

0x0: TAMP_OUT3 is mapped on PI8

0x1: TAMP_OUT3 is mapped on PC13

49.6.15 TAMP backup x register (TAMP_BKPxR)

Address offset: 0x100+0x04*x, (x = 0 to 31)

Backup domain reset value: 0x0000 0000

System reset: not affected

31302928272625242322212019181716
BKP[31:16]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
BKP[15:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwwrwrw

Bits 31:0 BKP[31:0]

The application can write or read data to and from these registers.

They are powered-on by \(V_{BAT}\) when \(V_{DD}\) is switched off, so that they are not reset by System reset, and their contents remain valid when the device operates in low-power mode.

In the default configuration this register is reset on a tamper detection event. It is forced to reset value as long as there is at least one internal or external tamper flag being set.

49.6.16 TAMP hardware configuration register 2 (TAMP_HWCFGR2)

Address offset: 0x3EC

Reset value: 0x0000 0101

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.TRUST_ZONE[3:0]OPTIONREG_OUT[7:0]
rrrrrrrrrrrr

Bits 31:12 Reserved, must be kept at reset value.

Bits 11:8 TRUST_ZONE[3:0]

0x0: Trust_zone not supported

0x1: Trust_zone supported

Bits 7:0 OPTIONREG_OUT[7:0]

0: Configuration register not implemented

1: Configuration register bit 0 implemented

2: Configuration register bits 1:0 implemented

...

32: Configuration register bits 31:0 implemented

49.6.17 TAMP hardware configuration register 1 (TAMP_HWCFGR1)

Address offset: 0x3F0

Reset value: 0x009D 1320

31302928272625242322212019181716
INT_TAMPER[15:0]
rrrrrrrrrrrrrrrr
1514131211109876543210
ACTIVE_TAMPER[3:0]TAMPER[3:0]BACKUP_REGS[7:0]
rrrrrrrrrrrrrrrr

Bits 31:16 INT_TAMPER[15:0]

INT_TAMPER[i] = 0: internal tamper i is not implemented (i from 0 to 15)

INT_TAMPER[i] = 1: internal tamper i is implemented (i from 0 to 15)

Bits 15:12 ACTIVE_TAMPER[3:0]

0x0: Active tamper not supported

0x1: Active tamper supported for all external tamper events

Bits 11:8 TAMPER[3:0]

0x0: 16 external tamper events (input pins) supported

0x1: 1 external tamper event (input pin) supported

0x2: 2 external tamper events (input pins) supported

...

0xF: 15 external tamper events (input pins) supported

Bits 7:0 BACKUP_REGS[7:0]

0: No backup register

1: 1 Backup register implemented

2: 2 Backup registers implemented

...

128: 128 backup registers implemented

49.6.18 TAMP version register (TAMP_VERR)

Address offset: 0x3F4

Reset value: 0x0000 001X

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.MAJREV[3:0]MINREV[3:0]
rrrrrrrr

Bits 31:8 Reserved, must be kept at reset value.

Bits 7:4 MAJREV[3:0]: Major revision

Bits 3:0 MINREV[3:0]: Minor revision

49.6.19 TAMP identification register (TAMP_IPIDR)

Address offset: 0x3F8

Reset value: 0x0012 1033

31302928272625242322212019181716
ID[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
ID[15:0]
rrrrrrrrrrrrrrrr

Bits 31:0 ID[31:0]: Identifier.

49.6.20 TAMP size identification register (TAMP_SIDR)

Address offset: 0x3FC

Reset value: 0xA3C5 DD01

31302928272625242322212019181716
SID[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
SID[15:0]
rrrrrrrrrrrrrrrr

Bits 31:0 SID[31:0]: Size identifier.

49.6.21 TAMP register map

Table 344. TAMP register map and reset values

OffsetRegister313029282726252423222120191817161514131211109876543210
0x00TAMP_CR1Res.Res.Res.Res.Res.Res.Res.Res.ITAMP8ERes.Res.ITAMP5EITAMP4EITAMP3EITAMP2EITAMP1ERes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TAMP3ETAMP2ETAMP1E
Reset value111111000
0x04TAMP_CR2Res.Res.Res.Res.Res.TAMP3TRGTAMP2TRGTAMP1TRGRes.Res.Res.Res.Res.TAMP3MSKTAMP2MSKTAMP1MSKRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TAMP3NOERTAMP2NOERTAMP1NOER
Reset value000000000
0x0CTAMP_FLTCRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TAMPPUDISTAMPPRCH[1:0]TAMPFLT[1:0]TAMPFREQ[2:0]
Reset value00000000
0x10TAMP_ATCR1FLTENATOSHARERes.Res.Res.AT-PER[2:0]Res.Res.Res.Res.Res.ATCK-SEL[2:0]Res.ATO SEL3 [1:0]ATO SEL2 [1:0]ATO SEL1 [1:0]Res.Res.Res.Res.Res.Res.TAMP3AMTAMP2AMTAMP1AM
Reset value00000111000000000
0x14TAMP_ATSEEDRSEED[31:0]
Reset value00000000000000000000000000000000
0x18TAMP_ATORRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.INITSSEEDFRes.Res.Res.Res.Res.Res.PRNG[7:0]
Reset value0000000000
0x20TAMP_SMCRTAMPDPROTRes.Res.Res.Res.Res.Res.Res.BKPWDPROT[7:0]Res.Res.Res.Res.Res.Res.Res.Res.BKPRWDPROT[7:0]
Reset value10000000000000000
0x2CTAMP_IERRes.Res.Res.Res.Res.Res.Res.Res.ITAMP8IERes.Res.ITAMP5IEITAMP4IEITAMP3IEITAMP2IEITAMP1IERes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TAMP3IETAMP2IETAMP1IE
Reset value000000000
0x30TAMP_SRRes.Res.Res.Res.Res.Res.Res.Res.ITAMP8FRes.Res.ITAMP5FITAMP4FITAMP3FITAMP2FITAMP1FRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TAMP3FTAMP2FTAMP1F
Reset value000000000
0x34TAMP_MISRRes.Res.Res.Res.Res.Res.Res.Res.ITAMP8MFRes.Res.ITAMP5MFITAMP4MFITAMP3MFITAMP2MFITAMP1MFRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TAMP3MFTAMP2MFTAMP1MF
Reset value000000000
Table 344. TAMP register map and reset values (continued)
OffsetRegister313029282726252423222120191817161514131211109876543210
0x38TAMP_SMISRRes.Res.Res.Res.Res.Res.Res.Res.ITAMP8MFRes.Res.ITAMP5MFITAMP4MFITAMP3MFITAMP2MFITAMP1MFRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TAMP3MFTAMP2MFTAMP1MF
Reset value000000000
0x3CTAMP_SCRRes.Res.Res.Res.Res.Res.Res.Res.CITAMP8FRes.Res.CITAMP5FCITAMP4FCITAMP3FCITAMP2FCITAMP1FRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CTAMP3FCTAMP2FCTAMP1F
Reset value000000000
0x40TAMP_
COUNTR
COUNT[31:0]
Reset value00000000000000000000000000000000
0x50TAMP_CFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.OUT3_RM
Reset value0
0x100 +
0x04*x,
(x =
0 to 31)
TAMP_BKPxRBKP[31:0]
Reset value00000000000000000000000000000000
0x3ECTAMP_
HWCFGR2
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.TRUST_
ZONE[3:0]
OPTIONREG_OUT[7:0]
Reset value000100000001
0x3F0TAMP_
HWCFGR1
INT_TAMPER[15:0]ACTIVE_
TAMPER
[3:0]
TAMPER
[3:0]
BACKUP_REGS
[7:0]
Reset value00000000100111110001001100100000
0x3F4TAMP_VERRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.MAJREV
[3:0]
MINREV
[3:0]
Reset value0001xxxx
0x3F8TAMP_IPIDRID[31:0]
Reset value00000000000100100001000000110011
0x3FCTAMP_SIDRSID[31:0]
Reset value10100011110001011101110100000001

Refer to Section 2.5 on page 153 for the register boundary addresses.