Iwdg Registers; Key Register (Iwdg_Kr) - ST STM32F101 series Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32F101 series:
Table of Contents

Advertisement

Independent watchdog (IWDG)
Prescaler divider
/128
/256
1. These timings are given for a 40 kHz clock but the microcontroller's internal RC frequency can vary from 30
to 60 kHz. Moreover, given an exact RC oscillator frequency, the exact timings still depend on the phasing
of the APB interface clock versus the LSI clock so that there is always a full RC period of uncertainty.
The LSI can be calibrated so as to compute the IWDG timeout with an acceptable accuracy.
For more details refer to
19.4

IWDG registers

Refer to
The peripheral registers have to be accessed by half-words (16 bits) or words (32 bits).
19.4.1

Key register (IWDG_KR)

Address offset: 0x00
Reset value: 0x0000 0000 (reset by Standby mode)
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
Bits 31:16 Reserved, must be kept at reset value.
Bits 15:0 KEY[15:0]: Key value (write only, read 0000h)
487/1128
Table 96. Min/max IWDG timeout period at 40 kHz (LSI)
PR[2:0] bits
5
6 (or 7)
LSI clock on page
Section 2.1 on page 47
Reserved
These bits must be written by software at regular intervals with the key value AAAAh,
otherwise the watchdog generates a reset when the counter reaches 0.
Writing the key value 5555h to enable access to the IWDG_PR and IWDG_RLR registers
(see
Section
19.3.2)
Writing the key value CCCCh starts the watchdog (except if the hardware watchdog option is
selected)
Min timeout (ms) RL[11:0]=
0x000
3.2
6.4
96.
for a list of abbreviations used in register descriptions.
w
w
w
w
DocID13902 Rev 15
(1)
(continued)
Max timeout (ms) RL[11:0]=
0xFFF
13107.2
26214.4
9
8
7
6
5
KEY[15:0]
w
w
w
w
w
w
w
RM0008
4
3
2
1
0
w
w
w
w
w

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F101 series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f107 seriesStm32f102 seriesStm32f103 seriesStm32f105 seriesStm32f101 series

Table of Contents