← Commit history

atmega168pa-mu: symbol repaired (body fitted to the names)

Ray ·36160c506b ·9h ago ·parent 337200d
2 files changed +85−74
atmega168pa-mu.kicad_sym+34−34
@@ -4,139 +4,139 @@     (property "Value" "ATMEGA168PA-MU" (at 0 -25.40 0) (effects (font (size 1.27 1.27))))     (property "Footprint" "" (at 0 0 0) (effects (font (size 1.27 1.27)) hide))     (symbol "ATMEGA168PA-MU_0_1"-    (rectangle (start -12.70 22.86) (end 12.70 -22.86)+    (rectangle (start -27.94 22.86) (end 27.94 -22.86)       (stroke (width 0.254) (type default)) (fill (type background)))     )     (symbol "ATMEGA168PA-MU_1_1"-    (pin bidirectional line (at -17.78 20.32 0) (length 5.08)+    (pin bidirectional line (at -33.02 20.32 0) (length 5.08)       (name "PD3/INT1/OC2B/PCINT19" (effects (font (size 1.27 1.27))))       (number "1" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at -17.78 17.78 0) (length 5.08)+    (pin bidirectional line (at -33.02 17.78 0) (length 5.08)       (name "PD4/XCK/T0/PCINT20" (effects (font (size 1.27 1.27))))       (number "2" (effects (font (size 1.27 1.27))))     )-    (pin power_in line (at -17.78 15.24 0) (length 5.08)+    (pin power_in line (at -33.02 15.24 0) (length 5.08)       (name "GND" (effects (font (size 1.27 1.27))))       (number "3" (effects (font (size 1.27 1.27))))     )-    (pin power_in line (at -17.78 12.70 0) (length 5.08)+    (pin power_in line (at -33.02 12.70 0) (length 5.08)       (name "VCC" (effects (font (size 1.27 1.27))))       (number "4" (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 -33.02 10.16 0) (length 5.08)       (name "GND" (effects (font (size 1.27 1.27))))       (number "5" (effects (font (size 1.27 1.27))))     )-    (pin power_in line (at -17.78 7.62 0) (length 5.08)+    (pin power_in line (at -33.02 7.62 0) (length 5.08)       (name "VCC" (effects (font (size 1.27 1.27))))       (number "6" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at -17.78 5.08 0) (length 5.08)+    (pin bidirectional line (at -33.02 5.08 0) (length 5.08)       (name "PB6/XTAL1/TOSC1/PCINT6" (effects (font (size 1.27 1.27))))       (number "7" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at -17.78 2.54 0) (length 5.08)+    (pin bidirectional line (at -33.02 2.54 0) (length 5.08)       (name "PB7/XTAL2/TOSC2/PCINT7" (effects (font (size 1.27 1.27))))       (number "8" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at -17.78 0.00 0) (length 5.08)+    (pin bidirectional line (at -33.02 0.00 0) (length 5.08)       (name "PD5/T1/OC0B/PCINT21" (effects (font (size 1.27 1.27))))       (number "9" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at -17.78 -2.54 0) (length 5.08)+    (pin bidirectional line (at -33.02 -2.54 0) (length 5.08)       (name "PD6/AIN0/OC0A/PCINT22" (effects (font (size 1.27 1.27))))       (number "10" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at -17.78 -5.08 0) (length 5.08)+    (pin bidirectional line (at -33.02 -5.08 0) (length 5.08)       (name "PD7/AIN1/PCINT23" (effects (font (size 1.27 1.27))))       (number "11" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at -17.78 -7.62 0) (length 5.08)+    (pin bidirectional line (at -33.02 -7.62 0) (length 5.08)       (name "PB0/ICP1/CLKO/PCINT0" (effects (font (size 1.27 1.27))))       (number "12" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at -17.78 -10.16 0) (length 5.08)+    (pin bidirectional line (at -33.02 -10.16 0) (length 5.08)       (name "PB1/OC1A/PCINT1" (effects (font (size 1.27 1.27))))       (number "13" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at -17.78 -12.70 0) (length 5.08)+    (pin bidirectional line (at -33.02 -12.70 0) (length 5.08)       (name "PB2/SS/OC1B/PCINT2" (effects (font (size 1.27 1.27))))       (number "14" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at -17.78 -15.24 0) (length 5.08)+    (pin bidirectional line (at -33.02 -15.24 0) (length 5.08)       (name "PB3/MOSI/OC2A/PCINT3" (effects (font (size 1.27 1.27))))       (number "15" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at -17.78 -17.78 0) (length 5.08)+    (pin bidirectional line (at -33.02 -17.78 0) (length 5.08)       (name "PB4/MISO/PCINT4" (effects (font (size 1.27 1.27))))       (number "16" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at -17.78 -20.32 0) (length 5.08)+    (pin bidirectional line (at -33.02 -20.32 0) (length 5.08)       (name "PB5/SCK/PCINT5" (effects (font (size 1.27 1.27))))       (number "17" (effects (font (size 1.27 1.27))))     )-    (pin passive line (at 17.78 17.78 180) (length 5.08)+    (pin passive line (at 33.02 17.78 180) (length 5.08)       (name "EP" (effects (font (size 1.27 1.27))))       (number "33" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at 17.78 15.24 180) (length 5.08)+    (pin bidirectional line (at 33.02 15.24 180) (length 5.08)       (name "PD2/INT0/PCINT18" (effects (font (size 1.27 1.27))))       (number "32" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at 17.78 12.70 180) (length 5.08)+    (pin bidirectional line (at 33.02 12.70 180) (length 5.08)       (name "PD1/TXD/PCINT17" (effects (font (size 1.27 1.27))))       (number "31" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at 17.78 10.16 180) (length 5.08)+    (pin bidirectional line (at 33.02 10.16 180) (length 5.08)       (name "PD0/RXD/PCINT16" (effects (font (size 1.27 1.27))))       (number "30" (effects (font (size 1.27 1.27))))     )-    (pin input line (at 17.78 7.62 180) (length 5.08)+    (pin input line (at 33.02 7.62 180) (length 5.08)       (name "PC6/RESET/PCINT14" (effects (font (size 1.27 1.27))))       (number "29" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at 17.78 5.08 180) (length 5.08)+    (pin bidirectional line (at 33.02 5.08 180) (length 5.08)       (name "PC5/ADC5/SCL/PCINT13" (effects (font (size 1.27 1.27))))       (number "28" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at 17.78 2.54 180) (length 5.08)+    (pin bidirectional line (at 33.02 2.54 180) (length 5.08)       (name "PC4/ADC4/SDA/PCINT12" (effects (font (size 1.27 1.27))))       (number "27" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at 17.78 0.00 180) (length 5.08)+    (pin bidirectional line (at 33.02 0.00 180) (length 5.08)       (name "PC3/ADC3/PCINT11" (effects (font (size 1.27 1.27))))       (number "26" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at 17.78 -2.54 180) (length 5.08)+    (pin bidirectional line (at 33.02 -2.54 180) (length 5.08)       (name "PC2/ADC2/PCINT10" (effects (font (size 1.27 1.27))))       (number "25" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at 17.78 -5.08 180) (length 5.08)+    (pin bidirectional line (at 33.02 -5.08 180) (length 5.08)       (name "PC1/ADC1/PCINT9" (effects (font (size 1.27 1.27))))       (number "24" (effects (font (size 1.27 1.27))))     )-    (pin bidirectional line (at 17.78 -7.62 180) (length 5.08)+    (pin bidirectional line (at 33.02 -7.62 180) (length 5.08)       (name "PC0/ADC0/PCINT8" (effects (font (size 1.27 1.27))))       (number "23" (effects (font (size 1.27 1.27))))     )-    (pin input line (at 17.78 -10.16 180) (length 5.08)+    (pin input line (at 33.02 -10.16 180) (length 5.08)       (name "ADC7" (effects (font (size 1.27 1.27))))       (number "22" (effects (font (size 1.27 1.27))))     )-    (pin power_in line (at 17.78 -12.70 180) (length 5.08)+    (pin power_in line (at 33.02 -12.70 180) (length 5.08)       (name "GND" (effects (font (size 1.27 1.27))))       (number "21" (effects (font (size 1.27 1.27))))     )-    (pin input line (at 17.78 -15.24 180) (length 5.08)+    (pin input line (at 33.02 -15.24 180) (length 5.08)       (name "AREF" (effects (font (size 1.27 1.27))))       (number "20" (effects (font (size 1.27 1.27))))     )-    (pin input line (at 17.78 -17.78 180) (length 5.08)+    (pin input line (at 33.02 -17.78 180) (length 5.08)       (name "ADC6" (effects (font (size 1.27 1.27))))       (number "19" (effects (font (size 1.27 1.27))))     )-    (pin power_in line (at 17.78 -20.32 180) (length 5.08)+    (pin power_in line (at 33.02 -20.32 180) (length 5.08)       (name "AVCC" (effects (font (size 1.27 1.27))))       (number "18" (effects (font (size 1.27 1.27))))     )
atmega168pa-mu.lbr+51−40
@@ -50,7 +50,7 @@ <layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/> </layers> <library>-<description></description>+<description>Microchip Tech MICROCHIP, VQFN-32-EP(5x5). Pinout cross-checked by two models against the datasheet</description> <packages> <package name="QFN-32-1EP_5x5mm_P0.5mm_EP3.3x3.3mm">   <description>QFN-32-1EP, 5 x 5 mm, 0.5 mm pitch</description>@@ -113,50 +113,51 @@ </packages> <symbols> <symbol name="ATMEGA168PA-MU">-  <wire x1="-12.7" y1="22.86" x2="12.7" y2="22.86" width="0.254" layer="94"/>-  <wire x1="12.7" y1="22.86" x2="12.7" y2="-22.86" width="0.254" layer="94"/>-  <wire x1="12.7" y1="-22.86" x2="-12.7" y2="-22.86" width="0.254" layer="94"/>-  <wire x1="-12.7" y1="-22.86" x2="-12.7" y2="22.86" width="0.254" layer="94"/>+  <description>Microchip Tech MICROCHIP, VQFN-32-EP(5x5). Pinout cross-checked by two models against the datasheet</description>+  <wire x1="-27.94" y1="22.86" x2="27.94" y2="22.86" width="0.254" layer="94"/>+  <wire x1="27.94" y1="22.86" x2="27.94" y2="-22.86" width="0.254" layer="94"/>+  <wire x1="27.94" y1="-22.86" x2="-27.94" y2="-22.86" width="0.254" layer="94"/>+  <wire x1="-27.94" y1="-22.86" x2="-27.94" y2="22.86" width="0.254" layer="94"/>   <text x="0.0000" y="25.4000" size="1.27" layer="95" align="center">&gt;NAME</text>   <text x="0.0000" y="-25.4000" size="1.27" layer="96" align="center">&gt;VALUE</text>-  <pin name="PD3/INT1/OC2B/PCINT19" x="-17.78" y="20.32" length="middle" direction="io"/>-  <pin name="PD4/XCK/T0/PCINT20" x="-17.78" y="17.78" length="middle" direction="io"/>-  <pin name="GND" x="-17.78" y="15.24" length="middle" direction="pwr"/>-  <pin name="VCC" x="-17.78" y="12.7" length="middle" direction="pwr"/>-  <pin name="GND@2" x="-17.78" y="10.16" length="middle" direction="pwr"/>-  <pin name="VCC@2" x="-17.78" y="7.62" length="middle" direction="pwr"/>-  <pin name="PB6/XTAL1/TOSC1/PCINT6" x="-17.78" y="5.08" length="middle" direction="io"/>-  <pin name="PB7/XTAL2/TOSC2/PCINT7" x="-17.78" y="2.54" length="middle" direction="io"/>-  <pin name="PD5/T1/OC0B/PCINT21" x="-17.78" y="0" length="middle" direction="io"/>-  <pin name="PD6/AIN0/OC0A/PCINT22" x="-17.78" y="-2.54" length="middle" direction="io"/>-  <pin name="PD7/AIN1/PCINT23" x="-17.78" y="-5.08" length="middle" direction="io"/>-  <pin name="PB0/ICP1/CLKO/PCINT0" x="-17.78" y="-7.62" length="middle" direction="io"/>-  <pin name="PB1/OC1A/PCINT1" x="-17.78" y="-10.16" length="middle" direction="io"/>-  <pin name="PB2/SS/OC1B/PCINT2" x="-17.78" y="-12.7" length="middle" direction="io"/>-  <pin name="PB3/MOSI/OC2A/PCINT3" x="-17.78" y="-15.24" length="middle" direction="io"/>-  <pin name="PB4/MISO/PCINT4" x="-17.78" y="-17.78" length="middle" direction="io"/>-  <pin name="PB5/SCK/PCINT5" x="-17.78" y="-20.32" length="middle" direction="io"/>-  <pin name="EP" x="17.78" y="17.78" length="middle" direction="pas" rot="R180"/>-  <pin name="PD2/INT0/PCINT18" x="17.78" y="15.24" length="middle" direction="io" rot="R180"/>-  <pin name="PD1/TXD/PCINT17" x="17.78" y="12.7" length="middle" direction="io" rot="R180"/>-  <pin name="PD0/RXD/PCINT16" x="17.78" y="10.16" length="middle" direction="io" rot="R180"/>-  <pin name="PC6/RESET/PCINT14" x="17.78" y="7.62" length="middle" direction="in" rot="R180"/>-  <pin name="PC5/ADC5/SCL/PCINT13" x="17.78" y="5.08" length="middle" direction="io" rot="R180"/>-  <pin name="PC4/ADC4/SDA/PCINT12" x="17.78" y="2.54" length="middle" direction="io" rot="R180"/>-  <pin name="PC3/ADC3/PCINT11" x="17.78" y="0" length="middle" direction="io" rot="R180"/>-  <pin name="PC2/ADC2/PCINT10" x="17.78" y="-2.54" length="middle" direction="io" rot="R180"/>-  <pin name="PC1/ADC1/PCINT9" x="17.78" y="-5.08" length="middle" direction="io" rot="R180"/>-  <pin name="PC0/ADC0/PCINT8" x="17.78" y="-7.62" length="middle" direction="io" rot="R180"/>-  <pin name="ADC7" x="17.78" y="-10.16" length="middle" direction="in" rot="R180"/>-  <pin name="GND@3" x="17.78" y="-12.7" length="middle" direction="pwr" rot="R180"/>-  <pin name="AREF" x="17.78" y="-15.24" length="middle" direction="in" rot="R180"/>-  <pin name="ADC6" x="17.78" y="-17.78" length="middle" direction="in" rot="R180"/>-  <pin name="AVCC" x="17.78" y="-20.32" length="middle" direction="pwr" rot="R180"/>+  <pin name="PD3/INT1/OC2B/PCINT19" x="-33.02" y="20.32" length="middle" direction="io"/>+  <pin name="PD4/XCK/T0/PCINT20" x="-33.02" y="17.78" length="middle" direction="io"/>+  <pin name="GND" x="-33.02" y="15.24" length="middle" direction="pwr"/>+  <pin name="VCC" x="-33.02" y="12.7" length="middle" direction="pwr"/>+  <pin name="GND@2" x="-33.02" y="10.16" length="middle" direction="pwr"/>+  <pin name="VCC@2" x="-33.02" y="7.62" length="middle" direction="pwr"/>+  <pin name="PB6/XTAL1/TOSC1/PCINT6" x="-33.02" y="5.08" length="middle" direction="io"/>+  <pin name="PB7/XTAL2/TOSC2/PCINT7" x="-33.02" y="2.54" length="middle" direction="io"/>+  <pin name="PD5/T1/OC0B/PCINT21" x="-33.02" y="0" length="middle" direction="io"/>+  <pin name="PD6/AIN0/OC0A/PCINT22" x="-33.02" y="-2.54" length="middle" direction="io"/>+  <pin name="PD7/AIN1/PCINT23" x="-33.02" y="-5.08" length="middle" direction="io"/>+  <pin name="PB0/ICP1/CLKO/PCINT0" x="-33.02" y="-7.62" length="middle" direction="io"/>+  <pin name="PB1/OC1A/PCINT1" x="-33.02" y="-10.16" length="middle" direction="io"/>+  <pin name="PB2/SS/OC1B/PCINT2" x="-33.02" y="-12.7" length="middle" direction="io"/>+  <pin name="PB3/MOSI/OC2A/PCINT3" x="-33.02" y="-15.24" length="middle" direction="io"/>+  <pin name="PB4/MISO/PCINT4" x="-33.02" y="-17.78" length="middle" direction="io"/>+  <pin name="PB5/SCK/PCINT5" x="-33.02" y="-20.32" length="middle" direction="io"/>+  <pin name="EP" x="33.02" y="17.78" length="middle" direction="pas" rot="R180"/>+  <pin name="PD2/INT0/PCINT18" x="33.02" y="15.24" length="middle" direction="io" rot="R180"/>+  <pin name="PD1/TXD/PCINT17" x="33.02" y="12.7" length="middle" direction="io" rot="R180"/>+  <pin name="PD0/RXD/PCINT16" x="33.02" y="10.16" length="middle" direction="io" rot="R180"/>+  <pin name="PC6/RESET/PCINT14" x="33.02" y="7.62" length="middle" direction="in" rot="R180"/>+  <pin name="PC5/ADC5/SCL/PCINT13" x="33.02" y="5.08" length="middle" direction="io" rot="R180"/>+  <pin name="PC4/ADC4/SDA/PCINT12" x="33.02" y="2.54" length="middle" direction="io" rot="R180"/>+  <pin name="PC3/ADC3/PCINT11" x="33.02" y="0" length="middle" direction="io" rot="R180"/>+  <pin name="PC2/ADC2/PCINT10" x="33.02" y="-2.54" length="middle" direction="io" rot="R180"/>+  <pin name="PC1/ADC1/PCINT9" x="33.02" y="-5.08" length="middle" direction="io" rot="R180"/>+  <pin name="PC0/ADC0/PCINT8" x="33.02" y="-7.62" length="middle" direction="io" rot="R180"/>+  <pin name="ADC7" x="33.02" y="-10.16" length="middle" direction="in" rot="R180"/>+  <pin name="GND@3" x="33.02" y="-12.7" length="middle" direction="pwr" rot="R180"/>+  <pin name="AREF" x="33.02" y="-15.24" length="middle" direction="in" rot="R180"/>+  <pin name="ADC6" x="33.02" y="-17.78" length="middle" direction="in" rot="R180"/>+  <pin name="AVCC" x="33.02" y="-20.32" length="middle" direction="pwr" rot="R180"/> </symbol> </symbols> <devicesets> <deviceset name="ATMEGA168PA-MU" prefix="U">-  <description></description>+  <description>Microchip Tech MICROCHIP, VQFN-32-EP(5x5). Pinout cross-checked by two models against the datasheet</description>   <gates>     <gate name="G$1" symbol="ATMEGA168PA-MU" x="0" y="0"/>   </gates>@@ -197,7 +198,17 @@         <connect gate="G$1" pin="ADC6" pad="19"/>         <connect gate="G$1" pin="AVCC" pad="18"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="ATMEGA168PA-MU" constant="no"/>+          <attribute name="MANUFACTURER" value="Microchip Tech" constant="no"/>+          <attribute name="DATASHEET" value="https://ww1.microchip.com/downloads/aemDocuments/documents/OTH/ProductDocuments/DataSheets/Atmel-9223-Automotive-Microcontrollers-ATmega48PA-ATmega88PA-ATmega168PA_Datasheet.pdf" constant="no"/>+          <attribute name="ADOM_WIKI" value="https://wiki.adom.inc/adom/atmega168pa-mu" constant="no"/>+          <attribute name="MOUSER_PN" value="556-ATMEGA168PA-MU" constant="no"/>+          <attribute name="DIGIKEY_PN" value="ATMEGA168PA-MU-ND" constant="no"/>+          <attribute name="LCSC_PN" value="C1337182" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>