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 39/106

Download datasheet (2Mb)Embed
PrevNext
STM8AF52/62xx, STM8AF51/61xx
Table 14.
I/O port hardware register map (continued)
Address
Block
0x00 501E
0x00 501F
0x00 5020
Port G
0x00 5021
0x00 5022
0x00 5023
0x00 5024
0x00 5025
Port H
0x00 5026
0x00 5027
0x00 5028
0x00 5029
0x00 502A
Port I
0x00 502B
0x00 502C
1. Depends on the external circuitry.
Table 15.
General hardware register map
Address
0x00 505A
0x00 505B
0x00 505C
0x00 505D
0x00 505E
0x00 505F
0x00 5060 to
0x005061
0x00 5062
0x00 5063
0x00 5064
0x00 5065 to
0x00 509F
Register label
PG_ODR
Port G data output latch register
PG_IDR
PG_DDR
PG_CR1
PG_CR2
PH_ODR
Port H data output latch register
PH_IDR
PH_DDR
PH_CR1
PH_CR2
PI_ODR
PI_IDR
PI_DDR
PI_CR1
PI_CR2
Block
Register label
FLASH_CR1
FLASH_CR2
FLASH_NCR2
Flash complementary control register 2
FLASH_FPR
Flash
FLASH_NFPR
Flash in-application programming
FLASH_IAPSR
status register
Reserved area (2 bytes)
Flash Program memory unprotection
Flash
FLASH_PUKR
register
Reserved area (1 byte)
Flash
FLASH_DUKR
Data EEPROM unprotection register
Reserved area (59 bytes)
Doc ID 14395 Rev 8
Memory and register map
Register name
Port G input pin value register
Port G data direction register
Port G control register 1
Port G control register 2
Port H input pin value register
Port H data direction register
Port H control register 1
Port H control register 2
Port I data output latch register
Port I input pin value register
Port I data direction register
Port I control register 1
Port I control register 2
Register name
Flash control register 1
Flash control register 2
Flash protection register
Flash complementary protection
register
Reset
status
0x00
(1)
0xXX
0x00
0x00
0x00
0x00
(1)
0xXX
0x00
0x00
0x00
0x00
(1)
0xXX
0x00
0x00
0x00
Reset
status
0x00
0x00
0xFF
0x00
0xFF
0x40
0x00
0x00
39/106