3.5 Setting up a new Project
2
Electrocardiogram (Ecg) Signals
3.5.1 Preparation
Create a new directory for the project. Copy the files copy
and
STM32 Reg.h
renameMe.c
The Electrocardiogram (Ecg)
to
.
gpio.c
gpio.c
• Ecg: electrical manifestation of heart activity recorded
STM32 Init.c
from the body surface
: Register file with defined addresses
STM32 Reg.h
• monitoring of heart rate
3.5.2 Create a new project
Open Vision3 and create a new project by Project
The Ecg signal can be recorded fairly easily with surface
save it as
gpio.uv2
electrodes placed on the limbs and/or the chest, see pages
below.
The SDK needs to know your microcontroller and therefore you must specify the device to
STM32F103RB from STMicroelectronics (Figure 3.2).
Josef Goette
The STM32 requires startup code which can be added automatically as shown in Figure 3.3. Click
on Yes.
14
from
/code/library
This will be the main file.
and
STM32 Init.h
.
Figure 3.1: Create a new project
2
Figure 3.2: Specify the device: STM32F103RB
1 Intro
STM32 Init.c
into the new folder. Rename
: Configuration files for the STM32 processor
Vision3 Project... as shown in Figure
,
STM32 Init.h
6–16
2009
STM32 Cortex-M3 Tutorial
3 Keil SDK
,
renameMe.c
3.1
and
Need help?
Do you have a question about the STM32 Cortex-M3 and is the answer not in the manual?