Electronic Components Datasheet Search
  English  ▼

X  

STM8S003F3 Datasheet(PDF) 42 Page - STMicroelectronics

Part # STM8S003F3
Description  Value line, 16-MHz STM8S 8-bit MCU, 8-Kbyte Flash memory, 128-byte data EEPROM, 10-bit ADC, 3 timers, UART, SPI, I²C
PDF  103 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STM8S003F3 Datasheet(HTML) 42 Page - STMicroelectronics

Back Button STM8S003F3 Datasheet HTML 38Page - STMicroelectronics STM8S003F3 Datasheet HTML 39Page - STMicroelectronics STM8S003F3 Datasheet HTML 40Page - STMicroelectronics STM8S003F3 Datasheet HTML 41Page - STMicroelectronics STM8S003F3 Datasheet HTML 42Page - STMicroelectronics STM8S003F3 Datasheet HTML 43Page - STMicroelectronics STM8S003F3 Datasheet HTML 44Page - STMicroelectronics STM8S003F3 Datasheet HTML 45Page - STMicroelectronics STM8S003F3 Datasheet HTML 46Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 42 / 103 page
background image
Option bytes
STM8S003F3 STM8S003K3
42/103
DS7147 Rev 10
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 Table 12: Option bytes 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.
Table 12. Option bytes
Addr.
Option
name
Option
byte no.
Option bits
Factory
default
setting
7
6
54
32
10
0x4800
Read-out
protection
(ROP)
OPT0
ROP[7:0]
0x00
0x4801
User boot code
(UBC)
OPT1
UBC[7:0]
0x00
0x4802
NOPT1
NUBC[7:0]
0xFF
0x4803
Alternate
function
remapping
(AFR)
OPT2
AFR7
AFR6
AFR5
AFR4
AFR3
AFR2
AFR1
AFR0
0x00
0x4804
NOPT2
NAFR7
NAFR6
NAFR5
NAFR4
NAFR3
NAFR2
NAFR1
NAFR0
0xFF
0x4805
Misc. option
OPT3
Reserved
HSITRIM
LSI
_EN
IWDG
_HW
WWDG
_HW
WWDG
_HALT
0x00
0x4806
NOPT3
Reserved
NHSI
TRIM
NLSI
_EN
NIWDG
_HW
NWWDG
_HW
NWWDG
_HALT
0xFF
0x4807
Clock option
OPT4
Reserved
EXT
CLK
CKAWU
SEL
PRS
C1
PRS
C0
0x00
0x4808
NOPT4
Reserved
NEXT
CLK
NCKAW
USEL
NPR
SC1
NPR
SC0
0xFF
0x4809
HSE clock
startup
OPT5
HSECNT[7:0]
0x00
0x480A
NOPT5
NHSECNT[7:0]
0xFF
Table 13. Option byte description
Option byte no.
Description
OPT0
ROP[7:0] Memory readout protection (ROP)
0xAA: Enable readout protection (write access via SWIM protocol)
Note: Refer to the family reference manual (RM0016) section on
Flash/EEPROM memory readout protection for details.



Html Pages

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 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  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com