STM8AF6146 STMicroelectronics, STM8AF6146 Datasheet - Page 47
![no-image](/images/manufacturer_photos/0/6/637/stmicroelectronics_sml.jpg)
STM8AF6146
Manufacturer Part Number
STM8AF6146
Description
Automotive 8-bit MCU, with up to 128 Kbytes Flash, EEPROM, 10-bit ADC, timers, LIN, CAN, USART, SPI, I2C, 3 V to 5.5 V
Manufacturer
STMicroelectronics
Datasheet
1.STM8AF6168.pdf
(91 pages)
Specifications of STM8AF6146
Max Fcpu
16 MHz
Flash Program Memory
16 to 32 Kbytes Flash; data retention 20 years at 55 °C after 1 kcycle
Data Memory
0.5 to 1 Kbyte true data EEPROM; endurance 300 kcycles
Ram
1 to 2 Kbytes
Advanced Control Timer
16-bit, 4 CAPCOM channels, 3 complementary outputs, dead-time insertion and flexible synchronization
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
STM8AF61xx, STM8AF62xx
Table 18.
Option byte no.
OPT12
OPT13
OPT14
OPT15
OPT16
OPT17
Option byte description (continued)
TMU_KEY 5 [7:0]: Temporary unprotection key 4
TMU_KEY 6 [7:0]: Temporary unprotection key 5
TMU_KEY 7 [7:0]: Temporary unprotection key 6
TMU_KEY 8 [7:0]: Temporary unprotection key 7
TMU_MAXATT [7:0]: TMU access failure counter
BL [7:0]: Bootloader enable
Temporary unprotection key: Must be different from 0x00 or 0xFF
Temporary unprotection key: Must be different from 0x00 or 0xFF
Temporary unprotection key: Must be different from 0x00 or 0xFF
Temporary unprotection key: Must be different from 0x00 or 0xFF
TMU_MAXATT can be initialized with the desired value only if TMU is
disabled (TMU[3:0]=0101 in OPT6 option byte).
When TMU is enabled, any attempt to temporary remove the readout
protection by using wrong key values increments the counter.
When the option byte value reaches 0x08, the Flash memory and data
EEPROM are erased.
If this option byte is set to 0x55 (complementary value 0xAA) the
bootloader program is activated also in case of a programmed code
memory
(for more details, see the bootloader user manual, UM0560).
Doc ID 14952 Rev 5
Description
Option bytes
47/91