169 lines
2.5 KiB
YAML
169 lines
2.5 KiB
YAML
name: STM8S003x3
|
|
# F: 20 pins, K: 32 pins
|
|
alias: STM8S003F3, STM8S003K3
|
|
# T: LQFP, P: TSSOP, U: UFQFPN
|
|
variations: T,P,U
|
|
description: 16-MHz STM8S 8-bit MCU, 8-Kbyte Flash memory, 128-byte data EEPROM, 10-bit ADC, 3 timers, UART, SPI, I2C
|
|
keywords: IC, MCU, Micro-Controller, STM8S
|
|
datasheet: https://www.st.com/resource/en/datasheet/stm8s003f3.pdf
|
|
|
|
pinout@T:
|
|
PORTA:
|
|
PA1/OSCIN: 2
|
|
PA2/OSCOUT: 3
|
|
PA3: 7
|
|
PORTB:
|
|
PB0: 16
|
|
PB1: 15
|
|
PB2: 14
|
|
PB3: 13
|
|
PB4: 12
|
|
PB5: 11
|
|
PB6: 10
|
|
PB7: 9
|
|
PORTC:
|
|
PC1: 18
|
|
PC2: 19
|
|
PC3: 20
|
|
PC4: 21
|
|
PC5: 22
|
|
PC6: 23
|
|
PC7: 24
|
|
PORTD:
|
|
PD0: 25
|
|
PD1/SWIM: 26
|
|
PD2: 27
|
|
PD3: 28
|
|
PD4: 29
|
|
PD5: 30
|
|
PD6: 31
|
|
PD7: 32
|
|
PORTE:
|
|
PE5: 17
|
|
PORTF:
|
|
PF4: 8
|
|
CTRL:
|
|
NRST: 1
|
|
POWER:
|
|
VCAP: 5
|
|
VDD: 6
|
|
GROUND:
|
|
VSS: 4
|
|
|
|
pinout@P:
|
|
PORTA:
|
|
PA1/OSCIN: 5
|
|
PA2/OSCOUT: 6
|
|
PA3: 10
|
|
PORTB:
|
|
PB4: 12
|
|
PB5: 11
|
|
PORTC:
|
|
PC3: 13
|
|
PC4: 14
|
|
PC5: 15
|
|
PC6: 16
|
|
PC7: 17
|
|
PORTD:
|
|
PD1/SWIM: 18
|
|
PD2: 19
|
|
PD3: 20
|
|
PD4: 1
|
|
PD5: 2
|
|
PD6: 3
|
|
CTRL:
|
|
NRST: 4
|
|
POWER:
|
|
VCAP: 8
|
|
VDD: 9
|
|
GROUND:
|
|
VSS: 7
|
|
|
|
pinout@U:
|
|
PORTA:
|
|
PA1/OSCIN: 2
|
|
PA2/OSCOUT: 3
|
|
PA3: 7
|
|
PORTB:
|
|
PB4: 9
|
|
PB5: 8
|
|
PORTC:
|
|
PC3: 10
|
|
PC4: 11
|
|
PC5: 12
|
|
PC6: 13
|
|
PC7: 14
|
|
PORTD:
|
|
PD1/SWIM: 15
|
|
PD2: 16
|
|
PD3: 17
|
|
PD4: 18
|
|
PD5: 19
|
|
PD6: 20
|
|
CTRL:
|
|
NRST: 1
|
|
POWER:
|
|
VCAP: 5
|
|
VDD: 6
|
|
GROUND:
|
|
VSS: 4
|
|
|
|
properties:
|
|
in: NRST
|
|
bidir: PORTA, PORTB, PORTC, PORTD, PORTE, PORTF
|
|
power: VDD, VCAP
|
|
ground: VSS
|
|
|
|
schematic@T:
|
|
symbol: IC
|
|
left: PORTA, PORTB, PORTC, CTRL
|
|
right: PORTD, PORTE, PORTF
|
|
top: POWER
|
|
bottom: GROUND
|
|
|
|
schematic@P:
|
|
symbol: IC
|
|
left: PORTA, PORTB, CTRL
|
|
right: PORTC, PORTD
|
|
top: POWER
|
|
bottom: GROUND
|
|
|
|
schematic@U:
|
|
symbol: IC
|
|
left: PORTA, PORTB, CTRL
|
|
right: PORTC, PORTD
|
|
top: POWER
|
|
bottom: GROUND
|
|
|
|
housing@T:
|
|
pattern: QFP
|
|
bodyWidth: 6.80-7.20 # D1
|
|
bodyLength: 6.80-7.20 # E1
|
|
height: 1.600 # A
|
|
leadWidth: 0.30-0.45 # b
|
|
leadLength: 0.45-0.75 # L
|
|
leadSpan: 8.80-9.2 # D
|
|
pitch: 0.80 # e
|
|
leadCount: 32
|
|
|
|
housing@P:
|
|
pattern: SOP
|
|
bodyWidth: 4.30-4.50 # E1
|
|
bodyLength: 6.40-6.60 # D
|
|
height: 1.2 # A
|
|
leadWidth: 0.19-0.30 # b
|
|
leadLength: 0.45-0.75 # L
|
|
leadSpan: 6.20-6.60 # E
|
|
pitch: 0.65 # e
|
|
leadCount: 20
|
|
|
|
housing@U:
|
|
pattern: QFN
|
|
bodyWidth: 2.90-3.10 # D
|
|
bodyLength: 2.90-3.10 # E
|
|
height: 0.50-0.60 # A
|
|
leadWidth: 0.18-0.30 # b
|
|
leadLength: 0.50-0.60 # L (not on the corner pins)
|
|
pitch: 0.50 # e
|
|
leadCount: 20
|