STM8AF52AA

Manufacturer Part NumberSTM8AF52AA
DescriptionSTM8AF52 CAN Line
ManufacturerSTMicroelectronics
STM8AF52AA datasheet
 


Specifications of STM8AF52AA

Max Fcpu24 MHzProgram Memory32 to 128 Kbytes Flash program; data retention 20 years at 55 °C
Data Memoryup to 2 Kbytes true data EEPROM; endurance 300 kcyclesRam2 Kbytes to 6 Kbytes
Advanced Control Timer16-bit, 4 CAPCOM channels, 3 complementary outputs, dead-time insertion and flexible synchronization  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Page 31
32
Page 32
33
Page 33
34
Page 34
35
Page 35
36
Page 36
37
Page 37
38
Page 38
39
Page 39
40
Page 40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
Page 34/106

Download datasheet (2Mb)Embed
PrevNext
Pinouts and pin description
Table 12.
STM8A microcontroller family pin description (continued)
Pin number
Pin name
41 33 25 17
PE5/SPI_NSS
42
-
-
-
PC0/ADC_ETR I/O
43 34 26 18 PC1/TIM1_CH1 I/O
44 35 27 19 PC2/TIM1_CH2 I/O
45 36 28 20 PC3/TIM1_CH3 I/O
46 37 29 21 PC4/TIM1_CH4 I/O
47 38 30 22
PC5/SPI_SCK
48 39 31
-
V
SSIO_2
49 40 32
-
V
DDIO_2
50 41 33 23 PC6/SPI_MOSI I/O
51 42 34 24 PC7/SPI_MISO I/O
52 43 35
-
PG0/CAN_Tx
53 44 36
-
PG1/CAN_Rx
54 45
-
-
PG2
55 46
-
-
PG3
56 47
-
-
PG4
57 48
-
-
PI0
58
-
-
-
PI1
59
-
-
-
PI2
60
-
-
-
PI3
61
-
-
-
PI4
62
-
-
-
PI5
63 49
-
-
PG5
64 50
-
-
PG6
65 51
-
-
PG7
34/106
Input
Output
I/O
X
X
X
— O1
X
X
X
X
— O1
X
X
X
X
HS O3
X
X
X
X
HS O3
X
X
X
X
HS O3
X
X
X
X
HS O3
X
I/O
X
X
X
— O3
X
S
— —
S
— —
X
X
X
— O3
X
X
X
X
— O3
X
I/O
X
X
— O1
X
I/O
X
X
— O1
X
I/O
X
X
— O1
X
I/O
X
X
— O1
X
I/O
X
X
— O1
X
I/O
X
X
— O1
X
I/O
X
X
— O1
X
I/O
X
X
— O1
X
I/O
X
X
— O1
X
I/O
X
X
— O1
X
I/O
X
X
— O1
X
I/O
X
X
— O1
X
I/O
X
X
— O1
X
I/O
X
X
— O1
X
Doc ID 14395 Rev 8
STM8AF52/62xx, STM8AF51/61xx
Main
Alternate
Default
function
function
alternate
(after
after remap
function
reset)
[option bit]
SPI master/
X
Port E5
slave select
ADC trigger
X
Port C0
input
Timer 1 -
X
Port C1
channel 1
Timer 1-
X
Port C2
channel 2
Timer 1 -
X
Port C3
channel 3
Timer 1 -
X
Port C4
channel 4
X
Port C5
SPI clock
I/O ground
I/O power supply
SPI master
X
Port C6
out/
slave in
SPI master
X
Port C7
in/ slave out
X
Port G0 CAN transmit
X
Port G1
CAN receive
X
Port G2
X
Port G3
X
Port G4
X
Port I0
X
Port I1
X
Port I2
X
Port I3
X
Port I4
X
Port I5
X
Port G5
X
Port G6
X
Port G7