Watchdog; Josef Goette 4.11.1 Configuration; Real Time Clock (Rtc) - STMicroelectronics STM32 Cortex-M3 Manual

Table of Contents

Advertisement

Note that the inputs form PA0, PB0, .. PG0 are mapped together to EXTI0. The same is the issue
for all the inputs with the same number.
2
Electrocardiogram (Ecg) Signals

4.11 Watchdog

The Electrocardiogram (Ecg)
Shows how the watchdog is configurated.
iwdg
• Ecg: electrical manifestation of heart activity recorded
4.11.1 Configuration
from the body surface
Select the timeout time in the configuration wizard. During this time your program has to clear
• monitoring of heart rate
the watchdog by loading a specific value into IWDG KR. If this desn't happen the watchdog will
reset the CPU.
The Ecg signal can be recorded fairly easily with surface
electrodes placed on the limbs and/or the chest, see pages
below.

4.12 Real Time Clock (RTC)

RTC is configured to generate a second and an alarm interrupt which turns a LED on.
rtc1
24h clock, time is sent over the serial interface to its host (115200Baud).
rtc2
rtc2 including resetting of the RTC when a button is pressed.
rtc3
The RTC provides a stable clock for the processor. It is able to generate a second interrupt which
gets called every second. An alarm can be set to a specific time. Is this time up an interrupt is gen-
erated. An overflow interrupt occurs when the 32-bit RTC counter overflows. Unfortunately the
RTC doesn't offer registers for time and date, only for the time in seconds in the two 16-bit register
RTC CNTH (higher 16-bits) and RTC CNTL (lower 16-bits). The alarm registers (RTC ALRH and
RTC ALRL) is similar to the time register.
Josef Goette
36
Figure 4.12: Watchdog Configuration Wizard
2
Figure 4.13: RTC Configuration Wizard
4 Peripherals
1 Intro
6–16
2009
STM32 Cortex-M3 Tutorial

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32 Cortex-M3 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents