Mathias Gottschlag 5 years ago
parent
commit
12c8773e7b

+ 13
- 19
hackamp/firmware/src/main.rs View File

35
         let i2sclocks = unsafe { I2SClocks::init() };
35
         let i2sclocks = unsafe { I2SClocks::init() };
36
 
36
 
37
         // Configure the GPIOs.
37
         // Configure the GPIOs.
38
-        let gpiob = ctx.device.GPIOB.split();
39
-        let gpioc = ctx.device.GPIOC.split();
40
-        let _pins = Pins::configure();
38
+        let _pins = Pins::configure(
39
+            ctx.device.GPIOA,
40
+            ctx.device.GPIOB,
41
+            ctx.device.GPIOC,
42
+            ctx.device.GPIOD,
43
+            ctx.device.GPIOE,
44
+            ctx.device.GPIOF,
45
+            ctx.device.GPIOG,
46
+            ctx.device.DMA1,
47
+            ctx.device.SPI2,
48
+            ctx.device.I2S2EXT,
49
+            i2sclocks,
50
+        );
41
 
51
 
42
         // The components of the firmware are connected via audio buffers.
52
         // The components of the firmware are connected via audio buffers.
43
         static AMP_I2S_IN_BUFFER: AudioBuffer = AudioBuffer::new();
53
         static AMP_I2S_IN_BUFFER: AudioBuffer = AudioBuffer::new();
68
             }
78
             }
69
         });
79
         });
70
 
80
 
71
-        let dma = StreamsTuple::new(ctx.device.DMA1);
72
-        let mut i2s = I2S::new(
73
-            ctx.device.SPI2,
74
-            ctx.device.I2S2EXT,
75
-            dma.3,
76
-            dma.4,
77
-            gpioc.pc6.into_alternate_af5(),
78
-            gpiob.pb12.into_alternate_af5(),
79
-            gpiob.pb13.into_alternate_af5(),
80
-            gpiob.pb14.into_alternate_af6(),
81
-            gpiob.pb15.into_alternate_af5(),
82
-            &AMP_I2S_IN_BUFFER,
83
-            &AMP_I2S_OUT_BUFFER,
84
-            i2sclocks,
85
-        );
86
-
87
         i2s.start();
81
         i2s.start();
88
 
82
 
89
         // TODO: Resources.
83
         // TODO: Resources.

+ 42
- 1
hackamp/firmware/src/pins.rs View File

1
 //! GPIO pin configuration.
1
 //! GPIO pin configuration.
2
 #![warn(missing_docs)]
2
 #![warn(missing_docs)]
3
 
3
 
4
+use stm32f4xx_hal::prelude::*;
5
+use stm32f4xx_hal::stm32::{DMA1, GPIOA, GPIOB, GPIOC, GPIOD, GPIOE, GPIOF, GPIOG, I2S2EXT, SPI2};
6
+
7
+use super::halext::i2s::{I2SClocks, I2S};
8
+
4
 /// Type which contains all GPIO pins.
9
 /// Type which contains all GPIO pins.
5
 ///
10
 ///
6
 /// The pins are configured as the correct type. Whenever possible, the corresponding HAL driver is
11
 /// The pins are configured as the correct type. Whenever possible, the corresponding HAL driver is
11
 
16
 
12
 impl Pins {
17
 impl Pins {
13
     /// Configures the GPIO pins and sets their initial value.
18
     /// Configures the GPIO pins and sets their initial value.
14
-    pub fn configure() -> Pins {
19
+    pub fn configure(
20
+        gpioa: GPIOA,
21
+        gpiob: GPIOB,
22
+        gpioc: GPIOC,
23
+        gpiod: GPIOD,
24
+        gpioe: GPIOE,
25
+        gpiof: GPIOF,
26
+        gpiog: GPIOG,
27
+        dma1: DMA1,
28
+        spi2: SPI2,
29
+        i2s2ext: I2S2EXT,
30
+        i2sclocks: I2SClocks,
31
+    ) -> Pins {
32
+        let gpioa = gpioa.split();
33
+        let gpiob = gpiob.split();
34
+        let gpioc = gpioc.split();
35
+        let gpiod = gpiod.split();
36
+        let gpioe = gpioe.split();
37
+        let gpiof = gpiof.split();
38
+        let gpiog = gpiog.split();
39
+
40
+        let dma = StreamsTuple::new(dma1);
41
+        let mut i2s = I2S::new(
42
+            spi2,
43
+            i2s2ext,
44
+            dma.3,
45
+            dma.4,
46
+            gpioc.pc6.into_alternate_af5(),
47
+            gpiob.pb12.into_alternate_af5(),
48
+            gpiob.pb13.into_alternate_af5(),
49
+            gpiob.pb14.into_alternate_af6(),
50
+            gpiob.pb15.into_alternate_af5(),
51
+            &AMP_I2S_IN_BUFFER,
52
+            &AMP_I2S_OUT_BUFFER,
53
+            i2sclocks,
54
+        );
55
+
15
         Pins{
56
         Pins{
16
             // TODO
57
             // TODO
17
         }
58
         }

+ 12
- 12
hackamp/hardware/bluetooth.kicad_sch View File

1204
   (junction (at 214.63 26.67) (diameter 0.9144) (color 0 0 0 0))
1204
   (junction (at 214.63 26.67) (diameter 0.9144) (color 0 0 0 0))
1205
   (junction (at 236.22 153.67) (diameter 0.9144) (color 0 0 0 0))
1205
   (junction (at 236.22 153.67) (diameter 0.9144) (color 0 0 0 0))
1206
 
1206
 
1207
-  (no_connect (at 257.81 74.93))
1207
+  (no_connect (at 257.81 77.47))
1208
+  (no_connect (at 257.81 46.99))
1208
   (no_connect (at 257.81 69.85))
1209
   (no_connect (at 257.81 69.85))
1209
-  (no_connect (at 257.81 62.23))
1210
-  (no_connect (at 217.17 24.13))
1211
-  (no_connect (at 257.81 80.01))
1212
-  (no_connect (at 257.81 87.63))
1213
-  (no_connect (at 217.17 29.21))
1214
-  (no_connect (at 109.22 157.48))
1210
+  (no_connect (at 257.81 59.69))
1211
+  (no_connect (at 246.38 146.05))
1215
   (no_connect (at 109.22 160.02))
1212
   (no_connect (at 109.22 160.02))
1216
   (no_connect (at 257.81 67.31))
1213
   (no_connect (at 257.81 67.31))
1217
   (no_connect (at 257.81 85.09))
1214
   (no_connect (at 257.81 85.09))
1218
-  (no_connect (at 257.81 77.47))
1219
-  (no_connect (at 246.38 146.05))
1220
-  (no_connect (at 217.17 87.63))
1221
-  (no_connect (at 257.81 59.69))
1222
-  (no_connect (at 257.81 46.99))
1215
+  (no_connect (at 257.81 62.23))
1216
+  (no_connect (at 109.22 157.48))
1223
   (no_connect (at 246.38 135.89))
1217
   (no_connect (at 246.38 135.89))
1218
+  (no_connect (at 257.81 87.63))
1219
+  (no_connect (at 217.17 87.63))
1220
+  (no_connect (at 217.17 24.13))
1221
+  (no_connect (at 217.17 29.21))
1222
+  (no_connect (at 257.81 74.93))
1223
+  (no_connect (at 257.81 80.01))
1224
 
1224
 
1225
   (wire (pts (xy 24.13 72.39) (xy 24.13 80.01))
1225
   (wire (pts (xy 24.13 72.39) (xy 24.13 80.01))
1226
     (stroke (width 0) (type solid) (color 0 0 0 0))
1226
     (stroke (width 0) (type solid) (color 0 0 0 0))

+ 1
- 1
hackamp/hardware/fp-info-cache View File

1
-18265948801828957
1
+18265948802027957
2
 Battery
2
 Battery
3
 BatteryHolder_Bulgin_BX0036_1xC
3
 BatteryHolder_Bulgin_BX0036_1xC
4
 Bulgin Battery Holder, BX0036, Battery Type C (https://www.bulgin.com/products/pub/media/bulgin/data/Battery_holders.pdf)
4
 Bulgin Battery Holder, BX0036, Battery Type C (https://www.bulgin.com/products/pub/media/bulgin/data/Battery_holders.pdf)

+ 1
- 1
hackamp/hardware/front.kicad_sch View File

630
   (junction (at 261.62 130.81) (diameter 0.9144) (color 0 0 0 0))
630
   (junction (at 261.62 130.81) (diameter 0.9144) (color 0 0 0 0))
631
   (junction (at 266.7 77.47) (diameter 0.9144) (color 0 0 0 0))
631
   (junction (at 266.7 77.47) (diameter 0.9144) (color 0 0 0 0))
632
 
632
 
633
-  (no_connect (at 60.96 115.57))
634
   (no_connect (at 48.26 115.57))
633
   (no_connect (at 48.26 115.57))
635
   (no_connect (at 234.95 128.27))
634
   (no_connect (at 234.95 128.27))
635
+  (no_connect (at 60.96 115.57))
636
   (no_connect (at 48.26 113.03))
636
   (no_connect (at 48.26 113.03))
637
 
637
 
638
   (wire (pts (xy 22.86 43.18) (xy 25.4 43.18))
638
   (wire (pts (xy 22.86 43.18) (xy 25.4 43.18))

+ 1549
- 1275
hackamp/hardware/hackamp.kicad_pcb
File diff suppressed because it is too large
View File


+ 29
- 5
hackamp/hardware/hackamp.kicad_pro View File

48
           "min_clearance": 0.508
48
           "min_clearance": 0.508
49
         }
49
         }
50
       },
50
       },
51
-      "diff_pair_dimensions": [],
51
+      "diff_pair_dimensions": [
52
+        {
53
+          "gap": 0.0,
54
+          "via_gap": 0.0,
55
+          "width": 0.0
56
+        }
57
+      ],
52
       "drc_exclusions": [],
58
       "drc_exclusions": [],
53
       "meta": {
59
       "meta": {
54
         "version": 1
60
         "version": 1
110
         "solder_mask_clearance": 0.0,
116
         "solder_mask_clearance": 0.0,
111
         "solder_mask_min_width": 0.0,
117
         "solder_mask_min_width": 0.0,
112
         "solder_paste_clearance": 0.0,
118
         "solder_paste_clearance": 0.0,
113
-        "solder_paste_margin_ratio": 0.0
119
+        "solder_paste_margin_ratio": -0.0
114
       },
120
       },
115
-      "track_widths": [],
116
-      "via_dimensions": [],
121
+      "track_widths": [
122
+        0.0,
123
+        0.25,
124
+        0.5,
125
+        1.0
126
+      ],
127
+      "via_dimensions": [
128
+        {
129
+          "diameter": 0.0,
130
+          "drill": 0.0
131
+        },
132
+        {
133
+          "diameter": 0.6,
134
+          "drill": 0.3
135
+        },
136
+        {
137
+          "diameter": 1.0,
138
+          "drill": 0.5
139
+        }
140
+      ],
117
       "zones_allow_external_fillets": false,
141
       "zones_allow_external_fillets": false,
118
       "zones_use_no_outline": true
142
       "zones_use_no_outline": true
119
     },
143
     },
373
   },
397
   },
374
   "sheets": [
398
   "sheets": [
375
     [
399
     [
376
-      "6a82eebd-bbb0-445a-ae09-7b4335abfc11",
400
+      "36102a57-90ec-40eb-846d-56f559185757",
377
       ""
401
       ""
378
     ],
402
     ],
379
     [
403
     [

+ 4
- 4
hackamp/hardware/headphone-amp.kicad_sch View File

650
   (junction (at 191.77 36.83) (diameter 0.9144) (color 0 0 0 0))
650
   (junction (at 191.77 36.83) (diameter 0.9144) (color 0 0 0 0))
651
   (junction (at 201.93 111.76) (diameter 0.9144) (color 0 0 0 0))
651
   (junction (at 201.93 111.76) (diameter 0.9144) (color 0 0 0 0))
652
 
652
 
653
-  (no_connect (at 217.17 116.84))
654
-  (no_connect (at 201.93 73.66))
653
+  (no_connect (at 162.56 96.52))
655
   (no_connect (at 162.56 93.98))
654
   (no_connect (at 162.56 93.98))
655
+  (no_connect (at 201.93 73.66))
656
   (no_connect (at 217.17 114.3))
656
   (no_connect (at 217.17 114.3))
657
-  (no_connect (at 127 109.22))
658
   (no_connect (at 127 104.14))
657
   (no_connect (at 127 104.14))
659
   (no_connect (at 162.56 88.9))
658
   (no_connect (at 162.56 88.9))
659
+  (no_connect (at 127 109.22))
660
   (no_connect (at 162.56 86.36))
660
   (no_connect (at 162.56 86.36))
661
-  (no_connect (at 162.56 96.52))
661
+  (no_connect (at 217.17 116.84))
662
 
662
 
663
   (wire (pts (xy 99.06 76.2) (xy 127 76.2))
663
   (wire (pts (xy 99.06 76.2) (xy 127 76.2))
664
     (stroke (width 0) (type solid) (color 0 0 0 0))
664
     (stroke (width 0) (type solid) (color 0 0 0 0))

+ 63
- 63
hackamp/hardware/processor.kicad_sch View File

1181
   (junction (at 179.07 30.48) (diameter 0.9144) (color 0 0 0 0))
1181
   (junction (at 179.07 30.48) (diameter 0.9144) (color 0 0 0 0))
1182
   (junction (at 189.23 30.48) (diameter 0.9144) (color 0 0 0 0))
1182
   (junction (at 189.23 30.48) (diameter 0.9144) (color 0 0 0 0))
1183
 
1183
 
1184
-  (no_connect (at 30.48 228.6))
1184
+  (no_connect (at 31.75 181.61))
1185
+  (no_connect (at 44.45 184.15))
1185
   (no_connect (at 30.48 265.43))
1186
   (no_connect (at 30.48 265.43))
1186
   (no_connect (at 31.75 184.15))
1187
   (no_connect (at 31.75 184.15))
1188
+  (no_connect (at 44.45 181.61))
1187
   (no_connect (at 31.75 176.53))
1189
   (no_connect (at 31.75 176.53))
1188
   (no_connect (at 31.75 179.07))
1190
   (no_connect (at 31.75 179.07))
1189
-  (no_connect (at 31.75 181.61))
1190
-  (no_connect (at 44.45 184.15))
1191
-  (no_connect (at 44.45 181.61))
1191
+  (no_connect (at 30.48 228.6))
1192
 
1192
 
1193
   (wire (pts (xy 20.32 233.68) (xy 20.32 236.22))
1193
   (wire (pts (xy 20.32 233.68) (xy 20.32 236.22))
1194
     (stroke (width 0) (type solid) (color 0 0 0 0))
1194
     (stroke (width 0) (type solid) (color 0 0 0 0))
1538
   (wire (pts (xy 100.33 152.4) (xy 102.87 152.4))
1538
   (wire (pts (xy 100.33 152.4) (xy 102.87 152.4))
1539
     (stroke (width 0) (type solid) (color 0 0 0 0))
1539
     (stroke (width 0) (type solid) (color 0 0 0 0))
1540
   )
1540
   )
1541
-  (wire (pts (xy 100.33 154.94) (xy 102.87 154.94))
1541
+  (wire (pts (xy 100.33 162.56) (xy 102.87 162.56))
1542
     (stroke (width 0) (type solid) (color 0 0 0 0))
1542
     (stroke (width 0) (type solid) (color 0 0 0 0))
1543
   )
1543
   )
1544
-  (wire (pts (xy 100.33 157.48) (xy 102.87 157.48))
1544
+  (wire (pts (xy 100.33 170.18) (xy 102.87 170.18))
1545
     (stroke (width 0) (type solid) (color 0 0 0 0))
1545
     (stroke (width 0) (type solid) (color 0 0 0 0))
1546
   )
1546
   )
1547
-  (wire (pts (xy 100.33 160.02) (xy 102.87 160.02))
1547
+  (wire (pts (xy 102.87 58.42) (xy 97.79 58.42))
1548
     (stroke (width 0) (type solid) (color 0 0 0 0))
1548
     (stroke (width 0) (type solid) (color 0 0 0 0))
1549
   )
1549
   )
1550
-  (wire (pts (xy 100.33 170.18) (xy 102.87 170.18))
1550
+  (wire (pts (xy 102.87 63.5) (xy 87.63 63.5))
1551
     (stroke (width 0) (type solid) (color 0 0 0 0))
1551
     (stroke (width 0) (type solid) (color 0 0 0 0))
1552
   )
1552
   )
1553
-  (wire (pts (xy 100.33 185.42) (xy 102.87 185.42))
1553
+  (wire (pts (xy 102.87 66.04) (xy 97.79 66.04))
1554
     (stroke (width 0) (type solid) (color 0 0 0 0))
1554
     (stroke (width 0) (type solid) (color 0 0 0 0))
1555
   )
1555
   )
1556
-  (wire (pts (xy 100.33 187.96) (xy 102.87 187.96))
1556
+  (wire (pts (xy 102.87 86.36) (xy 92.71 86.36))
1557
     (stroke (width 0) (type solid) (color 0 0 0 0))
1557
     (stroke (width 0) (type solid) (color 0 0 0 0))
1558
   )
1558
   )
1559
-  (wire (pts (xy 100.33 190.5) (xy 102.87 190.5))
1559
+  (wire (pts (xy 102.87 137.16) (xy 100.33 137.16))
1560
     (stroke (width 0) (type solid) (color 0 0 0 0))
1560
     (stroke (width 0) (type solid) (color 0 0 0 0))
1561
   )
1561
   )
1562
-  (wire (pts (xy 100.33 193.04) (xy 102.87 193.04))
1562
+  (wire (pts (xy 102.87 154.94) (xy 100.33 154.94))
1563
     (stroke (width 0) (type solid) (color 0 0 0 0))
1563
     (stroke (width 0) (type solid) (color 0 0 0 0))
1564
   )
1564
   )
1565
-  (wire (pts (xy 100.33 195.58) (xy 102.87 195.58))
1565
+  (wire (pts (xy 102.87 157.48) (xy 100.33 157.48))
1566
     (stroke (width 0) (type solid) (color 0 0 0 0))
1566
     (stroke (width 0) (type solid) (color 0 0 0 0))
1567
   )
1567
   )
1568
-  (wire (pts (xy 102.87 58.42) (xy 97.79 58.42))
1568
+  (wire (pts (xy 102.87 160.02) (xy 100.33 160.02))
1569
     (stroke (width 0) (type solid) (color 0 0 0 0))
1569
     (stroke (width 0) (type solid) (color 0 0 0 0))
1570
   )
1570
   )
1571
-  (wire (pts (xy 102.87 63.5) (xy 87.63 63.5))
1571
+  (wire (pts (xy 102.87 187.96) (xy 100.33 187.96))
1572
     (stroke (width 0) (type solid) (color 0 0 0 0))
1572
     (stroke (width 0) (type solid) (color 0 0 0 0))
1573
   )
1573
   )
1574
-  (wire (pts (xy 102.87 66.04) (xy 97.79 66.04))
1574
+  (wire (pts (xy 102.87 190.5) (xy 100.33 190.5))
1575
     (stroke (width 0) (type solid) (color 0 0 0 0))
1575
     (stroke (width 0) (type solid) (color 0 0 0 0))
1576
   )
1576
   )
1577
-  (wire (pts (xy 102.87 86.36) (xy 92.71 86.36))
1577
+  (wire (pts (xy 102.87 193.04) (xy 100.33 193.04))
1578
     (stroke (width 0) (type solid) (color 0 0 0 0))
1578
     (stroke (width 0) (type solid) (color 0 0 0 0))
1579
   )
1579
   )
1580
-  (wire (pts (xy 102.87 137.16) (xy 100.33 137.16))
1580
+  (wire (pts (xy 102.87 195.58) (xy 100.33 195.58))
1581
     (stroke (width 0) (type solid) (color 0 0 0 0))
1581
     (stroke (width 0) (type solid) (color 0 0 0 0))
1582
   )
1582
   )
1583
   (wire (pts (xy 107.95 20.32) (xy 107.95 22.86))
1583
   (wire (pts (xy 107.95 20.32) (xy 107.95 22.86))
1796
   (wire (pts (xy 158.75 30.48) (xy 148.59 30.48))
1796
   (wire (pts (xy 158.75 30.48) (xy 148.59 30.48))
1797
     (stroke (width 0) (type solid) (color 0 0 0 0))
1797
     (stroke (width 0) (type solid) (color 0 0 0 0))
1798
   )
1798
   )
1799
-  (wire (pts (xy 163.83 50.8) (xy 166.37 50.8))
1800
-    (stroke (width 0) (type solid) (color 0 0 0 0))
1801
-  )
1802
-  (wire (pts (xy 163.83 53.34) (xy 166.37 53.34))
1803
-    (stroke (width 0) (type solid) (color 0 0 0 0))
1804
-  )
1805
-  (wire (pts (xy 163.83 55.88) (xy 166.37 55.88))
1806
-    (stroke (width 0) (type solid) (color 0 0 0 0))
1807
-  )
1808
-  (wire (pts (xy 163.83 58.42) (xy 166.37 58.42))
1809
-    (stroke (width 0) (type solid) (color 0 0 0 0))
1810
-  )
1811
-  (wire (pts (xy 163.83 60.96) (xy 166.37 60.96))
1812
-    (stroke (width 0) (type solid) (color 0 0 0 0))
1813
-  )
1814
   (wire (pts (xy 163.83 63.5) (xy 166.37 63.5))
1799
   (wire (pts (xy 163.83 63.5) (xy 166.37 63.5))
1815
     (stroke (width 0) (type solid) (color 0 0 0 0))
1800
     (stroke (width 0) (type solid) (color 0 0 0 0))
1816
   )
1801
   )
1838
   (wire (pts (xy 163.83 144.78) (xy 166.37 144.78))
1823
   (wire (pts (xy 163.83 144.78) (xy 166.37 144.78))
1839
     (stroke (width 0) (type solid) (color 0 0 0 0))
1824
     (stroke (width 0) (type solid) (color 0 0 0 0))
1840
   )
1825
   )
1841
-  (wire (pts (xy 163.83 170.18) (xy 166.37 170.18))
1842
-    (stroke (width 0) (type solid) (color 0 0 0 0))
1843
-  )
1844
-  (wire (pts (xy 163.83 172.72) (xy 166.37 172.72))
1845
-    (stroke (width 0) (type solid) (color 0 0 0 0))
1846
-  )
1847
   (wire (pts (xy 163.83 175.26) (xy 166.37 175.26))
1826
   (wire (pts (xy 163.83 175.26) (xy 166.37 175.26))
1848
     (stroke (width 0) (type solid) (color 0 0 0 0))
1827
     (stroke (width 0) (type solid) (color 0 0 0 0))
1849
   )
1828
   )
1871
   (wire (pts (xy 163.83 218.44) (xy 166.37 218.44))
1850
   (wire (pts (xy 163.83 218.44) (xy 166.37 218.44))
1872
     (stroke (width 0) (type solid) (color 0 0 0 0))
1851
     (stroke (width 0) (type solid) (color 0 0 0 0))
1873
   )
1852
   )
1853
+  (wire (pts (xy 166.37 50.8) (xy 163.83 50.8))
1854
+    (stroke (width 0) (type solid) (color 0 0 0 0))
1855
+  )
1856
+  (wire (pts (xy 166.37 53.34) (xy 163.83 53.34))
1857
+    (stroke (width 0) (type solid) (color 0 0 0 0))
1858
+  )
1859
+  (wire (pts (xy 166.37 55.88) (xy 163.83 55.88))
1860
+    (stroke (width 0) (type solid) (color 0 0 0 0))
1861
+  )
1862
+  (wire (pts (xy 166.37 58.42) (xy 163.83 58.42))
1863
+    (stroke (width 0) (type solid) (color 0 0 0 0))
1864
+  )
1865
+  (wire (pts (xy 166.37 60.96) (xy 163.83 60.96))
1866
+    (stroke (width 0) (type solid) (color 0 0 0 0))
1867
+  )
1874
   (wire (pts (xy 166.37 88.9) (xy 163.83 88.9))
1868
   (wire (pts (xy 166.37 88.9) (xy 163.83 88.9))
1875
     (stroke (width 0) (type solid) (color 0 0 0 0))
1869
     (stroke (width 0) (type solid) (color 0 0 0 0))
1876
   )
1870
   )
1886
   (wire (pts (xy 166.37 116.84) (xy 163.83 116.84))
1880
   (wire (pts (xy 166.37 116.84) (xy 163.83 116.84))
1887
     (stroke (width 0) (type solid) (color 0 0 0 0))
1881
     (stroke (width 0) (type solid) (color 0 0 0 0))
1888
   )
1882
   )
1883
+  (wire (pts (xy 166.37 137.16) (xy 163.83 137.16))
1884
+    (stroke (width 0) (type solid) (color 0 0 0 0))
1885
+  )
1886
+  (wire (pts (xy 166.37 139.7) (xy 163.83 139.7))
1887
+    (stroke (width 0) (type solid) (color 0 0 0 0))
1888
+  )
1889
   (wire (pts (xy 166.37 142.24) (xy 163.83 142.24))
1889
   (wire (pts (xy 166.37 142.24) (xy 163.83 142.24))
1890
     (stroke (width 0) (type solid) (color 0 0 0 0))
1890
     (stroke (width 0) (type solid) (color 0 0 0 0))
1891
   )
1891
   )
2047
   (hierarchical_label "BT_I2C_SCL" (shape input) (at 100.33 139.7 180)
2047
   (hierarchical_label "BT_I2C_SCL" (shape input) (at 100.33 139.7 180)
2048
     (effects (font (size 1.27 1.27)) (justify right))
2048
     (effects (font (size 1.27 1.27)) (justify right))
2049
   )
2049
   )
2050
-  (hierarchical_label "VOL8" (shape output) (at 100.33 142.24 180)
2050
+  (hierarchical_label "VOL0" (shape output) (at 100.33 142.24 180)
2051
     (effects (font (size 1.27 1.27)) (justify right))
2051
     (effects (font (size 1.27 1.27)) (justify right))
2052
   )
2052
   )
2053
-  (hierarchical_label "VOL9" (shape output) (at 100.33 144.78 180)
2053
+  (hierarchical_label "VOL1" (shape output) (at 100.33 144.78 180)
2054
     (effects (font (size 1.27 1.27)) (justify right))
2054
     (effects (font (size 1.27 1.27)) (justify right))
2055
   )
2055
   )
2056
-  (hierarchical_label "VOL10" (shape output) (at 100.33 147.32 180)
2056
+  (hierarchical_label "VOL2" (shape output) (at 100.33 147.32 180)
2057
     (effects (font (size 1.27 1.27)) (justify right))
2057
     (effects (font (size 1.27 1.27)) (justify right))
2058
   )
2058
   )
2059
-  (hierarchical_label "VOL11" (shape output) (at 100.33 149.86 180)
2059
+  (hierarchical_label "VOL3" (shape output) (at 100.33 149.86 180)
2060
     (effects (font (size 1.27 1.27)) (justify right))
2060
     (effects (font (size 1.27 1.27)) (justify right))
2061
   )
2061
   )
2062
-  (hierarchical_label "VOL12" (shape output) (at 100.33 152.4 180)
2062
+  (hierarchical_label "VOL4" (shape output) (at 100.33 152.4 180)
2063
     (effects (font (size 1.27 1.27)) (justify right))
2063
     (effects (font (size 1.27 1.27)) (justify right))
2064
   )
2064
   )
2065
-  (hierarchical_label "VOL13" (shape output) (at 100.33 154.94 180)
2065
+  (hierarchical_label "VOL5" (shape output) (at 100.33 154.94 180)
2066
     (effects (font (size 1.27 1.27)) (justify right))
2066
     (effects (font (size 1.27 1.27)) (justify right))
2067
   )
2067
   )
2068
-  (hierarchical_label "VOL14" (shape output) (at 100.33 157.48 180)
2068
+  (hierarchical_label "VOL6" (shape output) (at 100.33 157.48 180)
2069
     (effects (font (size 1.27 1.27)) (justify right))
2069
     (effects (font (size 1.27 1.27)) (justify right))
2070
   )
2070
   )
2071
-  (hierarchical_label "VOL15" (shape output) (at 100.33 160.02 180)
2071
+  (hierarchical_label "VOL7" (shape output) (at 100.33 160.02 180)
2072
     (effects (font (size 1.27 1.27)) (justify right))
2072
     (effects (font (size 1.27 1.27)) (justify right))
2073
   )
2073
   )
2074
-  (hierarchical_label "VOL0" (shape output) (at 100.33 185.42 180)
2074
+  (hierarchical_label "VOL8" (shape output) (at 100.33 162.56 180)
2075
     (effects (font (size 1.27 1.27)) (justify right))
2075
     (effects (font (size 1.27 1.27)) (justify right))
2076
   )
2076
   )
2077
-  (hierarchical_label "VOL1" (shape output) (at 100.33 187.96 180)
2077
+  (hierarchical_label "PWR" (shape input) (at 100.33 187.96 180)
2078
     (effects (font (size 1.27 1.27)) (justify right))
2078
     (effects (font (size 1.27 1.27)) (justify right))
2079
   )
2079
   )
2080
-  (hierarchical_label "VOL2" (shape output) (at 100.33 190.5 180)
2080
+  (hierarchical_label "MIC1" (shape input) (at 100.33 190.5 180)
2081
     (effects (font (size 1.27 1.27)) (justify right))
2081
     (effects (font (size 1.27 1.27)) (justify right))
2082
   )
2082
   )
2083
-  (hierarchical_label "VOL3" (shape output) (at 100.33 193.04 180)
2083
+  (hierarchical_label "MIC2" (shape input) (at 100.33 193.04 180)
2084
     (effects (font (size 1.27 1.27)) (justify right))
2084
     (effects (font (size 1.27 1.27)) (justify right))
2085
   )
2085
   )
2086
-  (hierarchical_label "VOL4" (shape output) (at 100.33 195.58 180)
2086
+  (hierarchical_label "BT1" (shape input) (at 100.33 195.58 180)
2087
     (effects (font (size 1.27 1.27)) (justify right))
2087
     (effects (font (size 1.27 1.27)) (justify right))
2088
   )
2088
   )
2089
-  (hierarchical_label "PWR" (shape input) (at 166.37 50.8 0)
2089
+  (hierarchical_label "VOL11" (shape output) (at 166.37 50.8 0)
2090
     (effects (font (size 1.27 1.27)) (justify left))
2090
     (effects (font (size 1.27 1.27)) (justify left))
2091
   )
2091
   )
2092
-  (hierarchical_label "MIC1" (shape input) (at 166.37 53.34 0)
2092
+  (hierarchical_label "VOL12" (shape output) (at 166.37 53.34 0)
2093
     (effects (font (size 1.27 1.27)) (justify left))
2093
     (effects (font (size 1.27 1.27)) (justify left))
2094
   )
2094
   )
2095
-  (hierarchical_label "MIC2" (shape input) (at 166.37 55.88 0)
2095
+  (hierarchical_label "VOL13" (shape output) (at 166.37 55.88 0)
2096
     (effects (font (size 1.27 1.27)) (justify left))
2096
     (effects (font (size 1.27 1.27)) (justify left))
2097
   )
2097
   )
2098
-  (hierarchical_label "BT1" (shape input) (at 166.37 58.42 0)
2098
+  (hierarchical_label "VOL14" (shape output) (at 166.37 58.42 0)
2099
     (effects (font (size 1.27 1.27)) (justify left))
2099
     (effects (font (size 1.27 1.27)) (justify left))
2100
   )
2100
   )
2101
-  (hierarchical_label "BT2" (shape input) (at 166.37 60.96 0)
2101
+  (hierarchical_label "VOL15" (shape output) (at 166.37 60.96 0)
2102
     (effects (font (size 1.27 1.27)) (justify left))
2102
     (effects (font (size 1.27 1.27)) (justify left))
2103
   )
2103
   )
2104
   (hierarchical_label "ENC_A" (shape input) (at 166.37 63.5 0)
2104
   (hierarchical_label "ENC_A" (shape input) (at 166.37 63.5 0)
2134
   (hierarchical_label "AMP_I2S_CK" (shape input) (at 166.37 119.38 0)
2134
   (hierarchical_label "AMP_I2S_CK" (shape input) (at 166.37 119.38 0)
2135
     (effects (font (size 1.27 1.27)) (justify left))
2135
     (effects (font (size 1.27 1.27)) (justify left))
2136
   )
2136
   )
2137
-  (hierarchical_label "AMP_I2S_SDI" (shape input) (at 166.37 142.24 0)
2137
+  (hierarchical_label "VOL9" (shape output) (at 166.37 137.16 0)
2138
     (effects (font (size 1.27 1.27)) (justify left))
2138
     (effects (font (size 1.27 1.27)) (justify left))
2139
   )
2139
   )
2140
-  (hierarchical_label "AMP_I2S_SDO" (shape input) (at 166.37 144.78 0)
2140
+  (hierarchical_label "VOL10" (shape output) (at 166.37 139.7 0)
2141
     (effects (font (size 1.27 1.27)) (justify left))
2141
     (effects (font (size 1.27 1.27)) (justify left))
2142
   )
2142
   )
2143
-  (hierarchical_label "AMP_I2S_MCK" (shape input) (at 166.37 152.4 0)
2143
+  (hierarchical_label "AMP_I2S_SDI" (shape input) (at 166.37 142.24 0)
2144
     (effects (font (size 1.27 1.27)) (justify left))
2144
     (effects (font (size 1.27 1.27)) (justify left))
2145
   )
2145
   )
2146
-  (hierarchical_label "VOL5" (shape output) (at 166.37 170.18 0)
2146
+  (hierarchical_label "AMP_I2S_SDO" (shape input) (at 166.37 144.78 0)
2147
     (effects (font (size 1.27 1.27)) (justify left))
2147
     (effects (font (size 1.27 1.27)) (justify left))
2148
   )
2148
   )
2149
-  (hierarchical_label "VOL6" (shape output) (at 166.37 172.72 0)
2149
+  (hierarchical_label "AMP_I2S_MCK" (shape input) (at 166.37 152.4 0)
2150
     (effects (font (size 1.27 1.27)) (justify left))
2150
     (effects (font (size 1.27 1.27)) (justify left))
2151
   )
2151
   )
2152
-  (hierarchical_label "VOL7" (shape output) (at 166.37 175.26 0)
2152
+  (hierarchical_label "BT2" (shape input) (at 166.37 175.26 0)
2153
     (effects (font (size 1.27 1.27)) (justify left))
2153
     (effects (font (size 1.27 1.27)) (justify left))
2154
   )
2154
   )
2155
   (hierarchical_label "BT_P31" (shape input) (at 166.37 200.66 0)
2155
   (hierarchical_label "BT_P31" (shape input) (at 166.37 200.66 0)

Loading…
Cancel
Save