STM8AF6146 STMicroelectronics, STM8AF6146 Datasheet - Page 26
![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
Pinouts and pin description
Table 10.
26/91
number
10
11
12
13
14 10 V
15
16
17 11 PB5/AIN5
18 12 PB4/AIN4
19 13 PB3/AIN3
20 14 PB2/AIN2
21 15 PB1/AIN1
22 16 PB0/AIN0
1
2
3
4
5
6
7
8
9
-
Pin
1 NRST
2 PA1/OSCIN
3 PA2/OSCOUT
4 V
5 VCAP
6 V
7 V
8 PF4/AIN12
9 V
- V
- PA3/TIM2_CH3
- PA4
- PA5
- PA6
- PB7/AIN7
- PB6/AIN6
SSIO_1
SS
DD
DDIO_1
DDA
SSA
Pin name
STM8AF61xx/62xx (32 Kbytes) microcontroller pin description
(4)(5)
(3)
I/O
I/O X
I/O X
I/O X
I/O X
I/O X
I/O X
I/O X
I/O X
I/O X
I/O X
I/O X
I/O X
I/O X
I/O X
I/O X
S
S
S
S
S
S
S
-
-
-
-
-
-
-
-
Input
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
-
-
-
-
-
-
-
X
X
X
X
X
X
X
X
X
X
X
X
X
-
-
-
-
-
-
-
-
-
Doc ID 14952 Rev 5
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Output
O1
O1
O1
O1
O3
O3
O3
O1
O1
O1
O1
O1
O1
O1
O1
-
-
-
-
-
-
-
-
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
-
-
-
-
-
-
-
-
X Port A1 Resonator/crystal in
X Port A2 Resonator/crystal out
X Port F4
X Port A3 Timer 2 - channel 3
X Port A4
X Port A5
X Port A6
X Port B7 Analog input 7
X Port B6 Analog input 6
X Port B5 Analog input 5
X Port B4 Analog input 4
X Port B3 Analog input 3
X Port B2 Analog input
X Port B1 Analog input 1
X Port B0 Analog input 0
- Reset
- I/O ground
- Digital ground
- 1.8 V regulator capacitor
- Digital power supply
- I/O power supply
- Analog power supply
- Analog ground
Analog input 12
Default alternate
function
STM8AF61xx, STM8AF62xx
(1)(2)
—
—
—
—
—
—
—
—
—
TIM3_CH1
[AFR1]
—
—
—
—
—
—
—
I
[AFR6]
I
[AFR6]
TIM1_ETR
[AFR5]
TIM1_
NCC3
[AFR5]
TIM1_
NCC2
[AFR5]
TIM1_
NCC1
[AFR5]
function after
2
2
C_SDA
C_SCL
[option bit]
Alternate
remap