4.6 Serial Interface (USART)
1 Intro
2
Electrocardiogram (
Ecg
) Signals
The Electrocardiogram (
Ecg
)
•
Ecg
: electrical manifestation of heart activity recorded
from the body surface
•
monitoring of heart rate
The
Ecg
signal can be recorded fairly easily with surface
electrodes placed on the limbs and/or the chest, see pages
6
–
16
below.
Josef Goette
2
2009
The baud rate generator generates the internal clock for sending and receiving data. The serial
protocol is shown in Figure
(1 start bit, 8 data bits, 1 stop bit and 1 parity).
Figure 4.7:
USART Serial Protocol
4.6.5 Pinning
USART1
Default
Wire
GPIO
Pin
CK
PA8
41
TX
PA9
42
RX
PA10
43
CTS
PA11
44
RTS
PA12
45
Remapped
Wire
GPIO
Pin
CK
-
-
TX
PB6
58
RX
PB7
59
CTS
-
-
RTS
-
-
USART2
Default
Wire
GPIO
Pin
CTS
PA0
14
RTS
PA1
15
TX
PA2
16
RX
PA3
17
CK
PA4
18
Remapped
7→
only on LQFP100!
Wire
GPIO
Pin
CTS
PD3
-
RTS
PD4
-
TX
PD5
-
RX
PD6
-
CK
PD7
-
USART3
Default
Wire
GPIO
Pin
TX
PB10
29
RX
PB11
30
CK
PB12
33
CTS
PB13
34
RTS
PB14
35
Remapped
Wire
GPIO
Pin
TX
PC10
51
RX
PC11
52
CK
PC12
53
CTS
-
-
RTS
-
-
Lukas Kohler
31