← Commit history

stm8s103f3p3tr: symbol repaired (body fitted to the names)

Ray ·f2e7d2d87f · ·parent a941342
2 files changed +57−48
stm8s103f3p3tr.kicad_sym+21−21
@@ -4,87 +4,87 @@     (property "Value" "STM8S103F3P3TR" (at 0 -17.78 0) (effects (font (size 1.27 1.27))))     (property "Footprint" "" (at 0 0 0) (effects (font (size 1.27 1.27)) hide))     (symbol "STM8S103F3P3TR_0_1"-    (rectangle (start -12.70 12.70) (end 12.70 -15.24)+    (rectangle (start -33.02 12.70) (end 33.02 -15.24)       (stroke (width 0.254) (type default)) (fill (type background)))     )     (symbol "STM8S103F3P3TR_1_1"-    (pin bidirectional line (at -17.78 10.16 0) (length 5.08)+    (pin bidirectional line (at -38.10 10.16 0) (length 5.08)       (name "PD4/BEEP/TIM2_CH1/UART1_CK" (effects (font (size 1.27 1.27))))       (number "1" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at -17.78 7.62 0) (length 5.08)+    (pin bidirectional line (at -38.10 7.62 0) (length 5.08)       (name "PD5/AIN5/UART1_TX" (effects (font (size 1.27 1.27))))       (number "2" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at -17.78 5.08 0) (length 5.08)+    (pin bidirectional line (at -38.10 5.08 0) (length 5.08)       (name "PD6/AIN6/UART1_RX" (effects (font (size 1.27 1.27))))       (number "3" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at -17.78 2.54 0) (length 5.08)+    (pin bidirectional line (at -38.10 2.54 0) (length 5.08)       (name "NRST" (effects (font (size 1.27 1.27))))       (number "4" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at -17.78 0.00 0) (length 5.08)+    (pin bidirectional line (at -38.10 0.00 0) (length 5.08)       (name "PA1/OSCIN" (effects (font (size 1.27 1.27))))       (number "5" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at -17.78 -2.54 0) (length 5.08)+    (pin bidirectional line (at -38.10 -2.54 0) (length 5.08)       (name "PA2/OSCOUT" (effects (font (size 1.27 1.27))))       (number "6" (effects (font (size 1.27 1.27))))     )-    (pin power_in line (at -17.78 -5.08 0) (length 5.08)+    (pin power_in line (at -38.10 -5.08 0) (length 5.08)       (name "VSS" (effects (font (size 1.27 1.27))))       (number "7" (effects (font (size 1.27 1.27))))     )-    (pin passive line (at -17.78 -7.62 0) (length 5.08)+    (pin passive line (at -38.10 -7.62 0) (length 5.08)       (name "VCAP" (effects (font (size 1.27 1.27))))       (number "8" (effects (font (size 1.27 1.27))))     )-    (pin power_in line (at -17.78 -10.16 0) (length 5.08)+    (pin power_in line (at -38.10 -10.16 0) (length 5.08)       (name "VDD" (effects (font (size 1.27 1.27))))       (number "9" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at -17.78 -12.70 0) (length 5.08)+    (pin bidirectional line (at -38.10 -12.70 0) (length 5.08)       (name "PA3/TIM2_CH3 [SPI_NSS]" (effects (font (size 1.27 1.27))))       (number "10" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at 17.78 10.16 180) (length 5.08)+    (pin bidirectional line (at 38.10 10.16 180) (length 5.08)       (name "PD3/AIN4/TIM2_CH2/ADC_ETR" (effects (font (size 1.27 1.27))))       (number "20" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at 17.78 7.62 180) (length 5.08)+    (pin bidirectional line (at 38.10 7.62 180) (length 5.08)       (name "PD2/AIN3 [TIM2_CH3]" (effects (font (size 1.27 1.27))))       (number "19" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at 17.78 5.08 180) (length 5.08)+    (pin bidirectional line (at 38.10 5.08 180) (length 5.08)       (name "PD1/SWIM" (effects (font (size 1.27 1.27))))       (number "18" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at 17.78 2.54 180) (length 5.08)+    (pin bidirectional line (at 38.10 2.54 180) (length 5.08)       (name "PC7/SPI_MISO [TIM1_CH2]" (effects (font (size 1.27 1.27))))       (number "17" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at 17.78 0.00 180) (length 5.08)+    (pin bidirectional line (at 38.10 0.00 180) (length 5.08)       (name "PC6/SPI_MOSI [TIM1_CH1]" (effects (font (size 1.27 1.27))))       (number "16" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at 17.78 -2.54 180) (length 5.08)+    (pin bidirectional line (at 38.10 -2.54 180) (length 5.08)       (name "PC5/SPI_SCK [TIM2_CH1]" (effects (font (size 1.27 1.27))))       (number "15" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at 17.78 -5.08 180) (length 5.08)+    (pin bidirectional line (at 38.10 -5.08 180) (length 5.08)       (name "PC4/CLK_CCO/TIM1_CH4/AIN2 [TIM1_CH2N]" (effects (font (size 1.27 1.27))))       (number "14" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at 17.78 -7.62 180) (length 5.08)+    (pin bidirectional line (at 38.10 -7.62 180) (length 5.08)       (name "PC3/TIM1_CH3 [TLI] [TIM1_CH1N]" (effects (font (size 1.27 1.27))))       (number "13" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at 17.78 -10.16 180) (length 5.08)+    (pin bidirectional line (at 38.10 -10.16 180) (length 5.08)       (name "PB4/I2C_SCL" (effects (font (size 1.27 1.27))))       (number "12" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at 17.78 -12.70 180) (length 5.08)+    (pin bidirectional line (at 38.10 -12.70 180) (length 5.08)       (name "PB5/I2C_SDA [TIM1_BKIN]" (effects (font (size 1.27 1.27))))       (number "11" (effects (font (size 1.27 1.27))))     )
stm8s103f3p3tr.lbr+36−27
@@ -50,7 +50,7 @@ <layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/> </layers> <library>-<description></description>+<description>STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout cross-checked by two models against the datasheet</description> <packages> <package name="TSSOP-20_4.4x6.5mm_P0.65mm">   <description>TSSOP-20, 4.4 x 6.5 mm, 0.65 mm pitch</description>@@ -94,37 +94,38 @@ </packages> <symbols> <symbol name="STM8S103F3P3TR">-  <wire x1="-12.7" y1="12.7" x2="12.7" y2="12.7" width="0.254" layer="94"/>-  <wire x1="12.7" y1="12.7" x2="12.7" y2="-15.24" width="0.254" layer="94"/>-  <wire x1="12.7" y1="-15.24" x2="-12.7" y2="-15.24" width="0.254" layer="94"/>-  <wire x1="-12.7" y1="-15.24" x2="-12.7" y2="12.7" width="0.254" layer="94"/>+  <description>STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout cross-checked by two models against the datasheet</description>+  <wire x1="-33.02" y1="12.7" x2="33.02" y2="12.7" width="0.254" layer="94"/>+  <wire x1="33.02" y1="12.7" x2="33.02" y2="-15.24" width="0.254" layer="94"/>+  <wire x1="33.02" y1="-15.24" x2="-33.02" y2="-15.24" width="0.254" layer="94"/>+  <wire x1="-33.02" y1="-15.24" x2="-33.02" y2="12.7" width="0.254" layer="94"/>   <text x="0.0000" y="15.2400" size="1.27" layer="95" align="center">&gt;NAME</text>   <text x="0.0000" y="-17.7800" size="1.27" layer="96" align="center">&gt;VALUE</text>-  <pin name="PD4/BEEP/TIM2_CH1/UART1_CK" x="-17.78" y="10.16" length="middle" direction="io"/>-  <pin name="PD5/AIN5/UART1_TX" x="-17.78" y="7.62" length="middle" direction="io"/>-  <pin name="PD6/AIN6/UART1_RX" x="-17.78" y="5.08" length="middle" direction="io"/>-  <pin name="NRST" x="-17.78" y="2.54" length="middle" direction="io"/>-  <pin name="PA1/OSCIN" x="-17.78" y="0" length="middle" direction="io"/>-  <pin name="PA2/OSCOUT" x="-17.78" y="-2.54" length="middle" direction="io"/>-  <pin name="VSS" x="-17.78" y="-5.08" length="middle" direction="pwr"/>-  <pin name="VCAP" x="-17.78" y="-7.62" length="middle" direction="pas"/>-  <pin name="VDD" x="-17.78" y="-10.16" length="middle" direction="pwr"/>-  <pin name="PA3/TIM2_CH3_SPI_NSS" x="-17.78" y="-12.7" length="middle" direction="io"/>-  <pin name="PD3/AIN4/TIM2_CH2/ADC_ETR" x="17.78" y="10.16" length="middle" direction="io" rot="R180"/>-  <pin name="PD2/AIN3_TIM2_CH3" x="17.78" y="7.62" length="middle" direction="io" rot="R180"/>-  <pin name="PD1/SWIM" x="17.78" y="5.08" length="middle" direction="io" rot="R180"/>-  <pin name="PC7/SPI_MISO_TIM1_CH2" x="17.78" y="2.54" length="middle" direction="io" rot="R180"/>-  <pin name="PC6/SPI_MOSI_TIM1_CH1" x="17.78" y="0" length="middle" direction="io" rot="R180"/>-  <pin name="PC5/SPI_SCK_TIM2_CH1" x="17.78" y="-2.54" length="middle" direction="io" rot="R180"/>-  <pin name="PC4/CLK_CCO/TIM1_CH4/AIN2_TIM1_CH2N" x="17.78" y="-5.08" length="middle" direction="io" rot="R180"/>-  <pin name="PC3/TIM1_CH3_TLI_TIM1_CH1N" x="17.78" y="-7.62" length="middle" direction="io" rot="R180"/>-  <pin name="PB4/I2C_SCL" x="17.78" y="-10.16" length="middle" direction="io" rot="R180"/>-  <pin name="PB5/I2C_SDA_TIM1_BKIN" x="17.78" y="-12.7" length="middle" direction="io" rot="R180"/>+  <pin name="PD4/BEEP/TIM2_CH1/UART1_CK" x="-38.1" y="10.16" length="middle" direction="io"/>+  <pin name="PD5/AIN5/UART1_TX" x="-38.1" y="7.62" length="middle" direction="io"/>+  <pin name="PD6/AIN6/UART1_RX" x="-38.1" y="5.08" length="middle" direction="io"/>+  <pin name="NRST" x="-38.1" y="2.54" length="middle" direction="io"/>+  <pin name="PA1/OSCIN" x="-38.1" y="0" length="middle" direction="io"/>+  <pin name="PA2/OSCOUT" x="-38.1" y="-2.54" length="middle" direction="io"/>+  <pin name="VSS" x="-38.1" y="-5.08" length="middle" direction="pwr"/>+  <pin name="VCAP" x="-38.1" y="-7.62" length="middle" direction="pas"/>+  <pin name="VDD" x="-38.1" y="-10.16" length="middle" direction="pwr"/>+  <pin name="PA3/TIM2_CH3_SPI_NSS" x="-38.1" y="-12.7" length="middle" direction="io"/>+  <pin name="PD3/AIN4/TIM2_CH2/ADC_ETR" x="38.1" y="10.16" length="middle" direction="io" rot="R180"/>+  <pin name="PD2/AIN3_TIM2_CH3" x="38.1" y="7.62" length="middle" direction="io" rot="R180"/>+  <pin name="PD1/SWIM" x="38.1" y="5.08" length="middle" direction="io" rot="R180"/>+  <pin name="PC7/SPI_MISO_TIM1_CH2" x="38.1" y="2.54" length="middle" direction="io" rot="R180"/>+  <pin name="PC6/SPI_MOSI_TIM1_CH1" x="38.1" y="0" length="middle" direction="io" rot="R180"/>+  <pin name="PC5/SPI_SCK_TIM2_CH1" x="38.1" y="-2.54" length="middle" direction="io" rot="R180"/>+  <pin name="PC4/CLK_CCO/TIM1_CH4/AIN2_TIM1_CH2N" x="38.1" y="-5.08" length="middle" direction="io" rot="R180"/>+  <pin name="PC3/TIM1_CH3_TLI_TIM1_CH1N" x="38.1" y="-7.62" length="middle" direction="io" rot="R180"/>+  <pin name="PB4/I2C_SCL" x="38.1" y="-10.16" length="middle" direction="io" rot="R180"/>+  <pin name="PB5/I2C_SDA_TIM1_BKIN" x="38.1" y="-12.7" length="middle" direction="io" rot="R180"/> </symbol> </symbols> <devicesets> <deviceset name="STM8S103F3P3TR" prefix="U">-  <description></description>+  <description>STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout cross-checked by two models against the datasheet</description>   <gates>     <gate name="G$1" symbol="STM8S103F3P3TR" x="0" y="0"/>   </gates>@@ -152,7 +153,15 @@         <connect gate="G$1" pin="PB4/I2C_SCL" pad="12"/>         <connect gate="G$1" pin="PB5/I2C_SDA_TIM1_BKIN" pad="11"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="STM8S103F3P3TR" constant="no"/>+          <attribute name="MANUFACTURER" value="STMicroelectronics" constant="no"/>+          <attribute name="DATASHEET" value="https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588941605310619648" constant="no"/>+          <attribute name="ADOM_WIKI" value="https://wiki.adom.inc/adom/stm8s103f3p3tr" constant="no"/>+          <attribute name="LCSC_PN" value="C2053135" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>