hp34970.net

Sat, 09 Oct 2021 16:45:03 +0200

author
David Douard <david.douard@sdfa3.org>
date
Sat, 09 Oct 2021 16:45:03 +0200
changeset 2
3bf07ef83b52
parent 0
a70499980c1d
permissions
-rw-r--r--

Update the PCB to include the UART connector and route the USB detect to PC12

(export (version D)
  (design
    (source /home/david/perso/elec/hp34970/hp34970.sch)
    (date "jeu. 10 sept. 2020 21:21:48 CEST")
    (tool "Eeschema 5.1.6+dfsg1-1~bpo10+1")
    (sheet (number 1) (name /) (tstamps /)
      (title_block
        (title)
        (company)
        (rev)
        (date)
        (source hp34970.sch)
        (comment (number 1) (value ""))
        (comment (number 2) (value ""))
        (comment (number 3) (value ""))
        (comment (number 4) (value "")))))
  (components
    (comp (ref SW4)
      (value SW_Push_45deg)
      (footprint hp34970:contact)
      (datasheet ~)
      (libsource (lib Switch) (part SW_Push_45deg) (description "Push button switch, normally open, two pins, 45° tilted"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F49A50B))
    (comp (ref SW8)
      (value SW_Push_45deg)
      (footprint hp34970:contact)
      (datasheet ~)
      (libsource (lib Switch) (part SW_Push_45deg) (description "Push button switch, normally open, two pins, 45° tilted"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F49BE5F))
    (comp (ref SW12)
      (value SW_Push_45deg)
      (footprint hp34970:contact)
      (datasheet ~)
      (libsource (lib Switch) (part SW_Push_45deg) (description "Push button switch, normally open, two pins, 45° tilted"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F49C67A))
    (comp (ref SW3)
      (value SW_Push_45deg)
      (footprint hp34970:contact)
      (datasheet ~)
      (libsource (lib Switch) (part SW_Push_45deg) (description "Push button switch, normally open, two pins, 45° tilted"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F4A0BC5))
    (comp (ref SW7)
      (value SW_Push_45deg)
      (footprint hp34970:contact)
      (datasheet ~)
      (libsource (lib Switch) (part SW_Push_45deg) (description "Push button switch, normally open, two pins, 45° tilted"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F4A0BCF))
    (comp (ref SW11)
      (value SW_Push_45deg)
      (footprint hp34970:contact)
      (datasheet ~)
      (libsource (lib Switch) (part SW_Push_45deg) (description "Push button switch, normally open, two pins, 45° tilted"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F4A0BD9))
    (comp (ref SW2)
      (value SW_Push_45deg)
      (footprint hp34970:contact)
      (datasheet ~)
      (libsource (lib Switch) (part SW_Push_45deg) (description "Push button switch, normally open, two pins, 45° tilted"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F4A438F))
    (comp (ref SW10)
      (value SW_Push_45deg)
      (footprint hp34970:contact)
      (datasheet ~)
      (libsource (lib Switch) (part SW_Push_45deg) (description "Push button switch, normally open, two pins, 45° tilted"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F4A43A3))
    (comp (ref SW1)
      (value SW_Push_45deg)
      (footprint hp34970:contact)
      (datasheet ~)
      (libsource (lib Switch) (part SW_Push_45deg) (description "Push button switch, normally open, two pins, 45° tilted"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F4A43B7))
    (comp (ref SW5)
      (value SW_Push_45deg)
      (footprint hp34970:contact)
      (datasheet ~)
      (libsource (lib Switch) (part SW_Push_45deg) (description "Push button switch, normally open, two pins, 45° tilted"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F4A43C1))
    (comp (ref SW9)
      (value SW_Push_45deg)
      (footprint hp34970:contact)
      (datasheet ~)
      (libsource (lib Switch) (part SW_Push_45deg) (description "Push button switch, normally open, two pins, 45° tilted"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F4A43CB))
    (comp (ref SW20)
      (value SW_Push_45deg)
      (footprint hp34970:contact)
      (datasheet ~)
      (libsource (lib Switch) (part SW_Push_45deg) (description "Push button switch, normally open, two pins, 45° tilted"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F4C040A))
    (comp (ref SW6)
      (value SW_Push_45deg)
      (footprint hp34970:contact)
      (datasheet ~)
      (libsource (lib Switch) (part SW_Push_45deg) (description "Push button switch, normally open, two pins, 45° tilted"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F4A4399))
    (comp (ref SW17)
      (value SW_Push_45deg)
      (footprint hp34970:contact)
      (datasheet ~)
      (libsource (lib Switch) (part SW_Push_45deg) (description "Push button switch, normally open, two pins, 45° tilted"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F4B5FB6))
    (comp (ref SW18)
      (value SW_Push_45deg)
      (footprint hp34970:contact)
      (datasheet ~)
      (libsource (lib Switch) (part SW_Push_45deg) (description "Push button switch, normally open, two pins, 45° tilted"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F4B5FAC))
    (comp (ref SW13)
      (value SW_Push_45deg)
      (footprint hp34970:contact)
      (datasheet ~)
      (libsource (lib Switch) (part SW_Push_45deg) (description "Push button switch, normally open, two pins, 45° tilted"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F4A43D5))
    (comp (ref SW14)
      (value SW_Push_45deg)
      (footprint hp34970:contact)
      (datasheet ~)
      (libsource (lib Switch) (part SW_Push_45deg) (description "Push button switch, normally open, two pins, 45° tilted"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F4A43AD))
    (comp (ref SW15)
      (value SW_Push_45deg)
      (footprint hp34970:contact)
      (datasheet ~)
      (libsource (lib Switch) (part SW_Push_45deg) (description "Push button switch, normally open, two pins, 45° tilted"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F4A0BE3))
    (comp (ref SW16)
      (value SW_Push_45deg)
      (footprint hp34970:contact)
      (datasheet ~)
      (libsource (lib Switch) (part SW_Push_45deg) (description "Push button switch, normally open, two pins, 45° tilted"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F49CA2C))
    (comp (ref SW19)
      (value Rotary_Encoder)
      (footprint hp34970:bourns_ECW0J-C24-EE24L)
      (datasheet ~)
      (libsource (lib Device) (part Rotary_Encoder) (description "Rotary encoder, dual channel, incremental quadrate outputs"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F54ED2E))
    (comp (ref J1)
      (value Conn_01x12)
      (footprint Connector_PinHeader_2.54mm:PinHeader_1x12_P2.54mm_Vertical)
      (datasheet ~)
      (libsource (lib Connector_Generic) (part Conn_01x12) (description "Generic connector, single row, 01x12, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F5546D1))
    (comp (ref U1)
      (value LM339)
      (footprint Package_SO:SO-14_5.3x10.2mm_P1.27mm)
      (datasheet https://www.st.com/resource/en/datasheet/lm139.pdf)
      (libsource (lib Comparator) (part LM339) (description "Quad Differential Comparators, SOIC-14/TSSOP-14"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F55F670))
    (comp (ref R6)
      (value 100k)
      (footprint Resistor_SMD:R_1206_3216Metric)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F5608BD))
    (comp (ref R5)
      (value 10k)
      (footprint Resistor_SMD:R_1206_3216Metric)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F56120D))
    (comp (ref R7)
      (value 100k)
      (footprint Resistor_SMD:R_1206_3216Metric)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F5657C3))
    (comp (ref R9)
      (value 10k)
      (footprint Resistor_SMD:R_1206_3216Metric)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F588A08))
    (comp (ref C8)
      (value 100n)
      (footprint Capacitor_SMD:C_1206_3216Metric)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F5890F8))
    (comp (ref R2)
      (value 100)
      (footprint Resistor_SMD:R_1206_3216Metric)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F5908F5))
    (comp (ref R3)
      (value 100)
      (footprint Resistor_SMD:R_1206_3216Metric)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F5A1371))
    (comp (ref R4)
      (value 100)
      (footprint Resistor_SMD:R_1206_3216Metric)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F5A77B9))
    (comp (ref R8)
      (value 10k)
      (footprint Resistor_SMD:R_1206_3216Metric)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F5AA944))
    (comp (ref R1)
      (value 26.1k)
      (footprint Resistor_SMD:R_1206_3216Metric)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F5CF33E))
    (comp (ref R13)
      (value 2.61k)
      (footprint Resistor_SMD:R_1206_3216Metric)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F5D9A12))
    (comp (ref D1)
      (value BZX84Cxx)
      (footprint Diode_SMD:D_SOT-23_ANK)
      (datasheet https://diotec.com/tl_files/diotec/files/pdf/datasheets/bzx84c2v4.pdf)
      (libsource (lib Diode) (part BZX84Cxx) (description "300mW Zener Diode, SOT-23"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F5DCA3C))
    (comp (ref C12)
      (value 100n)
      (footprint Capacitor_SMD:C_1206_3216Metric)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F5DD59A))
    (comp (ref C2)
      (value 100n)
      (footprint Capacitor_SMD:C_1206_3216Metric)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F65C457))
    (comp (ref C3)
      (value 100n)
      (footprint Capacitor_SMD:C_1206_3216Metric)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F65DE1F))
    (comp (ref C7)
      (value 10n)
      (footprint Capacitor_SMD:C_1206_3216Metric)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F65ECD6))
    (comp (ref C1)
      (value 4.7u)
      (footprint Capacitor_SMD:C_1206_3216Metric)
      (datasheet ~)
      (libsource (lib Device) (part CP) (description "Polarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F65F5BC))
    (comp (ref C6)
      (value 1u)
      (footprint Capacitor_SMD:C_1206_3216Metric)
      (datasheet ~)
      (libsource (lib Device) (part CP) (description "Polarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F66BAEE))
    (comp (ref U2)
      (value STM32F303RDTx)
      (footprint Package_QFP:LQFP-64_10x10mm_P0.5mm)
      (datasheet http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00118585.pdf)
      (libsource (lib MCU_ST_STM32F3) (part STM32F303RDTx) (description "ARM Cortex-M4 MCU, 384KB flash, 64KB RAM, 72MHz, 2-3.6V, 51 GPIO, LQFP-64"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F7188D6))
    (comp (ref C4)
      (value 100n)
      (footprint Capacitor_SMD:C_1206_3216Metric)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F736EE5))
    (comp (ref J2)
      (value USB_B)
      (footprint Connector_USB:USB_B_TE_5787834_Vertical)
      (datasheet " ~")
      (libsource (lib Connector) (part USB_B) (description "USB Type B connector"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F7AA097))
    (comp (ref R10)
      (value 1.5k)
      (footprint Resistor_SMD:R_1206_3216Metric)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F7C7E98))
    (comp (ref J3)
      (value Conn_02x08_Odd_Even)
      (footprint hp34970:SSD1322_DSP)
      (datasheet ~)
      (libsource (lib Connector_Generic) (part Conn_02x08_Odd_Even) (description "Generic connector, double row, 02x08, odd/even pin numbering scheme (row 1 odd numbers, row 2 even numbers), script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F8AC0C5))
    (comp (ref IC1)
      (value TPS560430X3FDBVR)
      (footprint Package_TO_SOT_SMD:SOT-23-6)
      (datasheet http://www.ti.com/lit/gpn/tps560430)
      (fields
        (field (name Description) "SIMPLE SWITCHER 36-V, 600-mA Buck Regulator With High-Efficiency Sleep Mode")
        (field (name Height) 1.45)
        (field (name Manufacturer_Name) "Texas Instruments")
        (field (name Manufacturer_Part_Number) TPS560430X3FDBVR)
        (field (name "Mouser2 Part Number") 595-TPS560430X3FDBVR)
        (field (name "Mouser2 Price/Stock") https://www.mouser.com/Search/Refine.aspx?Keyword=595-TPS560430X3FDBVR))
      (libsource (lib TPS560430X3FDBVR) (part TPS560430X3FDBVR) (description "SIMPLE SWITCHER 36-V, 600-mA Buck Regulator With High-Efficiency Sleep Mode"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F95A3D5))
    (comp (ref C10)
      (value 2.2u)
      (footprint Capacitor_SMD:C_1206_3216Metric)
      (datasheet ~)
      (libsource (lib Device) (part CP) (description "Polarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F9602B4))
    (comp (ref C9)
      (value 100n)
      (footprint Capacitor_SMD:C_1206_3216Metric)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F98274A))
    (comp (ref L1)
      (value 10uH)
      (footprint Inductor_SMD:L_Bourns-SRN8040_8x8.15mm)
      (datasheet ~)
      (libsource (lib Device) (part L) (description Inductor))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F9958DB))
    (comp (ref R11)
      (value 88.7k)
      (footprint Resistor_SMD:R_1206_3216Metric)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 5FA065BB))
    (comp (ref R12)
      (value 22.1k)
      (footprint Resistor_SMD:R_1206_3216Metric)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 5FA07EBD))
    (comp (ref C11)
      (value 22u)
      (footprint Capacitor_SMD:C_1206_3216Metric)
      (datasheet ~)
      (libsource (lib Device) (part CP) (description "Polarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5FA08C32))
    (comp (ref C5)
      (value 100n)
      (footprint Capacitor_SMD:C_1206_3216Metric)
      (datasheet ~)
      (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
      (sheetpath (names /) (tstamps /))
      (tstamp 5FAF4256))
    (comp (ref R14)
      (value 0)
      (footprint Resistor_SMD:R_1206_3216Metric)
      (datasheet ~)
      (libsource (lib Device) (part R) (description Resistor))
      (sheetpath (names /) (tstamps /))
      (tstamp 5F5724DF)))
  (libparts
    (libpart (lib Comparator) (part LM339)
      (aliases
        (alias LMV339))
      (description "Quad Differential Comparators, SOIC-14/TSSOP-14")
      (docs https://www.st.com/resource/en/datasheet/lm139.pdf)
      (footprints
        (fp SOIC*3.9x8.7mm*P1.27mm*)
        (fp TSSOP*4.4x5mm*P0.65mm*))
      (fields
        (field (name Reference) U)
        (field (name Value) LM339))
      (pins
        (pin (num 1) (name ~) (type openCol))
        (pin (num 2) (name ~) (type openCol))
        (pin (num 3) (name V+) (type power_in))
        (pin (num 4) (name -) (type input))
        (pin (num 5) (name +) (type input))
        (pin (num 6) (name -) (type input))
        (pin (num 7) (name +) (type input))
        (pin (num 8) (name -) (type input))
        (pin (num 9) (name +) (type input))
        (pin (num 10) (name -) (type input))
        (pin (num 11) (name +) (type input))
        (pin (num 12) (name V-) (type power_in))
        (pin (num 13) (name ~) (type openCol))
        (pin (num 14) (name ~) (type openCol))))
    (libpart (lib Connector) (part USB_B)
      (description "USB Type B connector")
      (docs " ~")
      (footprints
        (fp USB*))
      (fields
        (field (name Reference) J)
        (field (name Value) USB_B))
      (pins
        (pin (num 1) (name VBUS) (type power_out))
        (pin (num 2) (name D-) (type passive))
        (pin (num 3) (name D+) (type passive))
        (pin (num 4) (name GND) (type power_out))
        (pin (num 5) (name Shield) (type passive))))
    (libpart (lib Connector_Generic) (part Conn_01x12)
      (description "Generic connector, single row, 01x12, script generated (kicad-library-utils/schlib/autogen/connector/)")
      (docs ~)
      (footprints
        (fp Connector*:*_1x??_*))
      (fields
        (field (name Reference) J)
        (field (name Value) Conn_01x12))
      (pins
        (pin (num 1) (name Pin_1) (type passive))
        (pin (num 2) (name Pin_2) (type passive))
        (pin (num 3) (name Pin_3) (type passive))
        (pin (num 4) (name Pin_4) (type passive))
        (pin (num 5) (name Pin_5) (type passive))
        (pin (num 6) (name Pin_6) (type passive))
        (pin (num 7) (name Pin_7) (type passive))
        (pin (num 8) (name Pin_8) (type passive))
        (pin (num 9) (name Pin_9) (type passive))
        (pin (num 10) (name Pin_10) (type passive))
        (pin (num 11) (name Pin_11) (type passive))
        (pin (num 12) (name Pin_12) (type passive))))
    (libpart (lib Connector_Generic) (part Conn_02x08_Odd_Even)
      (description "Generic connector, double row, 02x08, odd/even pin numbering scheme (row 1 odd numbers, row 2 even numbers), script generated (kicad-library-utils/schlib/autogen/connector/)")
      (docs ~)
      (footprints
        (fp Connector*:*_2x??_*))
      (fields
        (field (name Reference) J)
        (field (name Value) Conn_02x08_Odd_Even))
      (pins
        (pin (num 1) (name Pin_1) (type passive))
        (pin (num 2) (name Pin_2) (type passive))
        (pin (num 3) (name Pin_3) (type passive))
        (pin (num 4) (name Pin_4) (type passive))
        (pin (num 5) (name Pin_5) (type passive))
        (pin (num 6) (name Pin_6) (type passive))
        (pin (num 7) (name Pin_7) (type passive))
        (pin (num 8) (name Pin_8) (type passive))
        (pin (num 9) (name Pin_9) (type passive))
        (pin (num 10) (name Pin_10) (type passive))
        (pin (num 11) (name Pin_11) (type passive))
        (pin (num 12) (name Pin_12) (type passive))
        (pin (num 13) (name Pin_13) (type passive))
        (pin (num 14) (name Pin_14) (type passive))
        (pin (num 15) (name Pin_15) (type passive))
        (pin (num 16) (name Pin_16) (type passive))))
    (libpart (lib Device) (part C)
      (description "Unpolarized capacitor")
      (docs ~)
      (footprints
        (fp C_*))
      (fields
        (field (name Reference) C)
        (field (name Value) C))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib Device) (part CP)
      (description "Polarized capacitor")
      (docs ~)
      (footprints
        (fp CP_*))
      (fields
        (field (name Reference) C)
        (field (name Value) CP))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib Device) (part L)
      (description Inductor)
      (docs ~)
      (footprints
        (fp Choke_*)
        (fp *Coil*)
        (fp Inductor_*)
        (fp L_*))
      (fields
        (field (name Reference) L)
        (field (name Value) L))
      (pins
        (pin (num 1) (name 1) (type passive))
        (pin (num 2) (name 2) (type passive))))
    (libpart (lib Device) (part R)
      (description Resistor)
      (docs ~)
      (footprints
        (fp R_*))
      (fields
        (field (name Reference) R)
        (field (name Value) R))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib Device) (part Rotary_Encoder)
      (description "Rotary encoder, dual channel, incremental quadrate outputs")
      (docs ~)
      (footprints
        (fp RotaryEncoder*))
      (fields
        (field (name Reference) SW)
        (field (name Value) Rotary_Encoder))
      (pins
        (pin (num A) (name A) (type passive))
        (pin (num B) (name B) (type passive))
        (pin (num C) (name C) (type passive))))
    (libpart (lib Diode) (part BZX84Cxx)
      (description "300mW Zener Diode, SOT-23")
      (docs https://diotec.com/tl_files/diotec/files/pdf/datasheets/bzx84c2v4.pdf)
      (footprints
        (fp D*SOT?23*ANK*))
      (fields
        (field (name Reference) D)
        (field (name Value) BZX84Cxx)
        (field (name Footprint) Diode_SMD:D_SOT-23_ANK))
      (pins
        (pin (num 1) (name K) (type passive))
        (pin (num 2) (name A) (type passive))))
    (libpart (lib MCU_ST_STM32F3) (part STM32F303RDTx)
      (aliases
        (alias STM32F303RETx))
      (description "ARM Cortex-M4 MCU, 384KB flash, 64KB RAM, 72MHz, 2-3.6V, 51 GPIO, LQFP-64")
      (docs http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00118585.pdf)
      (footprints
        (fp LQFP*10x10mm*P0.5mm*))
      (fields
        (field (name Reference) U)
        (field (name Value) STM32F303RDTx)
        (field (name Footprint) Package_QFP:LQFP-64_10x10mm_P0.5mm))
      (pins
        (pin (num 1) (name VBAT) (type power_in))
        (pin (num 2) (name PC13) (type BiDi))
        (pin (num 3) (name PC14) (type BiDi))
        (pin (num 4) (name PC15) (type BiDi))
        (pin (num 5) (name PF0) (type input))
        (pin (num 6) (name PF1) (type input))
        (pin (num 7) (name NRST) (type input))
        (pin (num 8) (name PC0) (type BiDi))
        (pin (num 9) (name PC1) (type BiDi))
        (pin (num 10) (name PC2) (type BiDi))
        (pin (num 11) (name PC3) (type BiDi))
        (pin (num 12) (name VSSA) (type power_in))
        (pin (num 13) (name VDDA) (type power_in))
        (pin (num 14) (name PA0) (type BiDi))
        (pin (num 15) (name PA1) (type BiDi))
        (pin (num 16) (name PA2) (type BiDi))
        (pin (num 17) (name PA3) (type BiDi))
        (pin (num 18) (name VSS) (type power_in))
        (pin (num 19) (name VDD) (type power_in))
        (pin (num 20) (name PA4) (type BiDi))
        (pin (num 21) (name PA5) (type BiDi))
        (pin (num 22) (name PA6) (type BiDi))
        (pin (num 23) (name PA7) (type BiDi))
        (pin (num 24) (name PC4) (type BiDi))
        (pin (num 25) (name PC5) (type BiDi))
        (pin (num 26) (name PB0) (type BiDi))
        (pin (num 27) (name PB1) (type BiDi))
        (pin (num 28) (name PB2) (type BiDi))
        (pin (num 29) (name PB10) (type BiDi))
        (pin (num 30) (name PB11) (type BiDi))
        (pin (num 31) (name VSS) (type power_in))
        (pin (num 32) (name VDD) (type power_in))
        (pin (num 33) (name PB12) (type BiDi))
        (pin (num 34) (name PB13) (type BiDi))
        (pin (num 35) (name PB14) (type BiDi))
        (pin (num 36) (name PB15) (type BiDi))
        (pin (num 37) (name PC6) (type BiDi))
        (pin (num 38) (name PC7) (type BiDi))
        (pin (num 39) (name PC8) (type BiDi))
        (pin (num 40) (name PC9) (type BiDi))
        (pin (num 41) (name PA8) (type BiDi))
        (pin (num 42) (name PA9) (type BiDi))
        (pin (num 43) (name PA10) (type BiDi))
        (pin (num 44) (name PA11) (type BiDi))
        (pin (num 45) (name PA12) (type BiDi))
        (pin (num 46) (name PA13) (type BiDi))
        (pin (num 47) (name VSS) (type power_in))
        (pin (num 48) (name VDD) (type power_in))
        (pin (num 49) (name PA14) (type BiDi))
        (pin (num 50) (name PA15) (type BiDi))
        (pin (num 51) (name PC10) (type BiDi))
        (pin (num 52) (name PC11) (type BiDi))
        (pin (num 53) (name PC12) (type BiDi))
        (pin (num 54) (name PD2) (type BiDi))
        (pin (num 55) (name PB3) (type BiDi))
        (pin (num 56) (name PB4) (type BiDi))
        (pin (num 57) (name PB5) (type BiDi))
        (pin (num 58) (name PB6) (type BiDi))
        (pin (num 59) (name PB7) (type BiDi))
        (pin (num 60) (name BOOT0) (type input))
        (pin (num 61) (name PB8) (type BiDi))
        (pin (num 62) (name PB9) (type BiDi))
        (pin (num 63) (name VSS) (type power_in))
        (pin (num 64) (name VDD) (type power_in))))
    (libpart (lib Switch) (part SW_Push_45deg)
      (description "Push button switch, normally open, two pins, 45° tilted")
      (docs ~)
      (fields
        (field (name Reference) SW)
        (field (name Value) SW_Push_45deg))
      (pins
        (pin (num 1) (name 1) (type passive))
        (pin (num 2) (name 2) (type passive))))
    (libpart (lib TPS560430X3FDBVR) (part TPS560430X3FDBVR)
      (description "SIMPLE SWITCHER 36-V, 600-mA Buck Regulator With High-Efficiency Sleep Mode")
      (docs http://www.ti.com/lit/gpn/tps560430)
      (fields
        (field (name Reference) IC)
        (field (name Value) TPS560430X3FDBVR)
        (field (name Footprint) SOT95P280X145-6N)
        (field (name Datasheet) http://www.ti.com/lit/gpn/tps560430)
        (field (name Description) "SIMPLE SWITCHER 36-V, 600-mA Buck Regulator With High-Efficiency Sleep Mode")
        (field (name Height) 1.45)
        (field (name "Mouser2 Part Number") 595-TPS560430X3FDBVR)
        (field (name "Mouser2 Price/Stock") https://www.mouser.com/Search/Refine.aspx?Keyword=595-TPS560430X3FDBVR)
        (field (name Manufacturer_Name) "Texas Instruments")
        (field (name Manufacturer_Part_Number) TPS560430X3FDBVR))
      (pins
        (pin (num 1) (name CB) (type passive))
        (pin (num 2) (name GND) (type passive))
        (pin (num 3) (name FB) (type passive))
        (pin (num 4) (name EN) (type passive))
        (pin (num 5) (name VIN) (type passive))
        (pin (num 6) (name SW) (type passive)))))
  (libraries
    (library (logical Comparator)
      (uri /usr/share/kicad/library/Comparator.lib))
    (library (logical Connector)
      (uri /usr/share/kicad/library/Connector.lib))
    (library (logical Connector_Generic)
      (uri /usr/share/kicad/library/Connector_Generic.lib))
    (library (logical Device)
      (uri /usr/share/kicad/library/Device.lib))
    (library (logical Diode)
      (uri /usr/share/kicad/library/Diode.lib))
    (library (logical MCU_ST_STM32F3)
      (uri /usr/share/kicad/library/MCU_ST_STM32F3.lib))
    (library (logical Switch)
      (uri /usr/share/kicad/library/Switch.lib))
    (library (logical TPS560430X3FDBVR)
      (uri /home/david/perso/elec/hp34970/lib/TPS560430X3FDBVR.lib)))
  (nets
    (net (code 1) (name /D+)
      (node (ref R10) (pin 2))
      (node (ref J2) (pin 3))
      (node (ref U2) (pin 45)))
    (net (code 2) (name /-18V_FP)
      (node (ref U1) (pin 12))
      (node (ref U2) (pin 18))
      (node (ref U2) (pin 31))
      (node (ref U2) (pin 47))
      (node (ref J3) (pin 10))
      (node (ref D1) (pin 2))
      (node (ref C12) (pin 2))
      (node (ref J3) (pin 11))
      (node (ref J3) (pin 12))
      (node (ref J3) (pin 13))
      (node (ref C10) (pin 2))
      (node (ref J3) (pin 7))
      (node (ref J3) (pin 8))
      (node (ref J3) (pin 9))
      (node (ref IC1) (pin 2))
      (node (ref C11) (pin 2))
      (node (ref R12) (pin 2))
      (node (ref J1) (pin 7))
      (node (ref C5) (pin 2))
      (node (ref U2) (pin 63))
      (node (ref C7) (pin 2))
      (node (ref C6) (pin 2))
      (node (ref C4) (pin 2))
      (node (ref U2) (pin 12))
      (node (ref J2) (pin 5))
      (node (ref R7) (pin 2))
      (node (ref J3) (pin 1))
      (node (ref C8) (pin 2))
      (node (ref J2) (pin 4))
      (node (ref C1) (pin 2))
      (node (ref C3) (pin 2))
      (node (ref C2) (pin 2)))
    (net (code 3) (name /D-)
      (node (ref J2) (pin 2))
      (node (ref U2) (pin 44)))
    (net (code 4) (name /VDD)
      (node (ref R9) (pin 1))
      (node (ref C5) (pin 1))
      (node (ref R5) (pin 1))
      (node (ref R6) (pin 1))
      (node (ref C4) (pin 1))
      (node (ref R8) (pin 1))
      (node (ref R10) (pin 1))
      (node (ref J3) (pin 2))
      (node (ref C7) (pin 1))
      (node (ref C6) (pin 1))
      (node (ref C1) (pin 1))
      (node (ref C3) (pin 1))
      (node (ref C2) (pin 1))
      (node (ref L1) (pin 2))
      (node (ref C11) (pin 1))
      (node (ref R11) (pin 1))
      (node (ref U2) (pin 13))
      (node (ref U2) (pin 64))
      (node (ref U2) (pin 48))
      (node (ref U2) (pin 32))
      (node (ref U2) (pin 19)))
    (net (code 5) (name "Net-(J2-Pad1)")
      (node (ref J2) (pin 1)))
    (net (code 6) (name /KP_C1)
      (node (ref SW5) (pin 1))
      (node (ref SW6) (pin 1))
      (node (ref U2) (pin 27))
      (node (ref SW8) (pin 1))
      (node (ref SW7) (pin 1)))
    (net (code 7) (name /KP_C2)
      (node (ref SW10) (pin 1))
      (node (ref SW12) (pin 1))
      (node (ref SW11) (pin 1))
      (node (ref SW9) (pin 1))
      (node (ref U2) (pin 28)))
    (net (code 8) (name /KP_C3)
      (node (ref U2) (pin 55))
      (node (ref SW16) (pin 1))
      (node (ref SW15) (pin 1))
      (node (ref SW14) (pin 1))
      (node (ref SW13) (pin 1)))
    (net (code 9) (name /KP_C4)
      (node (ref SW17) (pin 1))
      (node (ref SW18) (pin 1))
      (node (ref U2) (pin 56)))
    (net (code 10) (name /KP_R0)
      (node (ref SW18) (pin 2))
      (node (ref SW16) (pin 2))
      (node (ref SW4) (pin 2))
      (node (ref SW8) (pin 2))
      (node (ref SW12) (pin 2))
      (node (ref U2) (pin 57)))
    (net (code 11) (name /KP_R1)
      (node (ref SW15) (pin 2))
      (node (ref SW17) (pin 2))
      (node (ref U2) (pin 58))
      (node (ref SW7) (pin 2))
      (node (ref SW3) (pin 2))
      (node (ref SW11) (pin 2)))
    (net (code 12) (name /KP_R2)
      (node (ref U2) (pin 59))
      (node (ref SW6) (pin 2))
      (node (ref SW14) (pin 2))
      (node (ref SW2) (pin 2))
      (node (ref SW10) (pin 2)))
    (net (code 13) (name /KP_R3)
      (node (ref SW9) (pin 2))
      (node (ref SW13) (pin 2))
      (node (ref SW1) (pin 2))
      (node (ref SW5) (pin 2))
      (node (ref U2) (pin 61)))
    (net (code 14) (name /KP_C0)
      (node (ref SW2) (pin 1))
      (node (ref SW3) (pin 1))
      (node (ref U2) (pin 26))
      (node (ref SW1) (pin 1))
      (node (ref SW4) (pin 1)))
    (net (code 15) (name /RXD)
      (node (ref U1) (pin 13))
      (node (ref U2) (pin 25))
      (node (ref R8) (pin 2)))
    (net (code 16) (name /TXD)
      (node (ref U2) (pin 24))
      (node (ref U1) (pin 9)))
    (net (code 17) (name /RST)
      (node (ref C8) (pin 1))
      (node (ref U2) (pin 7))
      (node (ref U1) (pin 2))
      (node (ref R9) (pin 2)))
    (net (code 18) (name /RE_A)
      (node (ref SW19) (pin A))
      (node (ref U2) (pin 8)))
    (net (code 19) (name /RE_B)
      (node (ref SW19) (pin B))
      (node (ref U2) (pin 9)))
    (net (code 20) (name "Net-(U2-Pad41)")
      (node (ref U2) (pin 41)))
    (net (code 21) (name "Net-(U2-Pad46)")
      (node (ref U2) (pin 46)))
    (net (code 22) (name "Net-(U2-Pad49)")
      (node (ref U2) (pin 49)))
    (net (code 23) (name "Net-(U2-Pad50)")
      (node (ref U2) (pin 50)))
    (net (code 24) (name /DSP_SCLK)
      (node (ref U2) (pin 21))
      (node (ref J3) (pin 4)))
    (net (code 25) (name /MISO)
      (node (ref U2) (pin 22)))
    (net (code 26) (name /DSP_DI)
      (node (ref J3) (pin 5))
      (node (ref U2) (pin 23)))
    (net (code 27) (name "Net-(U2-Pad42)")
      (node (ref U2) (pin 42)))
    (net (code 28) (name "Net-(U2-Pad29)")
      (node (ref U2) (pin 29)))
    (net (code 29) (name "Net-(U2-Pad30)")
      (node (ref U2) (pin 30)))
    (net (code 30) (name "Net-(U2-Pad33)")
      (node (ref U2) (pin 33)))
    (net (code 31) (name "Net-(U2-Pad34)")
      (node (ref U2) (pin 34)))
    (net (code 32) (name "Net-(U2-Pad35)")
      (node (ref U2) (pin 35)))
    (net (code 33) (name "Net-(U2-Pad36)")
      (node (ref U2) (pin 36)))
    (net (code 34) (name "Net-(U2-Pad60)")
      (node (ref U2) (pin 60)))
    (net (code 35) (name "Net-(U2-Pad14)")
      (node (ref U2) (pin 14)))
    (net (code 36) (name "Net-(U2-Pad15)")
      (node (ref U2) (pin 15)))
    (net (code 37) (name "Net-(U2-Pad43)")
      (node (ref U2) (pin 43)))
    (net (code 38) (name "Net-(U2-Pad1)")
      (node (ref U2) (pin 1)))
    (net (code 39) (name "Net-(U2-Pad37)")
      (node (ref U2) (pin 37)))
    (net (code 40) (name "Net-(U2-Pad38)")
      (node (ref U2) (pin 38)))
    (net (code 41) (name "Net-(U2-Pad39)")
      (node (ref U2) (pin 39)))
    (net (code 42) (name "Net-(U2-Pad40)")
      (node (ref U2) (pin 40)))
    (net (code 43) (name "Net-(U2-Pad54)")
      (node (ref U2) (pin 54)))
    (net (code 44) (name "Net-(U2-Pad5)")
      (node (ref U2) (pin 5)))
    (net (code 45) (name "Net-(U2-Pad6)")
      (node (ref U2) (pin 6)))
    (net (code 46) (name "Net-(U2-Pad11)")
      (node (ref U2) (pin 11)))
    (net (code 47) (name "Net-(U2-Pad62)")
      (node (ref U2) (pin 62)))
    (net (code 48) (name "Net-(U2-Pad51)")
      (node (ref U2) (pin 51)))
    (net (code 49) (name "Net-(U2-Pad52)")
      (node (ref U2) (pin 52)))
    (net (code 50) (name "Net-(U2-Pad53)")
      (node (ref U2) (pin 53)))
    (net (code 51) (name "Net-(U2-Pad2)")
      (node (ref U2) (pin 2)))
    (net (code 52) (name "Net-(U2-Pad3)")
      (node (ref U2) (pin 3)))
    (net (code 53) (name "Net-(U2-Pad4)")
      (node (ref U2) (pin 4)))
    (net (code 54) (name "Net-(U2-Pad10)")
      (node (ref U2) (pin 10)))
    (net (code 55) (name "Net-(IC1-Pad3)")
      (node (ref R11) (pin 2))
      (node (ref R12) (pin 1))
      (node (ref IC1) (pin 3)))
    (net (code 56) (name "Net-(IC1-Pad5)")
      (node (ref IC1) (pin 5))
      (node (ref R14) (pin 1)))
    (net (code 57) (name "Net-(J3-Pad6)")
      (node (ref J3) (pin 6)))
    (net (code 58) (name /DSP_DC)
      (node (ref J3) (pin 14))
      (node (ref U2) (pin 20)))
    (net (code 59) (name /\DSP_RST)
      (node (ref U2) (pin 17))
      (node (ref J3) (pin 15)))
    (net (code 60) (name /DSP_CS)
      (node (ref U2) (pin 16))
      (node (ref J3) (pin 16)))
    (net (code 61) (name "Net-(J3-Pad3)")
      (node (ref J3) (pin 3)))
    (net (code 62) (name "Net-(C9-Pad1)")
      (node (ref L1) (pin 1))
      (node (ref C9) (pin 1))
      (node (ref IC1) (pin 6)))
    (net (code 63) (name "Net-(C9-Pad2)")
      (node (ref IC1) (pin 1))
      (node (ref C9) (pin 2)))
    (net (code 64) (name /GND_FLT)
      (node (ref R14) (pin 2))
      (node (ref J1) (pin 9))
      (node (ref SW20) (pin 2))
      (node (ref IC1) (pin 4))
      (node (ref C10) (pin 1))
      (node (ref J1) (pin 4))
      (node (ref J1) (pin 1))
      (node (ref SW19) (pin C)))
    (net (code 65) (name /+18V_FLT)
      (node (ref J1) (pin 3))
      (node (ref R13) (pin 1)))
    (net (code 66) (name /FPSTBY)
      (node (ref SW20) (pin 1))
      (node (ref J1) (pin 10)))
    (net (code 67) (name /FIL1)
      (node (ref J1) (pin 11)))
    (net (code 68) (name /FPREF)
      (node (ref R2) (pin 2))
      (node (ref J1) (pin 12)))
    (net (code 69) (name /BFPDI)
      (node (ref J1) (pin 2))
      (node (ref R1) (pin 2)))
    (net (code 70) (name /FIL2)
      (node (ref J1) (pin 5)))
    (net (code 71) (name /BFPDO)
      (node (ref R4) (pin 2))
      (node (ref J1) (pin 6)))
    (net (code 72) (name /BFPRST)
      (node (ref J1) (pin 8))
      (node (ref R3) (pin 2)))
    (net (code 73) (name "Net-(R1-Pad1)")
      (node (ref R1) (pin 1))
      (node (ref U1) (pin 14)))
    (net (code 74) (name /+6V_FP)
      (node (ref R13) (pin 2))
      (node (ref U1) (pin 3))
      (node (ref C12) (pin 1))
      (node (ref D1) (pin 1)))
    (net (code 75) (name "Net-(R5-Pad2)")
      (node (ref R5) (pin 2))
      (node (ref U1) (pin 4))
      (node (ref U1) (pin 1)))
    (net (code 76) (name "Net-(R2-Pad1)")
      (node (ref R2) (pin 1))
      (node (ref U1) (pin 7))
      (node (ref U1) (pin 10)))
    (net (code 77) (name "Net-(R6-Pad2)")
      (node (ref R6) (pin 2))
      (node (ref U1) (pin 5))
      (node (ref U1) (pin 8))
      (node (ref R7) (pin 1)))
    (net (code 78) (name "Net-(R3-Pad1)")
      (node (ref U1) (pin 6))
      (node (ref R3) (pin 1)))
    (net (code 79) (name "Net-(R4-Pad1)")
      (node (ref U1) (pin 11))
      (node (ref R4) (pin 1)))))

mercurial