mirror of
https://github.com/eddyem/STM8_samples.git
synced 2025-12-06 18:55:15 +03:00
321 lines
11 KiB
Plaintext
321 lines
11 KiB
Plaintext
(export (version D)
|
||
(design
|
||
(source /home/eddy/Docs/SAO/ELECTRONICS/STM8/stepper/schematic/kicad.sch)
|
||
(date "Ср 12 фев 2014 11:38:18")
|
||
(tool "eeschema (2013-feb-26)-stable"))
|
||
(components
|
||
(comp (ref U1)
|
||
(value STM8S105K4T6C)
|
||
(libsource (lib stm8s105k4t6c) (part STM8S105K4T6C))
|
||
(sheetpath (names /) (tstamps /))
|
||
(tstamp 52FB03A2))
|
||
(comp (ref C1)
|
||
(value 1u)
|
||
(libsource (lib device) (part C))
|
||
(sheetpath (names /) (tstamps /))
|
||
(tstamp 52FB0413))
|
||
(comp (ref C2)
|
||
(value 104)
|
||
(libsource (lib device) (part C))
|
||
(sheetpath (names /) (tstamps /))
|
||
(tstamp 52FB0426))
|
||
(comp (ref P2)
|
||
(value CONN_4)
|
||
(libsource (lib conn) (part CONN_4))
|
||
(sheetpath (names /) (tstamps /))
|
||
(tstamp 52FB0A49))
|
||
(comp (ref P1)
|
||
(value CONN_14)
|
||
(libsource (lib conn) (part CONN_14))
|
||
(sheetpath (names /) (tstamps /))
|
||
(tstamp 52FB0A6A))
|
||
(comp (ref P3)
|
||
(value CONN_14)
|
||
(libsource (lib conn) (part CONN_14))
|
||
(sheetpath (names /) (tstamps /))
|
||
(tstamp 52FB0A79))
|
||
(comp (ref D1)
|
||
(value LED)
|
||
(libsource (lib device) (part LED))
|
||
(sheetpath (names /) (tstamps /))
|
||
(tstamp 52FB0DD3))
|
||
(comp (ref R1)
|
||
(value 1k)
|
||
(libsource (lib device) (part R))
|
||
(sheetpath (names /) (tstamps /))
|
||
(tstamp 52FB0DE2))
|
||
(comp (ref D2)
|
||
(value LED)
|
||
(libsource (lib device) (part LED))
|
||
(sheetpath (names /) (tstamps /))
|
||
(tstamp 52FB0ECD))
|
||
(comp (ref R2)
|
||
(value 1k)
|
||
(libsource (lib device) (part R))
|
||
(sheetpath (names /) (tstamps /))
|
||
(tstamp 52FB0ED3))
|
||
(comp (ref R3)
|
||
(value 10k)
|
||
(libsource (lib device) (part R))
|
||
(sheetpath (names /) (tstamps /))
|
||
(tstamp 52FB0EFD))
|
||
(comp (ref SW1)
|
||
(value SW_PUSH)
|
||
(libsource (lib device) (part SW_PUSH))
|
||
(sheetpath (names /) (tstamps /))
|
||
(tstamp 52FB0F3B))
|
||
(comp (ref C3)
|
||
(value 104)
|
||
(libsource (lib device) (part C))
|
||
(sheetpath (names /) (tstamps /))
|
||
(tstamp 52FB0F99)))
|
||
(libparts
|
||
(libpart (lib device) (part C)
|
||
(description "Condensateur non polarise")
|
||
(footprints
|
||
(fp SM*)
|
||
(fp C?)
|
||
(fp C1-1))
|
||
(fields
|
||
(field (name Reference) C)
|
||
(field (name Value) C)
|
||
(field (name Footprint) ~)
|
||
(field (name Datasheet) ~))
|
||
(pins
|
||
(pin (num 1) (name ~) (type passive))
|
||
(pin (num 2) (name ~) (type passive))))
|
||
(libpart (lib device) (part LED)
|
||
(footprints
|
||
(fp LED-3MM)
|
||
(fp LED-5MM)
|
||
(fp LED-10MM)
|
||
(fp LED-0603)
|
||
(fp LED-0805)
|
||
(fp LED-1206)
|
||
(fp LEDV))
|
||
(fields
|
||
(field (name Reference) D)
|
||
(field (name Value) LED)
|
||
(field (name Footprint) ~)
|
||
(field (name Datasheet) ~))
|
||
(pins
|
||
(pin (num 1) (name A) (type passive))
|
||
(pin (num 2) (name K) (type passive))))
|
||
(libpart (lib device) (part R)
|
||
(description Resistance)
|
||
(footprints
|
||
(fp R?)
|
||
(fp SM0603)
|
||
(fp SM0805)
|
||
(fp R?-*)
|
||
(fp SM1206))
|
||
(fields
|
||
(field (name Reference) R)
|
||
(field (name Value) R)
|
||
(field (name Footprint) ~)
|
||
(field (name Datasheet) ~))
|
||
(pins
|
||
(pin (num 1) (name ~) (type passive))
|
||
(pin (num 2) (name ~) (type passive))))
|
||
(libpart (lib device) (part SW_PUSH)
|
||
(description "Push Button")
|
||
(fields
|
||
(field (name Reference) SW)
|
||
(field (name Value) SW_PUSH)
|
||
(field (name Footprint) ~)
|
||
(field (name Datasheet) ~))
|
||
(pins
|
||
(pin (num 1) (name 1) (type passive))
|
||
(pin (num 2) (name 2) (type passive))))
|
||
(libpart (lib conn) (part CONN_14)
|
||
(description "Symbole general de connexion")
|
||
(fields
|
||
(field (name Reference) P)
|
||
(field (name Value) CONN_14))
|
||
(pins
|
||
(pin (num 1) (name P1) (type passive))
|
||
(pin (num 2) (name P2) (type passive))
|
||
(pin (num 3) (name P3) (type passive))
|
||
(pin (num 4) (name P4) (type passive))
|
||
(pin (num 5) (name P5) (type passive))
|
||
(pin (num 6) (name P6) (type passive))
|
||
(pin (num 7) (name P7) (type passive))
|
||
(pin (num 8) (name P8) (type passive))
|
||
(pin (num 9) (name P9) (type passive))
|
||
(pin (num 10) (name P10) (type passive))
|
||
(pin (num 11) (name P11) (type passive))
|
||
(pin (num 12) (name P12) (type passive))
|
||
(pin (num 13) (name P13) (type passive))
|
||
(pin (num 14) (name P14) (type passive))))
|
||
(libpart (lib conn) (part CONN_4)
|
||
(description "Symbole general de connecteur")
|
||
(fields
|
||
(field (name Reference) P)
|
||
(field (name Value) CONN_4))
|
||
(pins
|
||
(pin (num 1) (name P1) (type passive))
|
||
(pin (num 2) (name P2) (type passive))
|
||
(pin (num 3) (name P3) (type passive))
|
||
(pin (num 4) (name P4) (type passive))))
|
||
(libpart (lib stm8s105k4t6c) (part STM8S105K4T6C)
|
||
(footprints
|
||
(fp lqfp32*))
|
||
(fields
|
||
(field (name Reference) U)
|
||
(field (name Value) STM8S105K4T6C)
|
||
(field (name Footprint) ~)
|
||
(field (name Datasheet) ~))
|
||
(pins
|
||
(pin (num 1) (name NRST) (type input))
|
||
(pin (num 2) (name OSCIN/PA1) (type 3state))
|
||
(pin (num 3) (name OSCOUT/PA2) (type 3state))
|
||
(pin (num 4) (name VSS) (type power_in))
|
||
(pin (num 5) (name VCAP) (type power_out))
|
||
(pin (num 6) (name "VDD(3.3-5v)") (type power_in))
|
||
(pin (num 7) (name VDDio) (type power_in))
|
||
(pin (num 8) (name PF4/AIN12) (type 3state))
|
||
(pin (num 9) (name VDDA) (type power_in))
|
||
(pin (num 10) (name VSSA) (type power_in))
|
||
(pin (num 11) (name PB5/AIN5[I2X_SDA]) (type 3state))
|
||
(pin (num 12) (name PB4/AIN4[I2C_SCL]) (type 3state))
|
||
(pin (num 13) (name PB3/AIN3[TIM1_ETR]) (type 3state))
|
||
(pin (num 14) (name PB2/AIN2[TIM1_CH3N]) (type 3state))
|
||
(pin (num 15) (name PB1/AIN1_[TIM1_CH2N]) (type 3state))
|
||
(pin (num 16) (name PB0/AIN0_[TIM1_CH1N]) (type 3state))
|
||
(pin (num 17) (name PE5/SPI_NSS) (type 3state))
|
||
(pin (num 18) (name "PC1(HS)/TIM1_CH1") (type 3state))
|
||
(pin (num 19) (name "PC2(HS)/TIM1_CH2") (type 3state))
|
||
(pin (num 20) (name "PC3(HS)/TIM1_CH3") (type 3state))
|
||
(pin (num 21) (name "PC4(HS)/TIM1_CH4") (type 3state))
|
||
(pin (num 22) (name "PC5(HS)/SPI_SCK") (type 3state))
|
||
(pin (num 23) (name "PC6(HS)/SPI_MOSI") (type 3state))
|
||
(pin (num 24) (name "PC7(HS)/SPI_MISO") (type 3state))
|
||
(pin (num 25) (name "PD0(HS)/TIM3_CH2[TIM1_BKIN][CLK_CCO]") (type 3state))
|
||
(pin (num 26) (name "PD1(HS)/SWIM") (type 3state))
|
||
(pin (num 27) (name "PD2(HS)/TIM3_CH1[TIM2_CH3]") (type 3state))
|
||
(pin (num 28) (name "PD3(HS)/TIM2_CH2[ADC_ETR]") (type 3state))
|
||
(pin (num 29) (name "PD4(HS)/TIM2_CH1[BEEP]") (type 3state))
|
||
(pin (num 30) (name PD5/UART2_TX) (type 3state))
|
||
(pin (num 31) (name PD6/UART2_RX) (type 3state))
|
||
(pin (num 32) (name PD7/TLI[TIM1_CH4]) (type 3state)))))
|
||
(libraries
|
||
(library (logical device)
|
||
(uri /usr/share/kicad/library/device.lib))
|
||
(library (logical conn)
|
||
(uri /usr/share/kicad/library/conn.lib))
|
||
(library (logical stm8s105k4t6c)
|
||
(uri stm8s105k4t6c.lib)))
|
||
(nets
|
||
(net (code 1) (name +3.3V)
|
||
(node (ref P1) (pin 1))
|
||
(node (ref P2) (pin 1))
|
||
(node (ref U1) (pin 9))
|
||
(node (ref U1) (pin 7))
|
||
(node (ref U1) (pin 6))
|
||
(node (ref C2) (pin 2))
|
||
(node (ref D2) (pin 1))
|
||
(node (ref R3) (pin 1))
|
||
(node (ref D1) (pin 1)))
|
||
(net (code 2) (name "")
|
||
(node (ref D1) (pin 2))
|
||
(node (ref R1) (pin 1)))
|
||
(net (code 3) (name /PD4)
|
||
(node (ref U1) (pin 29))
|
||
(node (ref P3) (pin 4)))
|
||
(net (code 4) (name /PD3)
|
||
(node (ref P3) (pin 5))
|
||
(node (ref U1) (pin 28)))
|
||
(net (code 5) (name /PD2)
|
||
(node (ref U1) (pin 27))
|
||
(node (ref P3) (pin 6)))
|
||
(net (code 6) (name /SWIM/PD1)
|
||
(node (ref U1) (pin 26))
|
||
(node (ref P3) (pin 7))
|
||
(node (ref P2) (pin 2)))
|
||
(net (code 7) (name /PD0)
|
||
(node (ref P3) (pin 8))
|
||
(node (ref U1) (pin 25)))
|
||
(net (code 8) (name /PC7)
|
||
(node (ref P3) (pin 9))
|
||
(node (ref U1) (pin 24)))
|
||
(net (code 9) (name /PC6)
|
||
(node (ref U1) (pin 23))
|
||
(node (ref P3) (pin 10)))
|
||
(net (code 10) (name /PC5)
|
||
(node (ref P3) (pin 11))
|
||
(node (ref U1) (pin 22)))
|
||
(net (code 11) (name /PC4)
|
||
(node (ref P3) (pin 12))
|
||
(node (ref U1) (pin 21)))
|
||
(net (code 12) (name /PC3)
|
||
(node (ref U1) (pin 20))
|
||
(node (ref P3) (pin 13)))
|
||
(net (code 13) (name /PC2)
|
||
(node (ref P3) (pin 14))
|
||
(node (ref U1) (pin 19))
|
||
(node (ref R1) (pin 2)))
|
||
(net (code 14) (name GND)
|
||
(node (ref P2) (pin 4))
|
||
(node (ref C1) (pin 1))
|
||
(node (ref C2) (pin 1))
|
||
(node (ref U1) (pin 10))
|
||
(node (ref U1) (pin 4))
|
||
(node (ref R2) (pin 2))
|
||
(node (ref SW1) (pin 1))
|
||
(node (ref C3) (pin 2))
|
||
(node (ref P1) (pin 2)))
|
||
(net (code 15) (name "")
|
||
(node (ref R2) (pin 1))
|
||
(node (ref D2) (pin 2)))
|
||
(net (code 16) (name /PD5)
|
||
(node (ref P3) (pin 3))
|
||
(node (ref U1) (pin 30)))
|
||
(net (code 17) (name "")
|
||
(node (ref C1) (pin 2))
|
||
(node (ref U1) (pin 5)))
|
||
(net (code 18) (name /OSC2IN)
|
||
(node (ref P1) (pin 5))
|
||
(node (ref U1) (pin 3)))
|
||
(net (code 19) (name /NRST)
|
||
(node (ref U1) (pin 1))
|
||
(node (ref R3) (pin 2))
|
||
(node (ref SW1) (pin 2))
|
||
(node (ref C3) (pin 1))
|
||
(node (ref P1) (pin 3))
|
||
(node (ref P2) (pin 3)))
|
||
(net (code 20) (name /OSC1IN)
|
||
(node (ref U1) (pin 2))
|
||
(node (ref P1) (pin 4)))
|
||
(net (code 21) (name /PF4)
|
||
(node (ref P1) (pin 6))
|
||
(node (ref U1) (pin 8)))
|
||
(net (code 22) (name /PB5)
|
||
(node (ref P1) (pin 7))
|
||
(node (ref U1) (pin 11)))
|
||
(net (code 23) (name /PB4)
|
||
(node (ref P1) (pin 8))
|
||
(node (ref U1) (pin 12)))
|
||
(net (code 24) (name /PB3)
|
||
(node (ref U1) (pin 13))
|
||
(node (ref P1) (pin 9)))
|
||
(net (code 25) (name /PB2)
|
||
(node (ref P1) (pin 10))
|
||
(node (ref U1) (pin 14)))
|
||
(net (code 26) (name /PB1)
|
||
(node (ref P1) (pin 11))
|
||
(node (ref U1) (pin 15)))
|
||
(net (code 27) (name /PB0)
|
||
(node (ref P1) (pin 12))
|
||
(node (ref U1) (pin 16)))
|
||
(net (code 28) (name /PE5)
|
||
(node (ref P1) (pin 13))
|
||
(node (ref U1) (pin 17)))
|
||
(net (code 29) (name /PC1)
|
||
(node (ref P1) (pin 14))
|
||
(node (ref U1) (pin 18)))
|
||
(net (code 30) (name /PD7)
|
||
(node (ref U1) (pin 32))
|
||
(node (ref P3) (pin 1)))
|
||
(net (code 31) (name /PD6)
|
||
(node (ref U1) (pin 31))
|
||
(node (ref P3) (pin 2))))) |