Merge branch 'allspi'
[hw/teleshield] / teleshield.pcb
index 5d43b0e5fd69ecd98b2e6270d445cb52cddff8ee..7f72f31c20bb99d012e5cf993473e13f255c4018 100644 (file)
@@ -6,7 +6,7 @@ FileVersion[20070407]
 PCB["Diavolino" 270000 210000]
 
 Grid[100.0 0 0 0]
-Cursor[37500 2300 0.000000]
+Cursor[137800 7600 0.000000]
 PolyArea[200000000.000000]
 Thermal[0.500000]
 DRC[600 1000 600 500 1500 700]
@@ -882,8 +882,6 @@ Via[194900 115600 2900 1400 0 1500 "" ""]
 Via[194800 128800 2900 1400 0 1500 "" ""]
 Via[194900 152000 2900 1400 0 1500 "" ""]
 Via[198800 85100 2900 1400 0 1500 "" ""]
-Via[195300 75800 2900 1400 0 1500 "" ""]
-Via[187100 75300 2900 1400 0 1500 "" ""]
 Via[267000 170000 2900 1400 0 1500 "" "thermal(0S,1S)"]
 Via[255000 170000 2900 1400 0 1500 "" "thermal(0S,1S)"]
 Via[267000 80000 2900 1400 0 1500 "" "thermal(0S,1S)"]
@@ -896,6 +894,10 @@ Via[186000 91600 2900 1400 0 1500 "" ""]
 Via[143700 153900 2900 1400 0 1500 "" ""]
 Via[210500 55100 2900 1400 0 1500 "" "thermal(1S)"]
 Via[137900 54600 2900 1400 0 1500 "" ""]
+Via[161100 76500 2900 1400 3500 1500 "" ""]
+Via[166500 76500 2900 1400 3500 1500 "" ""]
+Via[171200 76500 2900 1400 3500 1500 "" ""]
+Via[176800 76500 2900 1400 3500 1500 "" ""]
 
 Element["" "0402" "C37" "1uF" 23600 202300 -4966 1318 0 100 ""]
 (
@@ -1169,23 +1171,23 @@ Element["" "0402" "C38" "0.01uF" 34200 201526 -948 -3502 3 100 ""]
 
 Element["" "TI-QFN36" "U9" "CC1111" 216200 104800 -2500 -18400 0 100 ""]
 (
-       Pin[5919 -5919 2900 2500 0 1500 "GND Exposed" "37" "via,thermal(1S)"]
-       Pin[5919 0 2900 2500 0 1500 "GND Exposed" "37" "via,thermal(1S)"]
-       Pin[5919 5920 2900 2500 0 1500 "GND Exposed" "37" "via,thermal(1S)"]
-       Pin[0 -5919 2900 2500 0 1500 "GND Exposed" "37" "via,thermal(1S)"]
-       Pin[0 0 2900 2500 0 1500 "GND Exposed" "37" "via,thermal(1S)"]
-       Pin[0 5920 2900 2500 0 1500 "GND Exposed" "37" "via,thermal(1S)"]
-       Pin[-5920 -5919 2900 2500 0 1500 "GND Exposed" "37" "via,thermal(1S)"]
-       Pin[-5920 0 2900 2500 0 1500 "GND Exposed" "37" "via,thermal(1S)"]
-       Pin[-5920 5920 2900 2500 0 1500 "GND Exposed" "37" "via,thermal(1S)"]
-       Pad[0 0 0 0 17323 0 0 "GND Exposed" "37" "square,edge2,nopaste"]
-       Pad[5919 -5919 5919 -5919 2960 0 0 "GND Exposed" "37" "square,edge2,nopaste"]
+       Pin[5919 -5919 2900 2500 2900 1500 "GND Exposed" "37" "via,thermal(1S)"]
+       Pin[5919 0 2900 2500 2900 1500 "GND Exposed" "37" "via,thermal(1S)"]
+       Pin[5919 5920 2900 2500 2900 1500 "GND Exposed" "37" "via,thermal(1S)"]
+       Pin[0 -5919 2900 2500 2900 1500 "GND Exposed" "37" "via,thermal(1S)"]
+       Pin[0 0 2900 2500 2900 1500 "GND Exposed" "37" "via,thermal(1S)"]
+       Pin[0 5920 2900 2500 2900 1500 "GND Exposed" "37" "via,thermal(1S)"]
+       Pin[-5920 -5919 2900 2500 2900 1500 "GND Exposed" "37" "via,thermal(1S)"]
+       Pin[-5920 0 2900 2500 2900 1500 "GND Exposed" "37" "via,thermal(1S)"]
+       Pin[-5920 5920 2900 2500 2900 1500 "GND Exposed" "37" "via,thermal(1S)"]
+       Pad[0 0 0 0 17323 0 17323 "GND Exposed" "37" "square,edge2,nopaste"]
+       Pad[5919 -5919 5919 -5919 2960 0 2960 "GND Exposed" "37" "square,edge2,nopaste"]
        Pad[5919 -2959 5919 -2959 2960 0 2960 "GND Exposed" "37" "square,edge2,nopaste"]
        Pad[5919 -2959 5919 -2959 1500 0 2960 "GND Exposed" "37" "square,edge2"]
-       Pad[5919 0 5919 0 2960 0 0 "GND Exposed" "37" "square,edge2,nopaste"]
+       Pad[5919 0 5919 0 2960 0 2960 "GND Exposed" "37" "square,edge2,nopaste"]
        Pad[5919 2960 5919 2960 2960 0 2960 "GND Exposed" "37" "square,edge2,nopaste"]
        Pad[5919 2960 5919 2960 1500 0 2960 "GND Exposed" "37" "square,edge2"]
-       Pad[5919 5920 5919 5920 2960 0 0 "GND Exposed" "37" "square,edge2,nopaste"]
+       Pad[5919 5920 5919 5920 2960 0 2960 "GND Exposed" "37" "square,edge2,nopaste"]
        Pad[2959 -5919 2959 -5919 2960 0 2960 "GND Exposed" "37" "square,edge2,nopaste"]
        Pad[2959 -5919 2959 -5919 1500 0 2960 "GND Exposed" "37" "square,edge2"]
        Pad[2959 -2959 2959 -2959 2960 0 2960 "GND Exposed" "37" "square,edge2,nopaste"]
@@ -1196,13 +1198,13 @@ Element["" "TI-QFN36" "U9" "CC1111" 216200 104800 -2500 -18400 0 100 ""]
        Pad[2959 2960 2959 2960 1500 0 2960 "GND Exposed" "37" "square,edge2"]
        Pad[2959 5920 2959 5920 2960 0 2960 "GND Exposed" "37" "square,edge2,nopaste"]
        Pad[2959 5920 2959 5920 1500 0 2960 "GND Exposed" "37" "square,edge2"]
-       Pad[0 -5919 0 -5919 2960 0 0 "GND Exposed" "37" "square,edge2,nopaste"]
+       Pad[0 -5919 0 -5919 2960 0 2960 "GND Exposed" "37" "square,edge2,nopaste"]
        Pad[0 -2959 0 -2959 2960 0 2960 "GND Exposed" "37" "square,edge2,nopaste"]
        Pad[0 -2959 0 -2959 1500 0 2960 "GND Exposed" "37" "square,edge2"]
-       Pad[0 0 0 0 2960 0 0 "GND Exposed" "37" "square,edge2,nopaste"]
+       Pad[0 0 0 0 2960 0 2960 "GND Exposed" "37" "square,edge2,nopaste"]
        Pad[0 2960 0 2960 2960 0 2960 "GND Exposed" "37" "square,edge2,nopaste"]
        Pad[0 2960 0 2960 1500 0 2960 "GND Exposed" "37" "square,edge2"]
-       Pad[0 5920 0 5920 2960 0 0 "GND Exposed" "37" "square,edge2,nopaste"]
+       Pad[0 5920 0 5920 2960 0 2960 "GND Exposed" "37" "square,edge2,nopaste"]
        Pad[-2960 -5919 -2960 -5919 2960 0 2960 "GND Exposed" "37" "square,nopaste"]
        Pad[-2960 -5919 -2960 -5919 1500 0 2960 "GND Exposed" "37" "square"]
        Pad[-2960 -2959 -2960 -2959 2960 0 2960 "GND Exposed" "37" "square,nopaste"]
@@ -1213,13 +1215,13 @@ Element["" "TI-QFN36" "U9" "CC1111" 216200 104800 -2500 -18400 0 100 ""]
        Pad[-2960 2960 -2960 2960 1500 0 2960 "GND Exposed" "37" "square"]
        Pad[-2960 5920 -2960 5920 2960 0 2960 "GND Exposed" "37" "square,nopaste"]
        Pad[-2960 5920 -2960 5920 1500 0 2960 "GND Exposed" "37" "square"]
-       Pad[-5920 -5919 -5920 -5919 2960 0 0 "GND Exposed" "37" "square,nopaste"]
+       Pad[-5920 -5919 -5920 -5919 2960 0 2960 "GND Exposed" "37" "square,nopaste"]
        Pad[-5920 -2959 -5920 -2959 2960 0 2960 "GND Exposed" "37" "square,nopaste"]
        Pad[-5920 -2959 -5920 -2959 1500 0 2960 "GND Exposed" "37" "square"]
-       Pad[-5920 0 -5920 0 2960 0 0 "GND Exposed" "37" "square,nopaste"]
+       Pad[-5920 0 -5920 0 2960 0 2960 "GND Exposed" "37" "square,nopaste"]
        Pad[-5920 2960 -5920 2960 2960 0 2960 "GND Exposed" "37" "square,nopaste"]
        Pad[-5920 2960 -5920 2960 1500 0 2960 "GND Exposed" "37" "square"]
-       Pad[-5920 5920 -5920 5920 2960 0 0 "GND Exposed" "37" "square,nopaste"]
+       Pad[-5920 5920 -5920 5920 2960 0 2960 "GND Exposed" "37" "square,nopaste"]
        Pad[9999 -7873 11849 -7873 1102 866 1500 "RBIAS" "27" "edge2"]
        Pad[-11850 -7873 -10000 -7873 1102 866 1500 "P1_2" "1" ""]
        Pad[7873 10000 7873 11850 1102 866 1500 "P2_4/XOSC32_Q2" "18" "edge2"]
@@ -1530,6 +1532,19 @@ Element["" "SOT23" "U2" "MCP130T" 214400 59530 8242 -3275 0 100 ""]
        ElementLine [-6890 8662 6889 8662 1000]
        ElementLine [-6890 -8858 -6890 8662 1000]
 
+       )
+
+Element["" "via4x2" "J11" "spi_jumper" 187000 69200 8000 -3200 0 100 ""]
+(
+       Pin[-6000 -3000 2900 1400 3500 1500 "2" "2" "edge2"]
+       Pin[-2000 -3000 2900 1400 3500 1500 "4" "4" "edge2"]
+       Pin[2000 -3000 2900 1400 3500 1500 "6" "6" "edge2"]
+       Pin[6000 -3000 2900 1400 3500 1500 "8" "8" "edge2"]
+       Pin[-6000 3000 2900 1400 3500 1500 "1" "1" "square,edge2"]
+       Pin[-2000 3000 2900 1400 3500 1500 "3" "3" "edge2"]
+       Pin[2000 3000 2900 1400 3500 1500 "5" "5" "edge2"]
+       Pin[6000 3000 2900 1400 3500 1500 "7" "7" "edge2"]
+
        )
 Layer(1 "component")
 (
@@ -1559,14 +1574,12 @@ Layer(1 "component")
        Line[229500 10000 230000 10000 1000 1600 "clearline"]
        Line[180614 31009 180600 30995 1000 1600 "clearline"]
        Line[180600 30995 180600 18900 1000 1600 "clearline"]
-       Line[183200 16400 214900 16400 1000 1600 "clearline"]
-       Line[214900 16400 220000 11300 1000 1600 "clearline"]
+       Line[183200 16400 203600 16400 1000 1600 "clearline"]
        Line[220000 11300 220000 10000 1000 1600 "clearline"]
        Line[178056 31009 178100 30965 1000 1600 "clearline"]
        Line[178100 30965 178100 18900 1000 1600 "clearline"]
        Line[178100 18900 175600 16400 1000 1600 "clearline"]
-       Line[175600 16400 168900 16400 1000 1600 "clearline"]
-       Line[168900 16400 164000 11500 1000 1600 "clearline"]
+       Line[175600 16400 150500 16400 1000 1600 "clearline"]
        Line[164000 11500 164000 10000 1000 1600 "clearline"]
        Line[175497 31009 175500 31006 1000 1600 "clearline"]
        Line[175500 31006 175500 21900 1000 1600 "clearline"]
@@ -1681,9 +1694,8 @@ Layer(1 "component")
        Line[91090 91310 96200 86200 2500 2000 "clearline"]
        Line[96200 86200 96200 58864 2500 2000 "clearline"]
        Line[96200 58864 96090 58754 2500 2000 "clearline"]
-       Line[212200 93813 212263 93876 1000 1400 "clearline"]
        Line[210300 93870 210294 93876 1000 1400 "clearline"]
-       Line[183200 76500 203600 96900 1000 1400 "clearline"]
+       Line[185100 78400 203600 96900 1000 1400 "clearline"]
        Line[203600 96900 205248 96900 1000 1400 "clearline"]
        Line[205248 96900 205275 96927 1000 1400 "clearline"]
        Line[160300 148700 212300 148700 2500 2000 "clearline"]
@@ -1778,8 +1790,6 @@ Layer(1 "component")
        Line[167820 54237 167820 57680 1000 1400 "clearline"]
        Line[167820 57680 166300 59200 1000 1400 "clearline"]
        Line[169900 67600 169900 64948 1000 1400 "clearline"]
-       Line[183173 54237 183173 76427 1000 1400 "clearline"]
-       Line[183173 76427 183150 76450 1000 1400 "clearline"]
        Line[51200 58863 51091 58754 1000 1400 "clearline"]
        Line[98000 142300 98100 142300 1000 1400 "clearline"]
        Line[32248 186900 34900 186900 1000 1400 "clearline"]
@@ -1808,10 +1818,8 @@ Layer(1 "component")
        Line[153500 116700 163000 116700 1000 1400 "clearline"]
        Line[162800 116700 163000 116700 1000 1400 "clearline"]
        Line[163000 116700 163800 115900 1000 1400 "clearline"]
-       Line[163800 115900 163800 78100 1000 1400 "clearline"]
-       Line[163800 78100 170100 71800 1000 1400 "clearline"]
-       Line[170100 71800 171400 71800 1000 1400 "clearline"]
-       Line[171400 71800 173100 70100 1000 1400 "clearline"]
+       Line[163800 115900 163800 79400 1000 1400 "clearline"]
+       Line[163800 79400 173100 70100 1000 1400 "clearline"]
        Line[173100 70100 173100 54399 1000 1400 "clearline"]
        Line[173100 54399 172938 54237 1000 1400 "clearline"]
        Line[166350 59150 166350 71150 1000 1400 "clearline"]
@@ -1926,22 +1934,9 @@ Layer(1 "component")
        Line[61090 51490 61000 51400 1000 1400 "clearline"]
        Line[208326 93876 207576 93876 1000 1400 "clearline"]
        Line[207576 93876 198800 85100 1000 1400 "clearline"]
-       Line[180614 54237 180614 86314 1000 1400 "clearline"]
-       Line[180614 86314 185800 91500 1000 1400 "clearline"]
        Line[210294 93876 210294 91894 1000 1400 "clearline"]
        Line[210294 91894 199400 81000 1000 1400 "clearline"]
-       Line[199400 81000 192700 81000 1000 1400 "clearline"]
-       Line[185900 74200 185900 54405 1000 1400 "clearline"]
-       Line[185900 54405 185732 54237 1000 1400 "clearline"]
-       Line[212244 93756 212244 90344 1000 1400 "clearline"]
-       Line[212244 90444 197500 75700 1000 1400 "clearline"]
-       Line[197500 75700 195400 75700 1000 1400 "clearline"]
-       Line[195400 75700 195300 75800 1000 1400 "clearline"]
-       Line[195300 75800 193600 75800 1000 1400 "clearline"]
-       Line[193600 75800 188500 70700 1000 1400 "clearline"]
-       Line[188500 70700 188500 54446 1000 1400 "clearline"]
-       Line[188500 54446 188291 54237 1000 1400 "clearline"]
-       Line[192700 81000 185900 74200 1000 1400 "clearline"]
+       Line[199400 81000 195800 81000 1000 1400 "clearline"]
        Line[101378 172216 101378 164922 1000 1400 "clearline"]
        Line[101378 164922 109200 157100 1000 1400 "clearline"]
        Line[109200 157100 131400 157100 1000 1400 "clearline"]
@@ -2014,6 +2009,30 @@ Layer(1 "component")
        Line[232500 170000 232500 157100 1000 1400 "clearline"]
        Line[237500 160100 237500 156701 1000 1400 "clearline"]
        Line[237500 156701 237299 156500 1000 1400 "clearline"]
+       Line[212263 93876 212263 90163 1000 1400 "clearline"]
+       Line[212263 90163 195300 73200 1000 1400 "clearline"]
+       Line[195300 73200 194000 73200 1000 1400 "clearline"]
+       Line[194000 73200 193000 72200 1000 1400 "clearline"]
+       Line[180614 54237 180614 65814 1000 1400 "clearline"]
+       Line[180614 65814 181000 66200 1000 1400 "clearline"]
+       Line[183173 54237 183173 61173 1000 1400 "clearline"]
+       Line[183173 61173 185000 63000 1000 1400 "clearline"]
+       Line[185000 63000 185000 66200 1000 1400 "clearline"]
+       Line[185732 54237 185732 59732 1000 1400 "clearline"]
+       Line[185732 59732 189000 63000 1000 1400 "clearline"]
+       Line[189000 63000 189000 66200 1000 1400 "clearline"]
+       Line[188291 54237 188291 58191 1000 1400 "clearline"]
+       Line[188291 58191 192900 62800 1000 1400 "clearline"]
+       Line[192900 62800 192900 66100 1000 1400 "clearline"]
+       Line[192900 66100 193000 66200 1000 1400 "clearline"]
+       Line[189000 72200 189000 74200 1000 1400 "clearline"]
+       Line[189000 74200 195800 81000 1000 1400 "clearline"]
+       Line[185000 72200 185000 78300 1000 1400 "clearline"]
+       Line[185000 78300 185300 78600 1000 1400 "clearline"]
+       Line[181000 72200 181000 86600 1000 1400 "clearline"]
+       Line[181000 86600 186000 91600 1000 1400 "clearline"]
+       Line[210000 10000 203600 16400 1000 1400 "clearline"]
+       Line[144000 10000 150400 16400 1000 1400 "clearline"]
        Polygon("clearpoly")
        (
                [253400 78600] [269000 78600] [269000 98000] [253400 98000] 
@@ -2073,14 +2092,10 @@ Layer(2 "solder")
        Line[147000 38300 187700 38300 1000 1400 "clearline"]
        Line[187700 38300 202600 53200 1000 1400 "clearline"]
        Line[202600 53200 202600 56000 1000 1400 "clearline"]
-       Line[181194 89794 181000 160000 1000 1400 "clearline"]
-       Line[195300 75800 195187 75800 1000 1400 "clearline"]
-       Line[195187 75800 181187 89800 1000 1400 "clearline"]
        Line[137300 124600 167600 124600 1000 1400 "clearline"]
        Line[167600 124600 171200 128200 1000 1400 "clearline"]
        Line[171200 128200 171200 137700 1000 1400 "clearline"]
-       Line[176000 170000 176000 86500 1000 1400 "clearline"]
-       Line[176000 86500 187100 75300 1000 1400 "clearline"]
+       Line[176000 170000 176000 87500 1000 1400 "clearline"]
        Line[194900 115600 194900 107700 1000 1400 "clearline"]
        Line[194900 107700 196800 105800 1000 1400 "clearline"]
        Line[194800 128800 194800 151900 1000 1400 "clearline"]
@@ -2094,6 +2109,11 @@ Layer(2 "solder")
        Line[152600 63200 146500 63200 1000 1400 "clearline"]
        Line[146500 63200 137900 54600 1000 1400 "clearline"]
        Line[227500 160000 227500 177500 1000 1400 "clearline"]
+       Line[181000 160000 181000 87100 1000 1400 "clearline"]
+       Line[181000 87100 193000 75100 1000 1400 "clearline"]
+       Line[193000 75100 193000 72200 1000 1400 "clearline"]
+       Line[176000 87500 189000 74500 1000 1400 "clearline"]
+       Line[189000 74500 189000 72200 1000 1400 "clearline"]
        Polygon("clearpoly,lock")
        (
                [22500 1000] [259000 1000] [259000 50500] [269000 60500] [269000 189500] 
@@ -2120,7 +2140,7 @@ Layer(5 "silk")
        Text[143094 181545 3 111 "3v3" ""]
        Text[127600 17200 3 111 "D12" ""]
        Text[137600 17200 3 111 "D11" ""]
-       Text[147600 17200 3 111 "D10" ""]
+       Text[147300 16900 3 111 "D10" ""]
        Text[157600 17200 3 111 "D9" ""]
        Text[167600 17200 3 111 "D8" ""]
        Text[183700 17300 3 111 "D7" ""]
@@ -2216,18 +2236,18 @@ NetList()
        Net("c0" "(unknown)")
        (
                Connect("J9-2")
+               Connect("J11-1")
                Connect("U9-36")
-               Connect("U10-6")
        )
        Net("cs0" "(unknown)")
        (
                Connect("J9-6")
+               Connect("J11-3")
                Connect("U9-1")
-               Connect("U10-7")
        )
        Net("csA" "(unknown)")
        (
-               Connect("J3-1")
+               Connect("J3-3")
                Connect("U10-16")
        )
        Net("csSD" "(unknown)")
@@ -2317,8 +2337,8 @@ NetList()
        Net("mi0" "(unknown)")
        (
                Connect("J9-4")
+               Connect("J11-5")
                Connect("U9-35")
-               Connect("U10-8")
        )
        Net("misoA" "(unknown)")
        (
@@ -2333,8 +2353,8 @@ NetList()
        Net("mo0" "(unknown)")
        (
                Connect("J9-3")
+               Connect("J11-7")
                Connect("U9-34")
-               Connect("U10-9")
        )
        Net("mosiA" "(unknown)")
        (
@@ -2380,7 +2400,7 @@ NetList()
        )
        Net("rtsA" "(unknown)")
        (
-               Connect("J1-4")
+               Connect("J1-5")
                Connect("U10-15")
        )
        Net("rx1" "(unknown)")
@@ -2511,6 +2531,26 @@ NetList()
                Connect("C38-2")
                Connect("U1-4")
        )
+       Net("unnamed_net18" "(unknown)")
+       (
+               Connect("J11-6")
+               Connect("U10-8")
+       )
+       Net("unnamed_net19" "(unknown)")
+       (
+               Connect("J11-8")
+               Connect("U10-9")
+       )
+       Net("unnamed_net20" "(unknown)")
+       (
+               Connect("J11-2")
+               Connect("U10-6")
+       )
+       Net("unnamed_net21" "(unknown)")
+       (
+               Connect("J11-4")
+               Connect("U10-7")
+       )
        Net("v_arduino" "(unknown)")
        (
                Connect("J4-6")