stm8af6166tdy STMicroelectronics, stm8af6166tdy Datasheet - Page 45

no-image

stm8af6166tdy

Manufacturer Part Number
stm8af6166tdy
Description
Automotive 8-bit Mcu, With Up To 32 Kbytes Flash, Data Eeprom, 10-bit Adc, Timers, Lin, Spi, I2c, 3 To 5.5 V
Manufacturer
STMicroelectronics
Datasheet
STM8AF61xx, STM8AF62xx
Table 18.
Option byte no.
OPT0
OPT1
OPT2
Option byte description
ROP[7:0]: Memory readout protection (ROP)
UBC[5:0]: User boot code area
AFR7: Alternate function remapping option 7
AFR6: Alternate function remapping option 6
AFR5: Alternate function remapping option 5
AFR4: Alternate function remapping option 4
AFR3: Alternate function remapping option 3
AFR2: Alternate function remapping option 2
AFR1: Alternate function remapping option 1
AFR0: Alternate function remapping option 0
0xAA: Enable readout protection (write access via SWIM protocol)
Note: Refer to the STM8S and STM8A microcontroller families reference
manual (RM0016) section on Flash/EEPROM memory readout
protection for details.
0x00: No UBC, no write-protection
0x01: Page 0 to 1 defined as UBC, memory write-protected
0x02: Page 0 to 3 defined as UBC, memory write-protected
0x03 to 0x3F: Pages 4 to 63 defined as UBC, memory write-protected
Note: Refer to the STM8S and STM8A microcontroller families reference
manual (RM0016) section on Flash/EEPROM write protection for more
details.
0: Port D4 alternate function = TIM2_CH1
1: Port D4 alternate function = BEEP
0: Port B5 alternate function = AIN5, port B4 alternate function = AIN4
1: Port B5 alternate function = I
I
0: Port B3 alternate function = AIN3, port B2 alternate function = AIN2,
port B1 alternate function = AIN1, port B0 alternate function = AIN0.
1: Port B3 alternate function = TIM1_ETR, port B2 alternate function =
TIM1_CH3N, port B1 alternate function = TIM1_CH2N, port B0 alternate
function = TIM1_CH1N.
Reserved, bit must be kept at "0"
0: Port D0 alternate function = TIM3_CH2
1: Port D0 alternate function = TIM1_BKIN
0: Port D0 alternate function = TIM3_CH2
1: Port D0 alternate function = CLK_CCO
Note: AFR2 option has priority over AFR3 if both are activated
0: Port A3 alternate function = TIM2_CH3, port D2 alternate function
TIM3_CH1.
1: Port A3 alternate function = TIM3_CH1, port D2 alternate function
TIM2_CH3.
0: Port D3 alternate function = TIM2_CH2
1: Port D3 alternate function = ADC_ETR
2
C_SCL.
Doc ID 14952 Rev 5
Description
2
C_SDA, port B4 alternate function =
Option bytes
45/91

Related parts for stm8af6166tdy