MCU 32KB FLASH EEPROM 32-VFQFPN

STM8S105K6U6

Manufacturer Part NumberSTM8S105K6U6
DescriptionMCU 32KB FLASH EEPROM 32-VFQFPN
ManufacturerSTMicroelectronics
SeriesSTM8S
STM8S105K6U6 datasheet
 


Specifications of STM8S105K6U6

Core ProcessorSTM8Core Size8-Bit
Speed16MHzConnectivityI²C, IrDA, LIN, SPI, UART/USART
PeripheralsBrown-out Detect/Reset, POR, PWM, WDTNumber Of I /o25
Program Memory Size32KB (32K x 8)Program Memory TypeFLASH
Eeprom Size1K x 8Ram Size2K x 8
Voltage - Supply (vcc/vdd)2.95 V ~ 5.5 VData ConvertersA/D 7x10b
Oscillator TypeInternalOperating Temperature-40°C ~ 85°C
Package / Case32-VFQFN, 32-VFQFPNProcessor SeriesSTM8S10x
CoreSTM8Data Bus Width8 bit
Data Ram Size2 KBInterface TypeI2C, SPI, UART
Maximum Clock Frequency16 MHzNumber Of Programmable I/os25
Number Of Timers8Maximum Operating Temperature+ 85 C
Mounting StyleSMD/SMT3rd Party Development ToolsEWSTM8
Development Tools By SupplierSTICE-SYS001Minimum Operating Temperature- 40 C
On-chip Adc10 bit, 7 ChannelFor Use With497-10040 - EVAL KIT STM8S DISCOVERY497-10593 - KIT STARTER FOR STM8S207/8 SER
Lead Free Status / RoHS StatusLead free / RoHS CompliantOther names497-10123
STM8S105K6U6
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
32
33
34
35
36
37
38
39
40
41
Page 41
42
Page 42
43
Page 43
44
Page 44
45
Page 45
46
Page 46
47
Page 47
48
Page 48
49
Page 49
50
Page 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
Page 50/127

Download datasheet (2Mb)Embed
PrevNext
Option bytes
8
Option bytes
Option bytes contain configurations for device hardware features as well as the memory
protection of the device. They are stored in a dedicated block of the memory. Except for the
ROP (read-out protection) byte, each option byte has to be stored twice, in a regular form
(OPTx) and a complemented one (NOPTx) for redundancy.
Option bytes can be modified in ICP mode (via SWIM) by accessing the EEPROM address
shown in the table below.
Option bytes can also be modified ‘on the fly’ by the application in IAP mode, except the ROP
option that can only be modified in ICP mode (via SWIM).
Refer to the STM8S Flash programming manual (PM0051) and STM8 SWIM communication
protocol and debug module user manual (UM0470) for information on SWIM programming
procedures.
Addr.
Option
Option
Option bits
name
byte no.
7
0x4800
Read-out
OPT0
ROP [7:0]
protection
(ROP)
0x4801
User boot
OPT1
UBC [7:0]
code(UBC)
0x4802
NOPT1
NUBC [7:0]
0x4803
Alternate
OPT2
AFR7
function
remapping
0x4804
NOPT2
NAFR7
(AFR)
0x4805h
Miscell.
OPT3
Reserved
option
0x4806
NOPT3
Reserved
0x4807
Clock
OPT4
Reserved
option
0x4808
NOPT4
Reserved
0x4809
HSE clock
OPT5
HSECNT [7:0]
startup
0x480A
NOPT5
NHSECNT [7:0]
OPT6
0x480B
Reserved
Reserved
50/127
Table 12: Option bytes
6
5
4
3
AFR5
AFR4
AFR3
AFR6
NAFR6
NAFR5
NAFR4
NAFR3
HSI
LSI_ EN
TRIM
NHSI
NLSI_
TRIM
EN
EXT CLK
NEXT
CLK
DocID14771 Rev 10
STM8S105xx
Factory
default
setting
2
1
0
00h
00h
FFh
AFR2
AFR1
AFR0
00h
NAFR2
NAFR1
NAFR0
FFh
IWDG
WWDG
WWDG
00h
_HW
_HW
_HALT
NIWDG
NWWDG
NWW
FFh
_HW
_HW
G_HALT
CKAWU
PRS C1
PRS C0
00h
SEL
NCKA
NPRSC1
NPR
FFh
WUSEL
SC0
00h
FFh
00h