Browse Source

Добавил схему в Eagle

Alexander M Gladtsin 4 years ago
parent
commit
e0abd8ae25

+ 3 - 3
Gedalib/MC33269DT-3.3G.sym

@@ -8,7 +8,7 @@ pintype=pwr
 T 800 0 5 10 0 0 90 0 1
 pinseq=3
 T 800 355 5 10 1 1 90 0 1
-pinlabel=OUT
+pinlabel=IN
 T 750 205 5 10 1 1 90 6 1
 pinnumber=3
 }
@@ -19,7 +19,7 @@ pintype=pwr
 T 500 0 5 10 0 0 90 0 1
 pinseq=2
 T 500 355 5 10 1 1 90 0 1
-pinlabel=GND
+pinlabel=OUT
 T 450 205 5 10 1 1 90 6 1
 pinnumber=2
 }
@@ -30,7 +30,7 @@ pintype=pwr
 T 200 0 5 10 0 0 90 0 1
 pinseq=1
 T 200 355 5 10 1 1 90 0 1
-pinlabel=IN
+pinlabel=GND
 T 150 205 5 10 1 1 90 6 1
 pinnumber=1
 }

+ 1 - 1
Gedalib/MC33269DT-3.3G.sym~

@@ -31,7 +31,7 @@ T 200 0 5 10 0 0 90 0 1
 pinseq=1
 T 200 355 5 10 1 1 90 0 1
 pinlabel=IN
-T 150 205 5 10 0 1 90 6 1
+T 150 205 5 10 1 1 90 6 1
 pinnumber=1
 }
 L 0 300 1000 300 3 0 0 0 -1 -1

+ 543 - 0
Gedalib/stm32f103x4_lqfp48.sym

@@ -0,0 +1,543 @@
+v 20130925 2
+T 400 700 5 10 0 0 0 0 1
+device=MICROCONTROLLER
+P 9200 3400 9500 3400 1 0 0
+{
+T 9200 3400 5 10 0 0 0 0 1
+pintype=io
+T 9200 3400 5 10 0 0 0 0 1
+pinseq=10
+T 9405 3445 5 10 1 1 0 6 1
+pinnumber=10
+}
+P 9200 3800 9500 3800 1 0 0
+{
+T 9200 3800 5 10 0 0 0 0 1
+pintype=io
+T 9200 3800 5 10 0 0 0 0 1
+pinseq=9
+T 9405 3845 5 10 1 1 0 6 1
+pinnumber=9
+}
+P 9200 4200 9500 4200 1 0 0
+{
+T 9200 4200 5 10 0 0 0 0 1
+pintype=io
+T 9200 4200 5 10 0 0 0 0 1
+pinseq=8
+T 9405 4245 5 10 1 1 0 6 1
+pinnumber=8
+}
+P 9200 4600 9500 4600 1 0 0
+{
+T 9200 4600 5 10 0 0 0 0 1
+pintype=io
+T 9200 4600 5 10 0 0 0 0 1
+pinseq=7
+T 9405 4645 5 10 1 1 0 6 1
+pinnumber=7
+}
+P 9200 5000 9500 5000 1 0 0
+{
+T 9200 5000 5 10 0 0 0 0 1
+pintype=io
+T 9200 5000 5 10 0 0 0 0 1
+pinseq=6
+T 9405 5045 5 10 1 1 0 6 1
+pinnumber=6
+}
+P 9200 5400 9500 5400 1 0 0
+{
+T 9200 5400 5 10 0 0 0 0 1
+pintype=pwr
+T 9200 5400 5 10 0 0 0 0 1
+pinseq=5
+T 9405 5445 5 10 1 1 0 6 1
+pinnumber=5
+}
+P 9200 5800 9500 5800 1 0 0
+{
+T 9200 5800 5 10 0 0 0 0 1
+pintype=in
+T 9200 5800 5 10 0 0 0 0 1
+pinseq=4
+T 9405 5845 5 10 1 1 0 6 1
+pinnumber=4
+}
+P 9200 6200 9500 6200 1 0 0
+{
+T 9200 6200 5 10 0 0 0 0 1
+pintype=out
+T 9200 6200 5 10 0 0 0 0 1
+pinseq=3
+T 9405 6245 5 10 1 1 0 6 1
+pinnumber=3
+}
+P 9200 6600 9500 6600 1 0 0
+{
+T 9200 6600 5 10 0 0 0 0 1
+pintype=in
+T 9200 6600 5 10 0 0 0 0 1
+pinseq=2
+T 9405 6645 5 10 1 1 0 6 1
+pinnumber=2
+}
+P 9200 7000 9500 7000 1 0 0
+{
+T 9200 7000 5 10 0 0 0 0 1
+pintype=in
+T 9200 7000 5 10 0 0 0 0 1
+pinseq=1
+T 9405 7045 5 10 1 1 0 6 1
+pinnumber=1
+}
+P 9200 3000 9500 3000 1 0 0
+{
+T 9200 3000 5 10 0 0 0 0 1
+pintype=io
+T 9200 3000 5 10 0 0 0 0 1
+pinseq=10
+T 9405 3045 5 10 1 1 0 6 1
+pinnumber=11
+}
+P 9200 2600 9500 2600 1 0 0
+{
+T 9200 2600 5 10 0 0 0 0 1
+pintype=io
+T 9200 2600 5 10 0 0 0 0 1
+pinseq=10
+T 9405 2645 5 10 1 1 0 6 1
+pinnumber=12
+}
+P 13500 1900 13500 2200 1 0 0
+{
+T 13500 1900 5 10 0 0 90 0 1
+pintype=io
+T 13500 1900 5 10 0 0 90 0 1
+pinseq=10
+T 13450 2105 5 10 1 1 90 6 1
+pinnumber=22
+}
+P 13100 1900 13100 2200 1 0 0
+{
+T 13100 1900 5 10 0 0 90 0 1
+pintype=io
+T 13100 1900 5 10 0 0 90 0 1
+pinseq=9
+T 13050 2105 5 10 1 1 90 6 1
+pinnumber=21
+}
+P 12700 1900 12700 2200 1 0 0
+{
+T 12700 1900 5 10 0 0 90 0 1
+pintype=io
+T 12700 1900 5 10 0 0 90 0 1
+pinseq=8
+T 12650 2105 5 10 1 1 90 6 1
+pinnumber=20
+}
+P 12300 1900 12300 2200 1 0 0
+{
+T 12300 1900 5 10 0 0 90 0 1
+pintype=io
+T 12300 1900 5 10 0 0 90 0 1
+pinseq=7
+T 12250 2105 5 10 1 1 90 6 1
+pinnumber=19
+}
+P 11900 1900 11900 2200 1 0 0
+{
+T 11900 1900 5 10 0 0 90 0 1
+pintype=io
+T 11900 1900 5 10 0 0 90 0 1
+pinseq=6
+T 11850 2105 5 10 1 1 90 6 1
+pinnumber=18
+}
+P 11500 1900 11500 2200 1 0 0
+{
+T 11500 1900 5 10 0 0 90 0 1
+pintype=pwr
+T 11500 1900 5 10 0 0 90 0 1
+pinseq=5
+T 11450 2105 5 10 1 1 90 6 1
+pinnumber=17
+}
+P 11100 1900 11100 2200 1 0 0
+{
+T 11100 1900 5 10 0 0 90 0 1
+pintype=in
+T 11100 1900 5 10 0 0 90 0 1
+pinseq=4
+T 11050 2105 5 10 1 1 90 6 1
+pinnumber=16
+}
+P 10700 1900 10700 2200 1 0 0
+{
+T 10700 1900 5 10 0 0 90 0 1
+pintype=out
+T 10700 1900 5 10 0 0 90 0 1
+pinseq=3
+T 10650 2105 5 10 1 1 90 6 1
+pinnumber=15
+}
+P 10300 1900 10300 2200 1 0 0
+{
+T 10300 1900 5 10 0 0 90 0 1
+pintype=in
+T 10300 1900 5 10 0 0 90 0 1
+pinseq=2
+T 10250 2105 5 10 1 1 90 6 1
+pinnumber=14
+}
+P 9900 1900 9900 2200 1 0 0
+{
+T 9900 1900 5 10 0 0 90 0 1
+pintype=in
+T 9900 1900 5 10 0 0 90 0 1
+pinseq=1
+T 9850 2105 5 10 1 1 90 6 1
+pinnumber=13
+}
+P 13900 1900 13900 2200 1 0 0
+{
+T 13900 1900 5 10 0 0 90 0 1
+pintype=io
+T 13900 1900 5 10 0 0 90 0 1
+pinseq=10
+T 13850 2105 5 10 1 1 90 6 1
+pinnumber=23
+}
+P 14300 1900 14300 2200 1 0 0
+{
+T 14300 1900 5 10 0 0 90 0 1
+pintype=io
+T 14300 1900 5 10 0 0 90 0 1
+pinseq=10
+T 14250 2105 5 10 1 1 90 6 1
+pinnumber=24
+}
+P 15000 3400 14700 3400 1 0 0
+{
+T 15000 3400 5 10 0 0 0 6 1
+pintype=io
+T 15000 3400 5 10 0 0 0 6 1
+pinseq=10
+T 14795 3445 5 10 1 1 0 0 1
+pinnumber=27
+}
+P 15000 3800 14700 3800 1 0 0
+{
+T 15000 3800 5 10 0 0 0 6 1
+pintype=io
+T 15000 3800 5 10 0 0 0 6 1
+pinseq=9
+T 14795 3845 5 10 1 1 0 0 1
+pinnumber=28
+}
+P 15000 4200 14700 4200 1 0 0
+{
+T 15000 4200 5 10 0 0 0 6 1
+pintype=io
+T 15000 4200 5 10 0 0 0 6 1
+pinseq=8
+T 14795 4245 5 10 1 1 0 0 1
+pinnumber=29
+}
+P 15000 4600 14700 4600 1 0 0
+{
+T 15000 4600 5 10 0 0 0 6 1
+pintype=io
+T 15000 4600 5 10 0 0 0 6 1
+pinseq=7
+T 14795 4645 5 10 1 1 0 0 1
+pinnumber=30
+}
+P 15000 5000 14700 5000 1 0 0
+{
+T 15000 5000 5 10 0 0 0 6 1
+pintype=io
+T 15000 5000 5 10 0 0 0 6 1
+pinseq=6
+T 14795 5045 5 10 1 1 0 0 1
+pinnumber=31
+}
+P 15000 5400 14700 5400 1 0 0
+{
+T 15000 5400 5 10 0 0 0 6 1
+pintype=pwr
+T 15000 5400 5 10 0 0 0 6 1
+pinseq=5
+T 14795 5445 5 10 1 1 0 0 1
+pinnumber=32
+}
+P 15000 5800 14700 5800 1 0 0
+{
+T 15000 5800 5 10 0 0 0 6 1
+pintype=in
+T 15000 5800 5 10 0 0 0 6 1
+pinseq=4
+T 14795 5845 5 10 1 1 0 0 1
+pinnumber=33
+}
+P 15000 6200 14700 6200 1 0 0
+{
+T 15000 6200 5 10 0 0 0 6 1
+pintype=out
+T 15000 6200 5 10 0 0 0 6 1
+pinseq=3
+T 14795 6245 5 10 1 1 0 0 1
+pinnumber=34
+}
+P 15000 6600 14700 6600 1 0 0
+{
+T 15000 6600 5 10 0 0 0 6 1
+pintype=in
+T 15000 6600 5 10 0 0 0 6 1
+pinseq=2
+T 14795 6645 5 10 1 1 0 0 1
+pinnumber=35
+}
+P 15000 7000 14700 7000 1 0 0
+{
+T 15000 7000 5 10 0 0 0 6 1
+pintype=in
+T 15000 7000 5 10 0 0 0 6 1
+pinseq=1
+T 14795 7045 5 10 1 1 0 0 1
+pinnumber=36
+}
+P 15000 3000 14700 3000 1 0 0
+{
+T 15000 3000 5 10 0 0 0 6 1
+pintype=io
+T 15000 3000 5 10 0 0 0 6 1
+pinseq=10
+T 14795 3045 5 10 1 1 0 0 1
+pinnumber=26
+}
+P 15000 2600 14700 2600 1 0 0
+{
+T 15000 2600 5 10 0 0 0 6 1
+pintype=io
+T 15000 2600 5 10 0 0 0 6 1
+pinseq=10
+T 14795 2645 5 10 1 1 0 0 1
+pinnumber=25
+}
+P 10700 7700 10700 7400 1 0 0
+{
+T 10700 7700 5 10 0 0 270 0 1
+pintype=io
+T 10700 7700 5 10 0 0 270 0 1
+pinseq=10
+T 10650 7495 5 10 1 1 90 0 1
+pinnumber=46
+}
+P 11100 7700 11100 7400 1 0 0
+{
+T 11100 7700 5 10 0 0 270 0 1
+pintype=io
+T 11100 7700 5 10 0 0 270 0 1
+pinseq=9
+T 11050 7495 5 10 1 1 90 0 1
+pinnumber=45
+}
+P 11500 7700 11500 7400 1 0 0
+{
+T 11500 7700 5 10 0 0 270 0 1
+pintype=io
+T 11500 7700 5 10 0 0 270 0 1
+pinseq=8
+T 11450 7495 5 10 1 1 90 0 1
+pinnumber=44
+}
+P 11900 7700 11900 7400 1 0 0
+{
+T 11900 7700 5 10 0 0 270 0 1
+pintype=io
+T 11900 7700 5 10 0 0 270 0 1
+pinseq=7
+T 11850 7495 5 10 1 1 90 0 1
+pinnumber=43
+}
+P 12300 7700 12300 7400 1 0 0
+{
+T 12300 7700 5 10 0 0 270 0 1
+pintype=io
+T 12300 7700 5 10 0 0 270 0 1
+pinseq=6
+T 12250 7495 5 10 1 1 90 0 1
+pinnumber=42
+}
+P 12700 7700 12700 7400 1 0 0
+{
+T 12700 7700 5 10 0 0 270 0 1
+pintype=pwr
+T 12700 7700 5 10 0 0 270 0 1
+pinseq=5
+T 12650 7495 5 10 1 1 90 0 1
+pinnumber=41
+}
+P 13100 7700 13100 7400 1 0 0
+{
+T 13100 7700 5 10 0 0 270 0 1
+pintype=in
+T 13100 7700 5 10 0 0 270 0 1
+pinseq=4
+T 13050 7495 5 10 1 1 90 0 1
+pinnumber=40
+}
+P 13500 7700 13500 7400 1 0 0
+{
+T 13500 7700 5 10 0 0 270 0 1
+pintype=out
+T 13500 7700 5 10 0 0 270 0 1
+pinseq=3
+T 13450 7495 5 10 1 1 90 0 1
+pinnumber=39
+}
+P 13900 7700 13900 7400 1 0 0
+{
+T 13900 7700 5 10 0 0 270 0 1
+pintype=in
+T 13900 7700 5 10 0 0 270 0 1
+pinseq=2
+T 13850 7495 5 10 1 1 90 0 1
+pinnumber=38
+}
+P 14300 7700 14300 7400 1 0 0
+{
+T 14300 7700 5 10 0 0 270 0 1
+pintype=in
+T 14300 7700 5 10 0 0 270 0 1
+pinseq=1
+T 14250 7495 5 10 1 1 90 0 1
+pinnumber=37
+}
+P 10300 7700 10300 7400 1 0 0
+{
+T 10300 7700 5 10 0 0 270 0 1
+pintype=io
+T 10300 7700 5 10 0 0 270 0 1
+pinseq=10
+T 10250 7495 5 10 1 1 90 0 1
+pinnumber=47
+}
+P 9900 7700 9900 7400 1 0 0
+{
+T 9900 7700 5 10 0 0 270 0 1
+pintype=io
+T 9900 7700 5 10 0 0 270 0 1
+pinseq=10
+T 9850 7495 5 10 1 1 90 0 1
+pinnumber=48
+}
+L 9500 7000 9500 7200 3 0 0 0 -1 -1
+L 9700 7400 9500 7200 3 0 0 0 -1 -1
+L 9700 7400 14500 7400 3 0 0 0 -1 -1
+L 14500 7400 14700 7200 3 0 0 0 -1 -1
+L 14700 7200 14700 2400 3 0 0 0 -1 -1
+L 14700 2400 14500 2200 3 0 0 0 -1 -1
+L 14500 2200 9700 2200 3 0 0 0 -1 -1
+L 9700 2200 9500 2400 3 0 0 0 -1 -1
+L 9500 7000 9500 2400 3 0 0 0 -1 -1
+T 9500 6500 9 10 1 0 0 0 1
+TAMPER
+T 9500 6100 9 10 1 0 0 0 1
+OSC_IN
+T 9500 5700 9 10 1 0 0 0 1
+OSC_OUT
+T 9500 6900 9 10 1 0 0 0 1
+VBAT
+T 9500 4500 9 10 1 0 0 0 1
+NRST
+T 9500 4100 9 10 1 0 0 0 1
+VSSA
+T 9500 3700 9 10 1 0 0 0 1
+VDDA
+T 9500 3300 9 10 1 0 0 0 1
+PA0
+T 9500 2900 9 10 1 0 0 0 1
+PA1
+T 9500 2500 9 10 1 0 0 0 1
+PA2
+T 9500 5300 9 10 1 0 0 0 1
+OSC1_IN
+T 9500 4900 9 10 1 0 0 0 1
+OSC1_OUT
+T 10100 6900 9 10 1 0 90 0 1
+VDD3
+T 10400 6900 9 10 1 0 90 0 1
+VSS3
+T 10800 7000 9 10 1 0 90 0 1
+PB9
+T 11200 7000 9 10 1 0 90 0 1
+PB8
+T 11600 6700 9 10 1 0 90 0 1
+BOOT0
+T 12000 7000 9 10 1 0 90 0 1
+PB7
+T 12400 7000 9 10 1 0 90 0 1
+PB6
+T 12800 7000 9 10 1 0 90 0 1
+PB5
+T 13200 7000 9 10 1 0 90 0 1
+PB4
+T 13600 7000 9 10 1 0 90 0 1
+PB3
+T 14000 6900 9 10 1 0 90 0 1
+PA15
+T 14300 6900 9 10 1 0 90 0 1
+PA14
+T 14200 6800 9 10 1 0 0 0 1
+VDD2
+T 14200 6500 9 10 1 0 0 0 1
+VSS2
+T 14200 6100 9 10 1 0 0 0 1
+PA13
+T 14200 5700 9 10 1 0 0 0 1
+PA12
+T 14200 5300 9 10 1 0 0 0 1
+PA11
+T 14200 4900 9 10 1 0 0 0 1
+PA10
+T 14300 4500 9 10 1 0 0 0 1
+PA9
+T 14300 4100 9 10 1 0 0 0 1
+PA8
+T 14200 3700 9 10 1 0 0 0 1
+PB15
+T 14200 3300 9 10 1 0 0 0 1
+PB14
+T 14200 2900 9 10 1 0 0 0 1
+PB13
+T 14200 2600 9 10 1 0 0 0 1
+PB12
+T 14200 2300 9 10 1 0 90 0 1
+VDD1
+T 13900 2300 9 10 1 0 90 0 1
+VSS1
+T 13500 2300 9 10 1 0 90 0 1
+PB11
+T 13100 2300 9 10 1 0 90 0 1
+PB10
+T 12700 2300 9 10 1 0 90 0 1
+PB2
+T 12300 2300 9 10 1 0 90 0 1
+PB1
+T 11900 2300 9 10 1 0 90 0 1
+PB0
+T 11500 2300 9 10 1 0 90 0 1
+PA7
+T 11100 2300 9 10 1 0 90 0 1
+PA6
+T 10700 2300 9 10 1 0 90 0 1
+PA5
+T 10400 2300 9 10 1 0 90 0 1
+PA4
+T 10000 2300 9 10 1 0 90 0 1
+PA3
+T 11700 4700 9 10 1 0 0 0 2
+stm32f103X4
+     lqfp48

+ 235 - 0
Gedalib/stm32f103x4_lqfp48.sym~

@@ -0,0 +1,235 @@
+v 20130925 2
+T 400 700 5 10 0 0 0 0 1
+device=MICROCONTROLLER
+P 0 200 300 200 1 0 0
+{
+T 0 200 5 10 0 0 0 0 1
+pintype=io
+T 0 200 5 10 0 0 0 0 1
+pinseq=10
+T 355 195 5 10 1 1 0 0 1
+pinlabel=PA4
+T 205 245 5 10 1 1 0 6 1
+pinnumber=10
+}
+P 0 500 300 500 1 0 0
+{
+T 0 500 5 10 0 0 0 0 1
+pintype=io
+T 0 500 5 10 0 0 0 0 1
+pinseq=9
+T 355 495 5 10 1 1 0 0 1
+pinlabel=PA3
+T 205 545 5 10 1 1 0 6 1
+pinnumber=9
+}
+P 0 800 300 800 1 0 0
+{
+T 0 800 5 10 0 0 0 0 1
+pintype=io
+T 0 800 5 10 0 0 0 0 1
+pinseq=8
+T 355 795 5 10 1 1 0 0 1
+pinlabel=PA2
+T 205 845 5 10 1 1 0 6 1
+pinnumber=8
+}
+P 0 1100 300 1100 1 0 0
+{
+T 0 1100 5 10 0 0 0 0 1
+pintype=io
+T 0 1100 5 10 0 0 0 0 1
+pinseq=7
+T 355 1095 5 10 1 1 0 0 1
+pinlabel=PA1
+T 205 1145 5 10 1 1 0 6 1
+pinnumber=7
+}
+P 0 1400 300 1400 1 0 0
+{
+T 0 1400 5 10 0 0 0 0 1
+pintype=io
+T 0 1400 5 10 0 0 0 0 1
+pinseq=6
+T 355 1395 5 10 1 1 0 0 1
+pinlabel=PA0
+T 205 1445 5 10 1 1 0 6 1
+pinnumber=6
+}
+P 0 1700 300 1700 1 0 0
+{
+T 0 1700 5 10 0 0 0 0 1
+pintype=pwr
+T 0 1700 5 10 0 0 0 0 1
+pinseq=5
+T 355 1695 5 10 1 1 0 0 1
+pinlabel=VDDA
+T 205 1745 5 10 1 1 0 6 1
+pinnumber=5
+}
+P 0 2000 300 2000 1 0 0
+{
+T 0 2000 5 10 0 0 0 0 1
+pintype=in
+T 0 2000 5 10 0 0 0 0 1
+pinseq=4
+T 355 1995 5 10 1 1 0 0 1
+pinlabel=NRST
+T 205 2045 5 10 1 1 0 6 1
+pinnumber=4
+}
+P 0 2300 300 2300 1 0 0
+{
+T 0 2300 5 10 0 0 0 0 1
+pintype=out
+T 0 2300 5 10 0 0 0 0 1
+pinseq=3
+T 355 2295 5 10 1 1 0 0 1
+pinlabel=PF1/OSC_O
+T 205 2345 5 10 1 1 0 6 1
+pinnumber=3
+}
+P 0 2600 300 2600 1 0 0
+{
+T 0 2600 5 10 0 0 0 0 1
+pintype=in
+T 0 2600 5 10 0 0 0 0 1
+pinseq=2
+T 355 2595 5 10 1 1 0 0 1
+pinlabel=PF0/OSC_I
+T 205 2645 5 10 1 1 0 6 1
+pinnumber=2
+}
+P 0 2900 300 2900 1 0 0
+{
+T 0 2900 5 10 0 0 0 0 1
+pintype=in
+T 0 2900 5 10 0 0 0 0 1
+pinseq=1
+T 355 2895 5 10 1 1 0 0 1
+pinlabel=BOOT0
+T 205 2945 5 10 1 1 0 6 1
+pinnumber=1
+}
+P 2300 2900 2000 2900 1 0 0
+{
+T 2300 2900 5 10 0 0 180 0 1
+pintype=io
+T 2300 2900 5 10 0 0 180 0 1
+pinseq=20
+T 1945 2895 5 10 1 1 0 6 1
+pinlabel=PA14
+T 2095 2945 5 10 1 1 0 0 1
+pinnumber=20
+}
+P 2300 2600 2000 2600 1 0 0
+{
+T 2300 2600 5 10 0 0 180 0 1
+pintype=io
+T 2300 2600 5 10 0 0 180 0 1
+pinseq=19
+T 1945 2595 5 10 1 1 0 6 1
+pinlabel=PA13
+T 2095 2645 5 10 1 1 0 0 1
+pinnumber=19
+}
+P 2300 2300 2000 2300 1 0 0
+{
+T 2300 2300 5 10 0 0 180 0 1
+pintype=io
+T 2300 2300 5 10 0 0 180 0 1
+pinseq=18
+T 1945 2295 5 10 1 1 0 6 1
+pinlabel=PA10
+T 2095 2345 5 10 1 1 0 0 1
+pinnumber=18
+}
+P 2300 2000 2000 2000 1 0 0
+{
+T 2300 2000 5 10 0 0 180 0 1
+pintype=io
+T 2300 2000 5 10 0 0 180 0 1
+pinseq=17
+T 1945 1995 5 10 1 1 0 6 1
+pinlabel=PA9
+T 2095 2045 5 10 1 1 0 0 1
+pinnumber=17
+}
+P 2300 1700 2000 1700 1 0 0
+{
+T 2300 1700 5 10 0 0 180 0 1
+pintype=pwr
+T 2300 1700 5 10 0 0 180 0 1
+pinseq=16
+T 1945 1695 5 10 1 1 0 6 1
+pinlabel=Vdd
+T 2095 1745 5 10 1 1 0 0 1
+pinnumber=16
+}
+P 2300 1400 2000 1400 1 0 0
+{
+T 2300 1400 5 10 0 0 180 0 1
+pintype=pwr
+T 2300 1400 5 10 0 0 180 0 1
+pinseq=15
+T 1945 1395 5 10 1 1 0 6 1
+pinlabel=Vss
+T 2095 1445 5 10 1 1 0 0 1
+pinnumber=15
+}
+P 2300 1100 2000 1100 1 0 0
+{
+T 2300 1100 5 10 0 0 180 0 1
+pintype=io
+T 2300 1100 5 10 0 0 180 0 1
+pinseq=14
+T 1945 1095 5 10 1 1 0 6 1
+pinlabel=PB1
+T 2095 1145 5 10 1 1 0 0 1
+pinnumber=14
+}
+P 2300 800 2000 800 1 0 0
+{
+T 2300 800 5 10 0 0 180 0 1
+pintype=io
+T 2300 800 5 10 0 0 180 0 1
+pinseq=13
+T 1945 795 5 10 1 1 0 6 1
+pinlabel=PA7
+T 2095 845 5 10 1 1 0 0 1
+pinnumber=13
+}
+P 2300 500 2000 500 1 0 0
+{
+T 2300 500 5 10 0 0 180 0 1
+pintype=io
+T 2300 500 5 10 0 0 180 0 1
+pinseq=12
+T 1945 495 5 10 1 1 0 6 1
+pinlabel=PA6
+T 2095 545 5 10 1 1 0 0 1
+pinnumber=12
+}
+P 2300 200 2000 200 1 0 0
+{
+T 2300 200 5 10 0 0 180 0 1
+pintype=io
+T 2300 200 5 10 0 0 180 0 1
+pinseq=11
+T 1945 195 5 10 1 1 0 6 1
+pinlabel=PA5
+T 2095 245 5 10 1 1 0 0 1
+pinnumber=11
+}
+L 300 3000 300 100 3 0 0 0 -1 -1
+L 300 100 400 0 3 0 0 0 -1 -1
+L 400 0 1900 0 3 0 0 0 -1 -1
+L 1900 0 2000 100 3 0 0 0 -1 -1
+L 2000 100 2000 3000 3 0 0 0 -1 -1
+L 2000 3000 1900 3100 3 0 0 0 -1 -1
+L 1900 3100 400 3100 3 0 0 0 -1 -1
+L 400 3100 300 3000 3 0 0 0 -1 -1
+T 1100 2005 8 10 1 1 270 0 1
+model=STM32F030F4P6
+T 1095 3200 8 10 1 1 0 0 1
+refdes=?

+ 359 - 0
eagle/Sine_Logger/eagle.epf

@@ -0,0 +1,359 @@
+[Eagle]
+Version="07 03 00"
+Platform="Linux"
+Serial="62191E841E-LSR-WLM-1EL"
+Globals="Globals"
+Desktop="Desktop"
+
+[Globals]
+AutoSaveProject=1
+UsedLibrary="/home/trurl/.eagle/lbr/19inch.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/40xx.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/41xx.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/45xx.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/74ac-logic.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/74ttl-din.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/74xx-eu.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/74xx-little-de.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/74xx-little-us.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/74xx-us.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/751xx.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/IQD-Frequency-Products.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/advanced-test-technologies.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/agilent-technologies.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/allegro.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/altera-cyclone-II.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/altera-cyclone-III.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/altera-stratix-iv.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/altera.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/am29-memory.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/amd-mach.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/amd.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/amis.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/analog-devices.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/aplus.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/ase.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/atmel.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/austriamicrosystems.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/avago.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/axis.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/battery.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/belton-engineering.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/burr-brown.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/busbar.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/buzzer.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/c-trimm.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/california-micro-devices.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/capacitor-wima.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/chipcard-siemens.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/cirrus-logic.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-3m.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-4ucon.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-amp-champ.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-amp-micromatch.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-amp-mt.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-amp-mt6.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-amp-quick.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-amp-te.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-amp.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-amphenol.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-avx.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-berg.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-bosch.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-chipcard-iso7816.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-coax.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-commcon.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-conrad.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-cpci.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-cui.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-cypressindustries.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-deutsch.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-dil.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-ebyelectro.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-elco.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-erni.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-faston.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-fci.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-friwo.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-garry.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-harting-h.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-harting-ml.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-harting-v.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-harting.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-hirose.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-hirschmann.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-jack.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-jae.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-jst.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-kycon.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-kyocera-elco.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-lemo.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-leotronics.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-lsta.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-lstb.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-lumberg.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-ml.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-molex.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-neutrik_ag.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-omron.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-panasonic.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-panduit.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-pc.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-pc104.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-phoenix-254.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-phoenix-3.81.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-phoenix-350.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-phoenix-500.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-phoenix-508.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-phoenix-762.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-phoenix-me_max.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-phoenix-mkds_5.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-phoenix-smkdsp.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-ptr500.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-pulse.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-rib.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-samtec.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-shallin.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-shiua-chyuan.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-stewart.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-stocko.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-subd.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-sullinselectronics.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-thomas-betts.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-tyco.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-tycoelectronics.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-vg.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-wago-500.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-wago-508.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-wago.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-wago255.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-weidmueller-sl35.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-wenzhou-yihua.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-xmultiple.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/con-yamaichi.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/crystal.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/csr.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/cypress.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/davicom.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/dc-dc-converter.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/dimensions.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/diode.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/discrete.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/display-hp.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/display-kingbright.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/display-lcd.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/docu-dummy.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/eagle-ltspice.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/ecl.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/em-microelectronic.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/etx-board.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/exar.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/fairchild-semic.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/farnell.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/fiber-optic-hp.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/fiber-optic-siemens.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/fifo.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/flexipanel.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/fox-electronics.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/frames.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/freescale.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/ftdichip.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/fujitsu.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/fuse.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/gennum.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/halo-electronics.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/heatsink.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/holes.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/holtek.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/ic-package.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/inductor-coilcraft.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/inductor-neosid.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/inductor-nkl.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/inductors.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/infineon-tricore.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/infineon.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/intersil-techwell.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/intersil.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/ir.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/isd.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/johanson-technology.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/jump-0r-smd.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/jumper.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/lantronix.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/lattice.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/lc-filter.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/led-7-segment.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/led-citizen-electronics.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/led-lumiled.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/led.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/lem.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/linear-technology.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/linear.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/linx.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/logo.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/lprs.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/lsi-computer-systems.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/lumiled.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/marks.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/maxim.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/maxstream.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/melexis.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/memory-hitachi.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/memory-idt.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/memory-micron.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/memory-motorola-dram.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/memory-nec.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/memory-samsung.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/memory-sram.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/memory.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/mems.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/micrel.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/micro-cyrod.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/micro-fujitsu.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/micro-harris.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/micro-hitachi.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/micro-infineon.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/micro-intel.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/micro-mc68000.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/micro-motorola.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/micro-philips.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/micro-renesas.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/micro-samsung.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/micro-siemens.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/microchip.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/micron.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/micronas.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/microphon.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/microwave.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/midori-sensor.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/minicircuits.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/mitsubishi-semiconductor.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/motorola-sensor-driver.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/murata-filter.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/murata-sensor.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/nanotec.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/national-instruments.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/national-semiconductor.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/nec-lqfp100-pack.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/nec.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/nrj-semiconductor.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/omnivision.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/on-semiconductor.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/opto-honeywell-3000.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/opto-honeywell-4000.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/opto-honeywell.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/opto-micro-linear.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/opto-trans-siemens.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/opto-transmittter-hp.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/opto-vishay.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/optocoupler.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/pal.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/philips-semiconductors.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/photo-elements.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/piher.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/pinhead.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/plcc-socket.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/pld-intel.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/plxtech.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/pot-vitrohm.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/pot-xicor.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/pot.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/ptc-ntc.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/quantum-research-group.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/rcl.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/recom-international.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/rectifier.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/ref-packages-longpad.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/ref-packages.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/relay.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/renesas.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/resistor-bourns.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/resistor-dil.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/resistor-net.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/resistor-power.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/resistor-ruf.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/resistor-shunt.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/resistor-sil.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/resistor.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/rf-micro-devices.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/rf-solutions.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/rohm.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/roundsolutions.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/semicon-smd-ipc.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/sensor-comus-group.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/sensor-heraeus.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/sensor-infratec.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/sharp.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/silabs.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/sim-technology.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/sipex.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/smd-ipc.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/smd-special.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/solomon-systech.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/solpad.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/speaker.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/special-drill.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/special.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/st-microelectronics.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/stm32.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/stm32xx.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/supertex.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/supply1.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/supply2.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/switch-alps.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/switch-coto.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/switch-dil.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/switch-misc.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/switch-omron.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/switch-raychem.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/switch-reed.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/switch.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/telcom.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/telecontrolli.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/telefunken.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/testpad.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/texas-sn55-sn75.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/texas.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/toshiba.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/traco-electronic.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/trafo-bei.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/trafo-hammondmfg.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/trafo-siemens.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/trafo-xicon.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/trafo.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/transformer-pulse.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/transistor-fet.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/transistor-neu-to92.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/transistor-npn.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/transistor-pnp.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/transistor-power.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/transistor-small-signal.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/transistor.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/triac.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/trimble.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/tripas.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/u-blox.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/uln-udn.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/v-reg-micrel.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/v-reg.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/varistor.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/wafer-scale-psd.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/wirepad.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/xicor.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/xilinx-virtex-v5.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/xilinx-xc18v.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/xilinx-xc9.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/xilinx-xcv.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/zetex.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/zilog.lbr"
+UsedLibrary="/home/trurl/.eagle/lbr/mc33269dt.lbr"
+
+[Win_1]
+Type="Control Panel"
+Loc="0 0 1917 1077"
+State=2
+Number=0
+
+[Desktop]
+Screen="3840 1080"
+Window="Win_1"

File diff suppressed because it is too large
+ 2144 - 0
eagle/Sine_Logger/test.b##


+ 25 - 0
eagle/Sine_Logger/test.pro

@@ -0,0 +1,25 @@
+EAGLE AutoRouter Statistics:
+
+Job           : /home/trurl/eagle/Новый_проект/test.brd
+
+Start at      : 10:12:45 (05.08.15)
+End at        : 10:12:57 (05.08.15)
+Elapsed time  : 
+
+Signals       :    14   RoutingGrid: 9 mil  Layers: 2
+Connections   :    28   predefined:  0 ( 0 Vias )
+
+Router memory :   804784
+
+Passname          : TopRouter     Route Optimize1 Optimize2 Optimize3 Optimize4
+
+Time per pass     :            
+Number of Ripups  :         0         0         0         0         0         0
+max. Level        :         0         1         0         0         0         0
+max. Total        :         0         0         0         0         0         0
+
+Routed            :        25        26        24        24        24        24
+Vias              :         0         2         0         0         0         0
+Resolution        :    89.3 %    92.9 %    85.7 %    85.7 %    85.7 %    85.7 %
+
+Final             : 85.7% завершен

File diff suppressed because it is too large
+ 12660 - 0
eagle/Sine_Logger/test.s#1


File diff suppressed because it is too large
+ 12637 - 0
eagle/Sine_Logger/test.s#2


File diff suppressed because it is too large
+ 12443 - 0
eagle/Sine_Logger/test.s#3


File diff suppressed because it is too large
+ 12439 - 0
eagle/Sine_Logger/test.s#4


File diff suppressed because it is too large
+ 12400 - 0
eagle/Sine_Logger/test.s#5


File diff suppressed because it is too large
+ 4680 - 0
eagle/Sine_Logger/test.s#6


File diff suppressed because it is too large
+ 4403 - 0
eagle/Sine_Logger/test.s#7


File diff suppressed because it is too large
+ 4197 - 0
eagle/Sine_Logger/test.s#8


File diff suppressed because it is too large
+ 4179 - 0
eagle/Sine_Logger/test.s#9


File diff suppressed because it is too large
+ 12660 - 0
eagle/Sine_Logger/test.sch


BIN
eagle/Sine_Logger/test_00.job


BIN
eagle/Sine_Logger/test_01.job


BIN
eagle/Sine_Logger/test_02.job


BIN
eagle/Sine_Logger/test_03.job


BIN
eagle/Sine_Logger/test_04.job


+ 255 - 0
eagle/Sine_Logger/untitled.b##

@@ -0,0 +1,255 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE eagle SYSTEM "eagle.dtd">
+<eagle version="7.3.0">
+<drawing>
+<settings>
+<setting alwaysvectorfont="no"/>
+<setting verticaltext="up"/>
+</settings>
+<grid distance="25" unitdist="mil" unit="mil" style="lines" multiple="1" display="yes" altdistance="0.025" altunitdist="inch" altunit="inch"/>
+<layers>
+<layer number="1" name="Top" color="4" fill="1" visible="yes" active="yes"/>
+<layer number="16" name="Bottom" color="1" fill="1" visible="yes" active="yes"/>
+<layer number="17" name="Pads" color="2" fill="1" visible="yes" active="yes"/>
+<layer number="18" name="Vias" color="2" fill="1" visible="yes" active="yes"/>
+<layer number="19" name="Unrouted" color="6" fill="1" visible="yes" active="yes"/>
+<layer number="20" name="Dimension" color="15" fill="1" visible="yes" active="yes"/>
+<layer number="21" name="tPlace" color="7" fill="1" visible="yes" active="yes"/>
+<layer number="22" name="bPlace" color="7" fill="1" visible="yes" active="yes"/>
+<layer number="23" name="tOrigins" color="15" fill="1" visible="yes" active="yes"/>
+<layer number="24" name="bOrigins" color="15" fill="1" visible="yes" active="yes"/>
+<layer number="25" name="tNames" color="7" fill="1" visible="yes" active="yes"/>
+<layer number="26" name="bNames" color="7" fill="1" visible="yes" active="yes"/>
+<layer number="27" name="tValues" color="7" fill="1" visible="yes" active="yes"/>
+<layer number="28" name="bValues" color="7" fill="1" visible="yes" active="yes"/>
+<layer number="29" name="tStop" color="7" fill="3" visible="yes" active="yes"/>
+<layer number="30" name="bStop" color="7" fill="6" visible="yes" active="yes"/>
+<layer number="31" name="tCream" color="7" fill="4" visible="yes" active="yes"/>
+<layer number="32" name="bCream" color="7" fill="5" visible="yes" active="yes"/>
+<layer number="33" name="tFinish" color="6" fill="3" visible="yes" active="yes"/>
+<layer number="34" name="bFinish" color="6" fill="6" visible="yes" active="yes"/>
+<layer number="35" name="tGlue" color="7" fill="4" visible="yes" active="yes"/>
+<layer number="36" name="bGlue" color="7" fill="5" visible="yes" active="yes"/>
+<layer number="37" name="tTest" color="7" fill="1" visible="yes" active="yes"/>
+<layer number="38" name="bTest" color="7" fill="1" visible="yes" active="yes"/>
+<layer number="39" name="tKeepout" color="4" fill="11" visible="yes" active="yes"/>
+<layer number="40" name="bKeepout" color="1" fill="11" visible="yes" active="yes"/>
+<layer number="41" name="tRestrict" color="4" fill="10" visible="yes" active="yes"/>
+<layer number="42" name="bRestrict" color="1" fill="10" visible="yes" active="yes"/>
+<layer number="43" name="vRestrict" color="2" fill="10" visible="yes" active="yes"/>
+<layer number="44" name="Drills" color="7" fill="1" visible="yes" active="yes"/>
+<layer number="45" name="Holes" color="7" fill="1" visible="yes" active="yes"/>
+<layer number="46" name="Milling" color="3" fill="1" visible="yes" active="yes"/>
+<layer number="47" name="Measures" color="7" fill="1" visible="yes" active="yes"/>
+<layer number="48" name="Document" color="7" fill="1" visible="yes" active="yes"/>
+<layer number="49" name="Reference" color="7" fill="1" visible="yes" active="yes"/>
+<layer number="51" name="tDocu" color="7" fill="1" visible="yes" active="yes"/>
+<layer number="52" name="bDocu" color="7" fill="1" visible="yes" active="yes"/>
+<layer number="91" name="Nets" color="2" fill="1" visible="no" active="no"/>
+<layer number="92" name="Busses" color="1" fill="1" visible="no" active="no"/>
+<layer number="93" name="Pins" color="2" fill="1" visible="no" active="no"/>
+<layer number="94" name="Symbols" color="4" fill="1" visible="no" active="no"/>
+<layer number="95" name="Names" color="7" fill="1" visible="no" active="no"/>
+<layer number="96" name="Values" color="7" fill="1" visible="no" active="no"/>
+<layer number="97" name="Info" color="7" fill="1" visible="no" active="no"/>
+<layer number="98" name="Guide" color="6" fill="1" visible="no" active="no"/>
+</layers>
+<board>
+<plain>
+</plain>
+<libraries>
+</libraries>
+<attributes>
+</attributes>
+<variantdefs>
+</variantdefs>
+<classes>
+<class number="0" name="default" width="0" drill="0">
+</class>
+</classes>
+<designrules name="default">
+<description language="de">&lt;b&gt;EAGLE Design Rules&lt;/b&gt;
+&lt;p&gt;
+Die Standard-Design-Rules sind so gewählt, dass sie für 
+die meisten Anwendungen passen. Sollte ihre Platine 
+besondere Anforderungen haben, treffen Sie die erforderlichen
+Einstellungen hier und speichern die Design Rules unter 
+einem neuen Namen ab.</description>
+<description language="en">&lt;b&gt;EAGLE Design Rules&lt;/b&gt;
+&lt;p&gt;
+The default Design Rules have been set to cover
+a wide range of applications. Your particular design
+may have different requirements, so please make the
+necessary adjustments and save your customized
+design rules under a new name.</description>
+<param name="layerSetup" value="(1*16)"/>
+<param name="mtCopper" value="0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm"/>
+<param name="mtIsolate" value="1.5mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm"/>
+<param name="mdWireWire" value="8mil"/>
+<param name="mdWirePad" value="8mil"/>
+<param name="mdWireVia" value="8mil"/>
+<param name="mdPadPad" value="8mil"/>
+<param name="mdPadVia" value="8mil"/>
+<param name="mdViaVia" value="8mil"/>
+<param name="mdSmdPad" value="8mil"/>
+<param name="mdSmdVia" value="8mil"/>
+<param name="mdSmdSmd" value="8mil"/>
+<param name="mdViaViaSameLayer" value="8mil"/>
+<param name="mnLayersViaInSmd" value="2"/>
+<param name="mdCopperDimension" value="40mil"/>
+<param name="mdDrill" value="8mil"/>
+<param name="mdSmdStop" value="0mil"/>
+<param name="msWidth" value="10mil"/>
+<param name="msDrill" value="24mil"/>
+<param name="msMicroVia" value="9.99mm"/>
+<param name="msBlindViaRatio" value="0.5"/>
+<param name="rvPadTop" value="0.25"/>
+<param name="rvPadInner" value="0.25"/>
+<param name="rvPadBottom" value="0.25"/>
+<param name="rvViaOuter" value="0.25"/>
+<param name="rvViaInner" value="0.25"/>
+<param name="rvMicroViaOuter" value="0.25"/>
+<param name="rvMicroViaInner" value="0.25"/>
+<param name="rlMinPadTop" value="10mil"/>
+<param name="rlMaxPadTop" value="20mil"/>
+<param name="rlMinPadInner" value="10mil"/>
+<param name="rlMaxPadInner" value="20mil"/>
+<param name="rlMinPadBottom" value="10mil"/>
+<param name="rlMaxPadBottom" value="20mil"/>
+<param name="rlMinViaOuter" value="8mil"/>
+<param name="rlMaxViaOuter" value="20mil"/>
+<param name="rlMinViaInner" value="8mil"/>
+<param name="rlMaxViaInner" value="20mil"/>
+<param name="rlMinMicroViaOuter" value="4mil"/>
+<param name="rlMaxMicroViaOuter" value="20mil"/>
+<param name="rlMinMicroViaInner" value="4mil"/>
+<param name="rlMaxMicroViaInner" value="20mil"/>
+<param name="psTop" value="-1"/>
+<param name="psBottom" value="-1"/>
+<param name="psFirst" value="-1"/>
+<param name="psElongationLong" value="100"/>
+<param name="psElongationOffset" value="100"/>
+<param name="mvStopFrame" value="1"/>
+<param name="mvCreamFrame" value="0"/>
+<param name="mlMinStopFrame" value="4mil"/>
+<param name="mlMaxStopFrame" value="4mil"/>
+<param name="mlMinCreamFrame" value="0mil"/>
+<param name="mlMaxCreamFrame" value="0mil"/>
+<param name="mlViaStopLimit" value="0mil"/>
+<param name="srRoundness" value="0"/>
+<param name="srMinRoundness" value="0mil"/>
+<param name="srMaxRoundness" value="0mil"/>
+<param name="slThermalIsolate" value="10mil"/>
+<param name="slThermalsForVias" value="0"/>
+<param name="dpMaxLengthDifference" value="10mm"/>
+<param name="dpGapFactor" value="2.5"/>
+<param name="checkGrid" value="0"/>
+<param name="checkAngle" value="0"/>
+<param name="checkFont" value="1"/>
+<param name="checkRestrict" value="1"/>
+<param name="useDiameter" value="13"/>
+<param name="maxErrors" value="50"/>
+</designrules>
+<autorouter>
+<pass name="Default">
+<param name="RoutingGrid" value="50mil"/>
+<param name="AutoGrid" value="1"/>
+<param name="Efforts" value="0"/>
+<param name="TopRouterVariant" value="1"/>
+<param name="tpViaShape" value="round"/>
+<param name="PrefDir.1" value="a"/>
+<param name="PrefDir.2" value="0"/>
+<param name="PrefDir.3" value="0"/>
+<param name="PrefDir.4" value="0"/>
+<param name="PrefDir.5" value="0"/>
+<param name="PrefDir.6" value="0"/>
+<param name="PrefDir.7" value="0"/>
+<param name="PrefDir.8" value="0"/>
+<param name="PrefDir.9" value="0"/>
+<param name="PrefDir.10" value="0"/>
+<param name="PrefDir.11" value="0"/>
+<param name="PrefDir.12" value="0"/>
+<param name="PrefDir.13" value="0"/>
+<param name="PrefDir.14" value="0"/>
+<param name="PrefDir.15" value="0"/>
+<param name="PrefDir.16" value="a"/>
+<param name="cfVia" value="8"/>
+<param name="cfNonPref" value="5"/>
+<param name="cfChangeDir" value="2"/>
+<param name="cfOrthStep" value="2"/>
+<param name="cfDiagStep" value="3"/>
+<param name="cfExtdStep" value="0"/>
+<param name="cfBonusStep" value="1"/>
+<param name="cfMalusStep" value="1"/>
+<param name="cfPadImpact" value="4"/>
+<param name="cfSmdImpact" value="4"/>
+<param name="cfBusImpact" value="0"/>
+<param name="cfHugging" value="3"/>
+<param name="cfAvoid" value="4"/>
+<param name="cfPolygon" value="10"/>
+<param name="cfBase.1" value="0"/>
+<param name="cfBase.2" value="1"/>
+<param name="cfBase.3" value="1"/>
+<param name="cfBase.4" value="1"/>
+<param name="cfBase.5" value="1"/>
+<param name="cfBase.6" value="1"/>
+<param name="cfBase.7" value="1"/>
+<param name="cfBase.8" value="1"/>
+<param name="cfBase.9" value="1"/>
+<param name="cfBase.10" value="1"/>
+<param name="cfBase.11" value="1"/>
+<param name="cfBase.12" value="1"/>
+<param name="cfBase.13" value="1"/>
+<param name="cfBase.14" value="1"/>
+<param name="cfBase.15" value="1"/>
+<param name="cfBase.16" value="0"/>
+<param name="mnVias" value="20"/>
+<param name="mnSegments" value="9999"/>
+<param name="mnExtdSteps" value="9999"/>
+<param name="mnRipupLevel" value="10"/>
+<param name="mnRipupSteps" value="100"/>
+<param name="mnRipupTotal" value="100"/>
+</pass>
+<pass name="Follow-me" refer="Default" active="yes">
+</pass>
+<pass name="Busses" refer="Default" active="yes">
+<param name="cfNonPref" value="4"/>
+<param name="cfBusImpact" value="4"/>
+<param name="cfHugging" value="0"/>
+<param name="mnVias" value="0"/>
+</pass>
+<pass name="Route" refer="Default" active="yes">
+</pass>
+<pass name="Optimize1" refer="Default" active="yes">
+<param name="cfVia" value="99"/>
+<param name="cfExtdStep" value="10"/>
+<param name="cfHugging" value="1"/>
+<param name="mnExtdSteps" value="1"/>
+<param name="mnRipupLevel" value="0"/>
+</pass>
+<pass name="Optimize2" refer="Optimize1" active="yes">
+<param name="cfNonPref" value="0"/>
+<param name="cfChangeDir" value="6"/>
+<param name="cfExtdStep" value="0"/>
+<param name="cfBonusStep" value="2"/>
+<param name="cfMalusStep" value="2"/>
+<param name="cfPadImpact" value="2"/>
+<param name="cfSmdImpact" value="2"/>
+<param name="cfHugging" value="0"/>
+</pass>
+<pass name="Optimize3" refer="Optimize2" active="yes">
+<param name="cfChangeDir" value="8"/>
+<param name="cfPadImpact" value="0"/>
+<param name="cfSmdImpact" value="0"/>
+</pass>
+<pass name="Optimize4" refer="Optimize3" active="yes">
+<param name="cfChangeDir" value="25"/>
+</pass>
+</autorouter>
+<elements>
+</elements>
+<signals>
+</signals>
+</board>
+</drawing>
+</eagle>

+ 477 - 0
main.sch

@@ -0,0 +1,477 @@
+v 20130925 2
+C 44400 46400 1 90 0 resistor-2.sym
+{
+T 44050 46800 5 10 0 0 90 0 1
+device=RESISTOR
+T 44100 46500 5 10 1 1 90 0 1
+refdes=330K 0.25
+}
+C 45900 46400 1 90 0 resistor-2.sym
+{
+T 45550 46800 5 10 0 0 90 0 1
+device=RESISTOR
+T 45600 46400 5 10 1 1 90 0 1
+refdes=330k 0.25
+}
+C 45500 48500 1 180 0 resistor-2.sym
+{
+T 45100 48150 5 10 0 0 180 0 1
+device=RESISTOR
+T 45400 48200 5 10 1 1 180 0 1
+refdes=10k 0.25
+}
+C 44700 49500 1 180 0 resistor-2.sym
+{
+T 44300 49150 5 10 0 0 180 0 1
+device=RESISTOR
+T 44600 49200 5 10 1 1 180 0 1
+refdes=4k7 0.25
+}
+C 46300 49500 1 180 0 resistor-2.sym
+{
+T 45900 49150 5 10 0 0 180 0 1
+device=RESISTOR
+T 46200 49200 5 10 1 1 180 0 1
+refdes=2k2 0.25
+}
+N 45800 46400 45800 46100 4
+N 44300 47300 44300 48400 4
+N 44300 48400 44600 48400 4
+N 46500 48400 45500 48400 4
+N 45800 47300 45800 48400 4
+N 44600 48400 44600 48900 4
+N 44600 48900 44700 48900 4
+N 44700 48900 44700 49900 4
+N 44700 49400 45400 49400 4
+N 44700 49900 44800 49900 4
+N 44800 49900 44800 50900 4
+C 44400 42500 1 90 0 input-1.sym
+{
+T 44100 42500 5 10 0 0 90 0 1
+device=INPUT
+}
+N 43800 49400 42800 49400 4
+N 42800 49400 42800 54900 4
+N 46500 49400 46300 49400 4
+C 42700 55700 1 270 0 input-1.sym
+{
+T 43000 55700 5 10 0 0 270 0 1
+device=INPUT
+}
+T 42900 55200 9 10 1 0 90 0 1
++5V
+T 44400 42600 9 10 1 0 90 0 1
+220V
+C 47900 46400 1 90 0 resistor-2.sym
+{
+T 47550 46800 5 10 0 0 90 0 1
+device=RESISTOR
+T 47600 46500 5 10 1 1 90 0 1
+refdes=330K 0.25
+}
+C 49400 46400 1 90 0 resistor-2.sym
+{
+T 49050 46800 5 10 0 0 90 0 1
+device=RESISTOR
+T 49100 46400 5 10 1 1 90 0 1
+refdes=330k 0.25
+}
+C 49000 48500 1 180 0 resistor-2.sym
+{
+T 48600 48150 5 10 0 0 180 0 1
+device=RESISTOR
+T 48900 48200 5 10 1 1 180 0 1
+refdes=10k 0.25
+}
+C 48200 49500 1 180 0 resistor-2.sym
+{
+T 47800 49150 5 10 0 0 180 0 1
+device=RESISTOR
+T 48100 49200 5 10 1 1 180 0 1
+refdes=4k7 0.25
+}
+C 49800 49500 1 180 0 resistor-2.sym
+{
+T 49400 49150 5 10 0 0 180 0 1
+device=RESISTOR
+T 49700 49200 5 10 1 1 180 0 1
+refdes=2k2 0.25
+}
+N 49300 46400 49300 46100 4
+N 47800 47300 47800 48400 4
+N 47800 48400 48100 48400 4
+N 50000 48400 49000 48400 4
+N 49300 47300 49300 48400 4
+N 48100 48400 48100 48900 4
+N 48100 48900 48200 48900 4
+N 48200 48900 48200 49900 4
+N 48200 49400 48900 49400 4
+N 48200 49900 48300 49900 4
+N 48300 49900 48300 50400 4
+C 45200 42500 1 90 0 input-1.sym
+{
+T 44900 42500 5 10 0 0 90 0 1
+device=INPUT
+}
+T 45200 42600 9 10 1 0 90 0 1
+220V
+C 51400 46400 1 90 0 resistor-2.sym
+{
+T 51050 46800 5 10 0 0 90 0 1
+device=RESISTOR
+T 51100 46500 5 10 1 1 90 0 1
+refdes=330K 0.25
+}
+C 52900 46400 1 90 0 resistor-2.sym
+{
+T 52550 46800 5 10 0 0 90 0 1
+device=RESISTOR
+T 52600 46400 5 10 1 1 90 0 1
+refdes=330k 0.25
+}
+C 52500 48500 1 180 0 resistor-2.sym
+{
+T 52100 48150 5 10 0 0 180 0 1
+device=RESISTOR
+T 52400 48200 5 10 1 1 180 0 1
+refdes=10k 0.25
+}
+C 51700 49500 1 180 0 resistor-2.sym
+{
+T 51300 49150 5 10 0 0 180 0 1
+device=RESISTOR
+T 51600 49200 5 10 1 1 180 0 1
+refdes=4k7 0.25
+}
+C 53300 49500 1 180 0 resistor-2.sym
+{
+T 52900 49150 5 10 0 0 180 0 1
+device=RESISTOR
+T 53200 49200 5 10 1 1 180 0 1
+refdes=2k2 0.25
+}
+N 52800 46400 52800 43300 4
+N 51300 47300 51300 48400 4
+N 51300 48400 51600 48400 4
+N 56000 48400 52500 48400 4
+N 52800 47300 52800 48400 4
+N 51600 48400 51600 48900 4
+N 51600 48900 51700 48900 4
+N 51700 48900 51700 49900 4
+N 51700 49400 52400 49400 4
+N 51700 49900 51800 49900 4
+N 51800 49900 51800 50600 4
+C 46000 42500 1 90 0 input-1.sym
+{
+T 45700 42500 5 10 0 0 90 0 1
+device=INPUT
+}
+C 52900 42500 1 90 0 input-1.sym
+{
+T 52600 42500 5 10 0 0 90 0 1
+device=INPUT
+}
+N 53500 49400 53300 49400 4
+T 46000 42600 9 10 1 0 90 0 1
+220V
+T 52900 42700 9 10 1 0 90 0 1
+N
+N 52800 46100 45800 46100 4
+N 46500 48400 46500 49800 4
+N 53500 49800 43300 49800 4
+N 50000 48400 50000 49800 4
+N 53500 48400 53500 49800 4
+N 43600 49400 43600 50100 4
+N 50500 50100 43600 50100 4
+N 47000 50100 47000 49400 4
+N 50500 50100 50500 49400 4
+N 47000 49400 47300 49400 4
+N 50800 49400 50500 49400 4
+N 49800 49400 50000 49400 4
+N 45900 45400 51300 45400 4
+N 51300 45400 51300 46400 4
+N 45100 45700 47800 45700 4
+N 47800 45700 47800 46400 4
+C 54000 52000 1 270 0 diode-bridge-1.sym
+{
+T 54975 51100 5 10 1 1 270 0 1
+refdes=VDD1
+T 54075 50800 5 8 0 0 270 0 1
+device=DIODE-BRIDGE
+}
+C 54000 55000 1 270 0 diode-bridge-1.sym
+{
+T 54975 54100 5 10 1 1 270 0 1
+refdes=VDD2
+T 54075 53800 5 8 0 0 270 0 1
+device=DIODE-BRIDGE
+}
+C 54000 58000 1 270 0 diode-bridge-1.sym
+{
+T 54975 57100 5 10 1 1 270 0 1
+refdes=VDD3
+T 54075 56800 5 8 0 0 270 0 1
+device=DIODE-BRIDGE
+}
+N 56500 50500 57600 50500 4
+N 56500 50500 56500 50000 4
+N 56500 50000 55000 50000 4
+N 57000 51500 56500 51500 4
+N 56500 51500 56500 52000 4
+N 56500 52000 55000 52000 4
+N 56500 53500 57600 53500 4
+N 56500 53500 56500 53000 4
+N 56500 53000 55000 53000 4
+N 56500 54500 57200 54500 4
+N 56500 54500 56500 55000 4
+N 56500 55000 55000 55000 4
+N 56500 56500 57600 56500 4
+N 56500 56500 56500 56000 4
+N 56500 56000 55000 56000 4
+N 56500 57500 57400 57500 4
+N 56500 57500 56500 58000 4
+N 56500 58000 55000 58000 4
+N 44800 50900 45500 50900 4
+N 46000 50400 48300 50400 4
+N 46500 50600 51800 50600 4
+N 43300 49800 43300 54900 4
+C 43200 55700 1 270 0 input-1.sym
+{
+T 43500 55700 5 10 0 0 270 0 1
+device=INPUT
+}
+C 43500 54600 1 90 0 mass.sym
+{
+T 42800 55000 5 10 0 0 90 0 1
+device=GROUND
+}
+C 51700 56500 1 270 0 input-1.sym
+{
+T 52000 56500 5 10 0 0 270 0 1
+device=INPUT
+}
+C 51200 56500 1 270 0 input-1.sym
+{
+T 51500 56500 5 10 0 0 270 0 1
+device=INPUT
+}
+C 50700 56500 1 270 0 input-1.sym
+{
+T 51000 56500 5 10 0 0 270 0 1
+device=INPUT
+}
+C 50200 56500 1 270 0 input-1.sym
+{
+T 50500 56500 5 10 0 0 270 0 1
+device=INPUT
+}
+C 49700 56500 1 270 0 input-1.sym
+{
+T 50000 56500 5 10 0 0 270 0 1
+device=INPUT
+}
+C 49200 56500 1 270 0 input-1.sym
+{
+T 49500 56500 5 10 0 0 270 0 1
+device=INPUT
+}
+C 48700 56500 1 270 0 input-1.sym
+{
+T 49000 56500 5 10 0 0 270 0 1
+device=INPUT
+}
+C 48200 56500 1 270 0 input-1.sym
+{
+T 48500 56500 5 10 0 0 270 0 1
+device=INPUT
+}
+T 48300 56800 9 10 1 0 180 0 1
+1
+N 56000 48400 56000 57000 4
+N 57600 43700 57600 56500 4
+C 47500 42500 1 90 0 input-1.sym
+{
+T 47200 42500 5 10 0 0 90 0 1
+device=INPUT
+}
+T 47500 42600 9 10 1 0 90 0 1
+220V
+C 48500 42500 1 90 0 input-1.sym
+{
+T 48200 42500 5 10 0 0 90 0 1
+device=INPUT
+}
+T 48500 42600 9 10 1 0 90 0 1
+220V
+C 49500 42500 1 90 0 input-1.sym
+{
+T 49200 42500 5 10 0 0 90 0 1
+device=INPUT
+}
+T 49500 42600 9 10 1 0 90 0 1
+220V
+N 44300 43300 44300 46400 4
+N 45100 45700 45100 43300 4
+N 45900 45400 45900 43300 4
+N 57000 51500 57000 45000 4
+N 47400 45000 57000 45000 4
+N 47400 45000 47400 43300 4
+N 57200 44500 57200 54500 4
+N 48400 44500 57200 44500 4
+N 48400 44500 48400 43300 4
+N 57400 44100 57400 57500 4
+N 49400 44100 57400 44100 4
+N 49400 44100 49400 43300 4
+T 44100 42200 9 10 1 0 0 0 1
+L1S
+T 44900 42200 9 10 1 0 0 0 1
+L2S
+T 45700 42200 9 10 1 0 0 0 1
+L3S
+T 49200 42200 9 10 1 0 0 0 1
+L3A
+T 48200 42200 9 10 1 0 0 0 1
+L2A
+T 47200 42200 9 10 1 0 0 0 1
+L1A
+N 57600 43700 52800 43700 4
+N 45500 50900 45500 52500 4
+N 46000 50400 46000 52500 4
+N 46500 50600 46500 52500 4
+N 53500 51000 47000 51000 4
+N 47000 51000 47000 52500 4
+N 53500 52500 53500 51500 4
+N 53500 51500 47500 51500 4
+N 47500 51500 47500 52500 4
+N 53000 55500 53000 52000 4
+N 53000 52000 48000 52000 4
+N 48000 52000 48000 52500 4
+C 54100 55000 1 90 0 resistor-variable-2.sym
+{
+T 53700 55550 5 10 1 1 90 0 1
+refdes=10k
+T 53200 55800 5 10 0 1 90 0 1
+device=VARIABLE_RESISTOR
+}
+N 53000 55500 53500 55500 4
+N 54000 57000 54000 55900 4
+N 54000 55000 54500 55000 4
+N 54500 55000 54500 55500 4
+N 54500 55500 56000 55500 4
+C 54100 52000 1 90 0 resistor-variable-2.sym
+{
+T 53700 52550 5 10 1 1 90 0 1
+refdes=10k
+T 53200 52800 5 10 0 1 90 0 1
+device=VARIABLE_RESISTOR
+}
+N 54000 54000 54000 52900 4
+N 54000 52000 54500 52000 4
+N 54500 52000 54500 52500 4
+N 54500 52500 56000 52500 4
+C 54100 49600 1 90 0 resistor-variable-2.sym
+{
+T 53700 50150 5 10 1 1 90 0 1
+refdes=10k
+T 53200 50400 5 10 0 1 90 0 1
+device=VARIABLE_RESISTOR
+}
+N 53500 50100 53500 51000 4
+N 54000 51000 54000 50500 4
+N 54000 49600 54000 49500 4
+N 54000 49500 56000 49500 4
+V 45500 52500 100 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+V 46000 52500 100 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+V 46500 52500 100 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+V 47000 52500 100 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+V 47500 52500 100 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+V 48000 52500 100 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+B 45300 52300 1400 400 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+B 46800 52300 1400 400 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+B 47700 55500 4300 1400 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+C 44000 54100 1 0 0 MC33269DT-3.3G.sym
+{
+T 44400 54800 5 10 0 0 0 0 1
+device=STABILIZER
+T 45505 55400 5 10 1 1 180 0 1
+model=MC33269DT-3.3G
+T 43986 54995 5 10 0 1 0 0 1
+device=STABILIZER
+T 44486 55495 5 10 1 1 0 0 1
+refdes=?
+}
+N 44200 54100 44200 53500 4
+N 42800 53500 46500 53500 4
+N 44800 54100 44800 53000 4
+N 44800 53000 43300 53000 4
+N 44500 54100 44600 54100 4
+N 44600 54100 44600 54900 4
+N 44600 54900 47000 54900 4
+C 46200 54000 1 90 0 capacitor-1.sym
+{
+T 45500 54200 5 10 0 0 90 0 1
+device=CAPACITOR
+T 45700 54200 5 10 1 1 90 0 1
+refdes=C?
+T 45300 54200 5 10 0 0 90 0 1
+symversion=0.1
+}
+N 46000 53500 46000 54000 4
+N 46500 53500 46500 53000 4
+N 46500 53000 48500 53000 4
+N 48500 52500 48500 53500 4
+N 47000 53200 47000 55200 4
+N 47000 53200 49000 53200 4
+N 49000 53200 49000 52500 4
+V 48500 52500 100 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+B 48300 52300 900 400 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+N 48500 53500 49300 53500 4
+N 49300 53500 49300 55700 4
+N 49300 55000 50800 55000 4
+N 50800 55000 50800 55700 4
+N 49800 55700 49800 55200 4
+N 47000 55200 49800 55200 4
+N 48300 55700 48300 54500 4
+N 48300 54500 49500 54500 4
+N 49500 54500 49500 52500 4
+N 48800 55700 48800 54600 4
+N 48800 54600 50000 54600 4
+N 50000 54600 50000 52500 4
+N 50300 55700 50300 54600 4
+N 50300 54600 50500 54600 4
+N 50500 54600 50500 52500 4
+N 51300 55700 51300 54500 4
+N 51300 54500 51000 54500 4
+N 51000 54500 51000 52500 4
+C 47800 56200 1 270 0 input-1.sym
+{
+T 48100 56200 5 10 0 0 270 0 1
+device=INPUT
+}
+V 49500 52500 100 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+V 50000 52500 100 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+V 50500 52500 100 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+V 51000 52500 100 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+B 49300 52300 1900 400 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+T 48400 56100 9 10 1 0 90 0 1
+CS
+T 48900 56200 9 10 1 0 90 0 1
+DI
+T 49900 56100 9 10 1 0 90 0 1
+Vdd
+T 49400 56100 9 10 1 0 90 0 1
+Vss
+T 51400 56100 9 10 1 0 90 0 1
+DO
+T 50400 56100 9 10 1 0 90 0 1
+CLK
+T 50900 56100 9 10 1 0 90 0 1
+Vss
+T 43400 55400 9 10 1 0 90 0 1
+0
+V 49000 52500 100 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+C 24100 51400 1 0 0 stm32f103x4_lqfp48.sym
+{
+T 24500 52100 5 10 0 0 0 0 1
+device=MICROCONTROLLER
+}

+ 472 - 0
main.sch~

@@ -0,0 +1,472 @@
+v 20130925 2
+C 44400 46400 1 90 0 resistor-2.sym
+{
+T 44050 46800 5 10 0 0 90 0 1
+device=RESISTOR
+T 44100 46500 5 10 1 1 90 0 1
+refdes=330K 0.25
+}
+C 45900 46400 1 90 0 resistor-2.sym
+{
+T 45550 46800 5 10 0 0 90 0 1
+device=RESISTOR
+T 45600 46400 5 10 1 1 90 0 1
+refdes=330k 0.25
+}
+C 45500 48500 1 180 0 resistor-2.sym
+{
+T 45100 48150 5 10 0 0 180 0 1
+device=RESISTOR
+T 45400 48200 5 10 1 1 180 0 1
+refdes=10k 0.25
+}
+C 44700 49500 1 180 0 resistor-2.sym
+{
+T 44300 49150 5 10 0 0 180 0 1
+device=RESISTOR
+T 44600 49200 5 10 1 1 180 0 1
+refdes=4k7 0.25
+}
+C 46300 49500 1 180 0 resistor-2.sym
+{
+T 45900 49150 5 10 0 0 180 0 1
+device=RESISTOR
+T 46200 49200 5 10 1 1 180 0 1
+refdes=2k2 0.25
+}
+N 45800 46400 45800 46100 4
+N 44300 47300 44300 48400 4
+N 44300 48400 44600 48400 4
+N 46500 48400 45500 48400 4
+N 45800 47300 45800 48400 4
+N 44600 48400 44600 48900 4
+N 44600 48900 44700 48900 4
+N 44700 48900 44700 49900 4
+N 44700 49400 45400 49400 4
+N 44700 49900 44800 49900 4
+N 44800 49900 44800 50900 4
+C 44400 42500 1 90 0 input-1.sym
+{
+T 44100 42500 5 10 0 0 90 0 1
+device=INPUT
+}
+N 43800 49400 42800 49400 4
+N 42800 49400 42800 54900 4
+N 46500 49400 46300 49400 4
+C 42700 55700 1 270 0 input-1.sym
+{
+T 43000 55700 5 10 0 0 270 0 1
+device=INPUT
+}
+T 42900 55200 9 10 1 0 90 0 1
++5V
+T 44400 42600 9 10 1 0 90 0 1
+220V
+C 47900 46400 1 90 0 resistor-2.sym
+{
+T 47550 46800 5 10 0 0 90 0 1
+device=RESISTOR
+T 47600 46500 5 10 1 1 90 0 1
+refdes=330K 0.25
+}
+C 49400 46400 1 90 0 resistor-2.sym
+{
+T 49050 46800 5 10 0 0 90 0 1
+device=RESISTOR
+T 49100 46400 5 10 1 1 90 0 1
+refdes=330k 0.25
+}
+C 49000 48500 1 180 0 resistor-2.sym
+{
+T 48600 48150 5 10 0 0 180 0 1
+device=RESISTOR
+T 48900 48200 5 10 1 1 180 0 1
+refdes=10k 0.25
+}
+C 48200 49500 1 180 0 resistor-2.sym
+{
+T 47800 49150 5 10 0 0 180 0 1
+device=RESISTOR
+T 48100 49200 5 10 1 1 180 0 1
+refdes=4k7 0.25
+}
+C 49800 49500 1 180 0 resistor-2.sym
+{
+T 49400 49150 5 10 0 0 180 0 1
+device=RESISTOR
+T 49700 49200 5 10 1 1 180 0 1
+refdes=2k2 0.25
+}
+N 49300 46400 49300 46100 4
+N 47800 47300 47800 48400 4
+N 47800 48400 48100 48400 4
+N 50000 48400 49000 48400 4
+N 49300 47300 49300 48400 4
+N 48100 48400 48100 48900 4
+N 48100 48900 48200 48900 4
+N 48200 48900 48200 49900 4
+N 48200 49400 48900 49400 4
+N 48200 49900 48300 49900 4
+N 48300 49900 48300 50400 4
+C 45200 42500 1 90 0 input-1.sym
+{
+T 44900 42500 5 10 0 0 90 0 1
+device=INPUT
+}
+T 45200 42600 9 10 1 0 90 0 1
+220V
+C 51400 46400 1 90 0 resistor-2.sym
+{
+T 51050 46800 5 10 0 0 90 0 1
+device=RESISTOR
+T 51100 46500 5 10 1 1 90 0 1
+refdes=330K 0.25
+}
+C 52900 46400 1 90 0 resistor-2.sym
+{
+T 52550 46800 5 10 0 0 90 0 1
+device=RESISTOR
+T 52600 46400 5 10 1 1 90 0 1
+refdes=330k 0.25
+}
+C 52500 48500 1 180 0 resistor-2.sym
+{
+T 52100 48150 5 10 0 0 180 0 1
+device=RESISTOR
+T 52400 48200 5 10 1 1 180 0 1
+refdes=10k 0.25
+}
+C 51700 49500 1 180 0 resistor-2.sym
+{
+T 51300 49150 5 10 0 0 180 0 1
+device=RESISTOR
+T 51600 49200 5 10 1 1 180 0 1
+refdes=4k7 0.25
+}
+C 53300 49500 1 180 0 resistor-2.sym
+{
+T 52900 49150 5 10 0 0 180 0 1
+device=RESISTOR
+T 53200 49200 5 10 1 1 180 0 1
+refdes=2k2 0.25
+}
+N 52800 46400 52800 43300 4
+N 51300 47300 51300 48400 4
+N 51300 48400 51600 48400 4
+N 56000 48400 52500 48400 4
+N 52800 47300 52800 48400 4
+N 51600 48400 51600 48900 4
+N 51600 48900 51700 48900 4
+N 51700 48900 51700 49900 4
+N 51700 49400 52400 49400 4
+N 51700 49900 51800 49900 4
+N 51800 49900 51800 50600 4
+C 46000 42500 1 90 0 input-1.sym
+{
+T 45700 42500 5 10 0 0 90 0 1
+device=INPUT
+}
+C 52900 42500 1 90 0 input-1.sym
+{
+T 52600 42500 5 10 0 0 90 0 1
+device=INPUT
+}
+N 53500 49400 53300 49400 4
+T 46000 42600 9 10 1 0 90 0 1
+220V
+T 52900 42700 9 10 1 0 90 0 1
+N
+N 52800 46100 45800 46100 4
+N 46500 48400 46500 49800 4
+N 53500 49800 43300 49800 4
+N 50000 48400 50000 49800 4
+N 53500 48400 53500 49800 4
+N 43600 49400 43600 50100 4
+N 50500 50100 43600 50100 4
+N 47000 50100 47000 49400 4
+N 50500 50100 50500 49400 4
+N 47000 49400 47300 49400 4
+N 50800 49400 50500 49400 4
+N 49800 49400 50000 49400 4
+N 45900 45400 51300 45400 4
+N 51300 45400 51300 46400 4
+N 45100 45700 47800 45700 4
+N 47800 45700 47800 46400 4
+C 54000 52000 1 270 0 diode-bridge-1.sym
+{
+T 54975 51100 5 10 1 1 270 0 1
+refdes=VDD1
+T 54075 50800 5 8 0 0 270 0 1
+device=DIODE-BRIDGE
+}
+C 54000 55000 1 270 0 diode-bridge-1.sym
+{
+T 54975 54100 5 10 1 1 270 0 1
+refdes=VDD2
+T 54075 53800 5 8 0 0 270 0 1
+device=DIODE-BRIDGE
+}
+C 54000 58000 1 270 0 diode-bridge-1.sym
+{
+T 54975 57100 5 10 1 1 270 0 1
+refdes=VDD3
+T 54075 56800 5 8 0 0 270 0 1
+device=DIODE-BRIDGE
+}
+N 56500 50500 57600 50500 4
+N 56500 50500 56500 50000 4
+N 56500 50000 55000 50000 4
+N 57000 51500 56500 51500 4
+N 56500 51500 56500 52000 4
+N 56500 52000 55000 52000 4
+N 56500 53500 57600 53500 4
+N 56500 53500 56500 53000 4
+N 56500 53000 55000 53000 4
+N 56500 54500 57200 54500 4
+N 56500 54500 56500 55000 4
+N 56500 55000 55000 55000 4
+N 56500 56500 57600 56500 4
+N 56500 56500 56500 56000 4
+N 56500 56000 55000 56000 4
+N 56500 57500 57400 57500 4
+N 56500 57500 56500 58000 4
+N 56500 58000 55000 58000 4
+N 44800 50900 45500 50900 4
+N 46000 50400 48300 50400 4
+N 46500 50600 51800 50600 4
+N 43300 49800 43300 54900 4
+C 43200 55700 1 270 0 input-1.sym
+{
+T 43500 55700 5 10 0 0 270 0 1
+device=INPUT
+}
+C 43500 54600 1 90 0 mass.sym
+{
+T 42800 55000 5 10 0 0 90 0 1
+device=GROUND
+}
+C 51700 56500 1 270 0 input-1.sym
+{
+T 52000 56500 5 10 0 0 270 0 1
+device=INPUT
+}
+C 51200 56500 1 270 0 input-1.sym
+{
+T 51500 56500 5 10 0 0 270 0 1
+device=INPUT
+}
+C 50700 56500 1 270 0 input-1.sym
+{
+T 51000 56500 5 10 0 0 270 0 1
+device=INPUT
+}
+C 50200 56500 1 270 0 input-1.sym
+{
+T 50500 56500 5 10 0 0 270 0 1
+device=INPUT
+}
+C 49700 56500 1 270 0 input-1.sym
+{
+T 50000 56500 5 10 0 0 270 0 1
+device=INPUT
+}
+C 49200 56500 1 270 0 input-1.sym
+{
+T 49500 56500 5 10 0 0 270 0 1
+device=INPUT
+}
+C 48700 56500 1 270 0 input-1.sym
+{
+T 49000 56500 5 10 0 0 270 0 1
+device=INPUT
+}
+C 48200 56500 1 270 0 input-1.sym
+{
+T 48500 56500 5 10 0 0 270 0 1
+device=INPUT
+}
+T 48300 56800 9 10 1 0 180 0 1
+1
+N 56000 48400 56000 57000 4
+N 57600 43700 57600 56500 4
+C 47500 42500 1 90 0 input-1.sym
+{
+T 47200 42500 5 10 0 0 90 0 1
+device=INPUT
+}
+T 47500 42600 9 10 1 0 90 0 1
+220V
+C 48500 42500 1 90 0 input-1.sym
+{
+T 48200 42500 5 10 0 0 90 0 1
+device=INPUT
+}
+T 48500 42600 9 10 1 0 90 0 1
+220V
+C 49500 42500 1 90 0 input-1.sym
+{
+T 49200 42500 5 10 0 0 90 0 1
+device=INPUT
+}
+T 49500 42600 9 10 1 0 90 0 1
+220V
+N 44300 43300 44300 46400 4
+N 45100 45700 45100 43300 4
+N 45900 45400 45900 43300 4
+N 57000 51500 57000 45000 4
+N 47400 45000 57000 45000 4
+N 47400 45000 47400 43300 4
+N 57200 44500 57200 54500 4
+N 48400 44500 57200 44500 4
+N 48400 44500 48400 43300 4
+N 57400 44100 57400 57500 4
+N 49400 44100 57400 44100 4
+N 49400 44100 49400 43300 4
+T 44100 42200 9 10 1 0 0 0 1
+L1S
+T 44900 42200 9 10 1 0 0 0 1
+L2S
+T 45700 42200 9 10 1 0 0 0 1
+L3S
+T 49200 42200 9 10 1 0 0 0 1
+L3A
+T 48200 42200 9 10 1 0 0 0 1
+L2A
+T 47200 42200 9 10 1 0 0 0 1
+L1A
+N 57600 43700 52800 43700 4
+N 45500 50900 45500 52500 4
+N 46000 50400 46000 52500 4
+N 46500 50600 46500 52500 4
+N 53500 51000 47000 51000 4
+N 47000 51000 47000 52500 4
+N 53500 52500 53500 51500 4
+N 53500 51500 47500 51500 4
+N 47500 51500 47500 52500 4
+N 53000 55500 53000 52000 4
+N 53000 52000 48000 52000 4
+N 48000 52000 48000 52500 4
+C 54100 55000 1 90 0 resistor-variable-2.sym
+{
+T 53700 55550 5 10 1 1 90 0 1
+refdes=10k
+T 53200 55800 5 10 0 1 90 0 1
+device=VARIABLE_RESISTOR
+}
+N 53000 55500 53500 55500 4
+N 54000 57000 54000 55900 4
+N 54000 55000 54500 55000 4
+N 54500 55000 54500 55500 4
+N 54500 55500 56000 55500 4
+C 54100 52000 1 90 0 resistor-variable-2.sym
+{
+T 53700 52550 5 10 1 1 90 0 1
+refdes=10k
+T 53200 52800 5 10 0 1 90 0 1
+device=VARIABLE_RESISTOR
+}
+N 54000 54000 54000 52900 4
+N 54000 52000 54500 52000 4
+N 54500 52000 54500 52500 4
+N 54500 52500 56000 52500 4
+C 54100 49600 1 90 0 resistor-variable-2.sym
+{
+T 53700 50150 5 10 1 1 90 0 1
+refdes=10k
+T 53200 50400 5 10 0 1 90 0 1
+device=VARIABLE_RESISTOR
+}
+N 53500 50100 53500 51000 4
+N 54000 51000 54000 50500 4
+N 54000 49600 54000 49500 4
+N 54000 49500 56000 49500 4
+V 45500 52500 100 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+V 46000 52500 100 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+V 46500 52500 100 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+V 47000 52500 100 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+V 47500 52500 100 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+V 48000 52500 100 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+B 45300 52300 1400 400 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+B 46800 52300 1400 400 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+B 47700 55500 4300 1400 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+C 44000 54100 1 0 0 MC33269DT-3.3G.sym
+{
+T 44400 54800 5 10 0 0 0 0 1
+device=STABILIZER
+T 45505 55400 5 10 1 1 180 0 1
+model=MC33269DT-3.3G
+T 43986 54995 5 10 0 1 0 0 1
+device=STABILIZER
+T 44486 55495 5 10 1 1 0 0 1
+refdes=?
+}
+N 44200 54100 44200 53500 4
+N 42800 53500 46500 53500 4
+N 44800 54100 44800 53000 4
+N 44800 53000 43300 53000 4
+N 44500 54100 44600 54100 4
+N 44600 54100 44600 54900 4
+N 44600 54900 47000 54900 4
+C 46200 54000 1 90 0 capacitor-1.sym
+{
+T 45500 54200 5 10 0 0 90 0 1
+device=CAPACITOR
+T 45700 54200 5 10 1 1 90 0 1
+refdes=C?
+T 45300 54200 5 10 0 0 90 0 1
+symversion=0.1
+}
+N 46000 53500 46000 54000 4
+N 46500 53500 46500 53000 4
+N 46500 53000 48500 53000 4
+N 48500 52500 48500 53500 4
+N 47000 53200 47000 55200 4
+N 47000 53200 49000 53200 4
+N 49000 53200 49000 52500 4
+V 48500 52500 100 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+B 48300 52300 900 400 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+N 48500 53500 49300 53500 4
+N 49300 53500 49300 55700 4
+N 49300 55000 50800 55000 4
+N 50800 55000 50800 55700 4
+N 49800 55700 49800 55200 4
+N 47000 55200 49800 55200 4
+N 48300 55700 48300 54500 4
+N 48300 54500 49500 54500 4
+N 49500 54500 49500 52500 4
+N 48800 55700 48800 54600 4
+N 48800 54600 50000 54600 4
+N 50000 54600 50000 52500 4
+N 50300 55700 50300 54600 4
+N 50300 54600 50500 54600 4
+N 50500 54600 50500 52500 4
+N 51300 55700 51300 54500 4
+N 51300 54500 51000 54500 4
+N 51000 54500 51000 52500 4
+C 47800 56200 1 270 0 input-1.sym
+{
+T 48100 56200 5 10 0 0 270 0 1
+device=INPUT
+}
+V 49500 52500 100 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+V 50000 52500 100 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+V 50500 52500 100 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+V 51000 52500 100 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+B 49300 52300 1900 400 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+T 48400 56100 9 10 1 0 90 0 1
+CS
+T 48900 56200 9 10 1 0 90 0 1
+DI
+T 49900 56100 9 10 1 0 90 0 1
+Vdd
+T 49400 56100 9 10 1 0 90 0 1
+Vss
+T 51400 56100 9 10 1 0 90 0 1
+DO
+T 50400 56100 9 10 1 0 90 0 1
+CLK
+T 50900 56100 9 10 1 0 90 0 1
+Vss
+T 43400 55400 9 10 1 0 90 0 1
+0
+V 49000 52500 100 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1

+ 6 - 0
stm32f1_05/build/gdb.scr

@@ -0,0 +1,6 @@
+tar ext :4242
+load
+c
+print Buffer1
+print Buffer2
+

+ 3 - 0
stm32f1_05/build/gdb1.scr

@@ -0,0 +1,3 @@
+tar ext :4242
+load
+

BIN
stm32f1_05/build/main.bin


BIN
stm32f1_05/build/main.elf


+ 123 - 56
stm32f1_05/build/main.hex

@@ -1,19 +1,19 @@
 :020000040800F2
-:1000000000280020050E0008490E0008490E0008CF
-:10001000490E0008490E0008490E000800000000C3
-:10002000000000000000000000000000490E000871
-:10003000490E000800000000490E0008D10D00081C
-:10004000490E0008490E0008490E0008490E000834
-:10005000490E0008490E0008490E0008490E000824
-:10006000490E0008490E0008490E0008490E000814
-:10007000490E0008490E0008490E0008490E000804
-:10008000490E0008490E0008490E0008490E0008F4
-:10009000490E0008490E0008490E0008490E0008E4
-:1000A000490E0008490E0008490E0008490E0008D4
-:1000B000490E0008490E000800000000490E000823
-:1000C000490E00080000000000000000490E000872
-:1000D00000000000490E0008490E00080000000062
-:1000E000490E0008490E0008490E000800000000F3
+:100000000028002021100008651000086510000875
+:100010006510000865100008651000080000000069
+:100020000000000000000000000000006510000853
+:10003000651000080000000065100008FD0E0008B3
+:1000400065100008651000086510000865100008BC
+:1000500065100008651000086510000865100008AC
+:10006000651000086510000865100008651000089C
+:10007000651000086510000865100008651000088C
+:10008000651000086510000865100008651000087C
+:10009000651000086510000865100008651000086C
+:1000A000651000086510000865100008651000085C
+:1000B00065100008651000080000000065100008C9
+:1000C0006510000800000000000000006510000836
+:1000D0000000000065100008651000080000000026
+:1000E0006510000865100008651000080000000099
 :1000F0000000000000000000000000000000000000
 :0C01000000000000000000005FF808F1A3
 :10010C0080B483B000AF03463960FB7197F90730B8
@@ -151,7 +151,7 @@
 :10094C0019461748FFF74EFD1023BB821023FB7589
 :10095C0007F1140319461248FFF744FD00233B80AE
 :10096C004FF482737B800023BB800223FB80012326
-:10097C003B814FF400737B810823BB810023FB81F7
+:10097C003B814FF400737B810023BB810023FB81FF
 :10098C0007233B823B4619460648FFF757FE0121D9
 :10099C000448FFF797FE00BF1837BD4680BD00BF67
 :1009AC00000801400030014080B500AF102118480C
@@ -191,44 +191,111 @@
 :100BCC00002B01D100230AE0FFF7D6FF03469AB2AF
 :100BDC00044B1A80034B1B88002BF5D101231846BC
 :100BEC0080BD00BF1800002080B500AF00BFFFF72C
-:100BFC00E3FF0346002BFAD100BF80BD80B584B063
-:100C0C0000AF78603B4B1A783B4B1A70394B002283
-:100C1C001A700023FB60FF23FB7210213748FFF78B
-:100C2C00ABFCFF2279681820FFF7F4FE0020FFF7D9
-:100C3C0027FF0346002B4ED1FF20FFF747FEFE2077
-:100C4C00FFF744FE2C4B1B78012B1AD10023FB60C1
-:100C5C0014E02B4AFB6832F81330DBB21846FFF76E
-:100C6C0035FE274AFB6832F813301B0A9BB2DBB205
-:100C7C001846FFF72BFEFB680133FB60FB68FF2B6C
-:100C8C00E7D91D4B1B78022B1AD10023FB6014E013
-:100C9C001C4AFB6832F81330DBB21846FFF716FE1D
-:100CAC00184AFB6832F813301B0A9BB2DBB21846A9
-:100CBC00FFF70CFEFB680133FB60FB68FF2BE7D9E9
-:100CCC00FFF7FEFEFFF7FCFEFFF720FF0346052BA8
-:100CDC0001D10023FB7210210848FFF73FFCFF20D5
-:100CEC00FFF7F4FD044B00221A70FB7A18461037FC
-:100CFC00BD4680BD300600201B00002000080140CE
-:100D0C00300200203004002080B586B000AF0121F5
-:100D1C004FF40070FFF73EFC01233B800023FB7077
-:100D2C000223BB703B4619461A48FFF75BFB0023B6
-:100D3C007B6001233B7201237B724FF46023FB60C9
-:100D4C0000233B6100233B753B1D19461248FFF7FE
-:100D5C0061FD01211048FFF7D5FC0F48FFF7EEFCB1
-:100D6C0000BF0D48FFF7FAFC0346002BF9D10A48E7
-:100D7C00FFF70CFD00BF0848FFF718FD0346002BDA
-:100D8C00F9D101210448FFF729FD00BF1837BD46F2
-:100D9C0080BD00BF000801400024014080B500AFB9
-:100DAC00FFF72EFA054B1B68054AA2FB0323DB0851
-:100DBC001846FFF7CFF9FFF7A7FFFEE7000000206A
-:100DCC00CDCCCCCC80B500AF0448FFF773FD034607
-:100DDC001A46034B1A8000BF80BD00BF002401409F
-:100DEC002C0200204C0E0008000000201C000020EB
-:100DFC001C00002038060020002103E00A4B5B5841
-:100E0C004350043109480A4B42189A42F6D3094A16
-:100E1C0002E0002342F8043B074B9A42F9D3FFF758
-:100E2C00BBF9FFF7BBFF70474C0E00080000002019
-:100E3C001C0000201C00002038060020FEE70000EB
-:100E4C0000A24A040000000000000000010203049C
-:0C0E5C00060708090A000000FFFF010261
-:0400000508000E05DC
+:100BFC00E3FF0346002BFAD100BF80BD80B586B061
+:100C0C0000AFF860B9601346FB8000237B61FF23C3
+:100C1C00FB7410211E48FFF7AFFCFF22B9681820A7
+:100C2C00FFF7F8FE0020FFF72BFF0346002B22D125
+:100C3C00FF20FFF74BFEFE20FFF748FE00237B61F1
+:100C4C000AE0FB681B781846FFF740FEFB6801338F
+:100C5C00FB607B6901337B61FA887B699A42F0D82F
+:100C6C00FFF72EFFFFF72CFFFFF750FF0346052B76
+:100C7C0001D10023FB7410210548FFF76FFCFF2006
+:100C8C00FFF724FEFB7C18461837BD4680BD00BF1D
+:100C9C000008014080B584B000AF78603B4B1A78F7
+:100CAC003B4B1A70394B00221A700023FB60FF2358
+:100CBC00FB7210213748FFF75FFCFF227968182080
+:100CCC00FFF7A8FE0020FFF7DBFE0346002B4ED1FA
+:100CDC00FF20FFF7FBFDFE20FFF7F8FD2C4B1B78E8
+:100CEC00012B1AD10023FB6014E02B4AFB6832F86D
+:100CFC001330DBB21846FFF7E9FD274AFB6832F8E0
+:100D0C0013301B0A9BB2DBB21846FFF7DFFDFB6802
+:100D1C000133FB60FB68FF2BE7D91D4B1B78022BC3
+:100D2C001AD10023FB6014E01C4AFB6832F8133024
+:100D3C00DBB21846FFF7CAFD184AFB6832F81330CD
+:100D4C001B0A9BB2DBB21846FFF7C0FDFB680133F0
+:100D5C00FB60FB68FF2BE7D9FFF7B2FEFFF7B0FE95
+:100D6C00FFF7D4FE0346052B01D10023FB721021A3
+:100D7C000848FFF7F3FBFF20FFF7A8FD044B002208
+:100D8C001A70FB7A18461037BD4680BD300600201D
+:100D9C001B0000200008014030020020300400201D
+:100DAC0080B586B000AF01214FF40070FFF7F2FB65
+:100DBC0001233B800023FB700223BB703B4619468A
+:100DCC001A48FFF70FFB00237B6001233B720123C2
+:100DDC007B724FF46023FB6000233B6100233B7567
+:100DEC003B1D19461248FFF715FD01211048FFF76E
+:100DFC0089FC0F48FFF7A2FC00BF0D48FFF7AEFCC3
+:100E0C000346002BF9D10A48FFF7C0FC00BF084885
+:100E1C00FFF7CCFC0346002BF9D101210448FFF766
+:100E2C00DDFC00BF1837BD4680BD00BF0008014087
+:100E3C000024014080B500AF4FF400720021094836
+:100E4C0000F084F923220849064800F007F9002035
+:100E5C00FFF720FF03469AB2044B1A800123184671
+:100E6C0080BD00BF300200204C120008180000208A
+:100E7C0080B500AFFFF780FE03461A46154B1A608B
+:100E8C00FFF7B2FE144B00221A80144B4FF4007281
+:100E9C001A60FFF7B5F9124B1B68124AA2FB032329
+:100EAC001B0B1846FFF756F9FFF77AFF0E4B1B7812
+:100EBC00002BFBD00D4B01221A70084B1B681846F7
+:100ECC00FFF7E8FE054B1B6803F50073034A13603C
+:100EDC00ECE700BF140000202602002028020020AE
+:100EEC00000000205917B7D1300600203206002030
+:100EFC0080B500AF3948FFF7DDFC03461A46384B86
+:100F0C001A80384B1B78012B30D1374B1B78012BB7
+:100F1C002CD0364B1B781A46354B1988354B23F899
+:100F2C001210324B1B780133DAB2304B1A702F4B44
+:100F3C001B781A462A4B1B8899B22E4B23F8121099
+:100F4C002A4B1B780133DAB2284B1A70284B1B88BA
+:100F5C0001339AB2264B1A80244B1B78002B05D1F7
+:100F6C00204B02221A70244B01221A701D4B1B7845
+:100F7C00022B30D11C4B1B78022B2CD01B4B1B781B
+:100F8C001A461B4B19881D4B23F81210174B1B7854
+:100F9C000133DAB2154B1A70144B1B781A46104BEE
+:100FAC001B8899B2154B23F81210104B1B78013388
+:100FBC00DAB20E4B1A700E4B1B8801339AB20C4BE3
+:100FCC001A800A4B1B78002B05D1064B01221A7094
+:100FDC00094B02221A7000BF80BD00BF00240140E3
+:100FEC002C0200201A0000201B00002031060020DB
+:100FFC00340600203002002030060020300400208F
+:10100C0070120008000000201C0000201C000020B2
+:10101C0038060020002103E00A4B5B584350043192
+:10102C0009480A4B42189A42F6D3094A02E00023B7
+:10103C0042F8043B074B9A42F9D3FFF7ADF8FFF7A0
+:10104C0017FF704770120008000000201C000020E1
+:10105C001C00002038060020FEE700000F0052E3C1
+:10106C00F0402DE92900009A003081E1030013E3E0
+:10107C003100001A02E0A0E110C080E2103081E2E1
+:10108C00107013E50C6013E5085013E5044013E5EC
+:10109C0010E04EE20F005EE310700CE50C600CE506
+:1010AC0008500CE504400CE5103083E210C08CE2D3
+:1010BC00F2FFFF8A103042E20F30C3E30F6002E20E
+:1010CC00103083E2030056E3031081E0033080E02C
+:1010DC001B00009A0140A0E106C0A0E104E043E23D
+:1010EC0004C04CE2045094E403005CE30450AEE50D
+:1010FC00FAFFFF8A04C046E203C0CCE304C08CE2D2
+:10110C000C3083E00C1081E0032002E2000000EAC6
+:10111C000030A0E1000052E30500000A013043E278
+:10112C00022081E001C0D1E4020051E101C0E3E5FD
+:10113C00FBFFFF1AF040BDE81EFF2FE10030A0E1DD
+:10114C00F5FFFFEA0620A0E1F1FFFFEA030010E340
+:10115C0010402DE93700000A000052E3012042E262
+:10116C003200000AFFC001E20030A0E1020000EAF8
+:10117C00000052E3012042E22C00000A01C0C3E44B
+:10118C00030013E3F9FFFF1A030052E32000009A57
+:10119C00FFE001E20EE48EE10F0052E30EE88EE177
+:1011AC001000009A0240A0E110C083E2104044E21B
+:1011BC000F0054E310E00CE50CE00CE508E00CE546
+:1011CC0004E00CE510C08CE2F7FFFF8A10C042E28D
+:1011DC000FC0CCE30F2002E210C08CE2030052E3FC
+:1011EC000C3083E00A00009A0340A0E102C0A0E1A9
+:1011FC0004C04CE203005CE304E084E4FBFFFF8AE0
+:10120C0004C042E203C0CCE304C08CE20C3083E0A7
+:10121C00032002E2000052E3FF10011202208310AF
+:10122C000200000A0110C3E4020053E1FCFFFF1AA4
+:10123C001040BDE81EFF2FE10030A0E1D1FFFFEA16
+:10124C0000766F6C746C6F6767657200010100004B
+:10125C00566F6C746C6F676765723030303000306D
+:04126C00003000004E
+:1012700000A24A0400000000000000000102030474
+:0C128000060708090A000000FFFF010239
+:0400000508001021BE
 :00000001FF

File diff suppressed because it is too large
+ 719 - 256
stm32f1_05/build/main.lst


BIN
stm32f1_05/build/main.o


BIN
stm32f1_05/build/startup_stm32f10x_ld.o


+ 47 - 1
stm32f1_05/lib/sdcard.c

@@ -48,7 +48,7 @@ void SD_LowLevel_Init(void)
   SPI_InitStructure.SPI_CPOL = SPI_CPOL_High;
   SPI_InitStructure.SPI_CPHA = SPI_CPHA_2Edge;
   SPI_InitStructure.SPI_NSS = SPI_NSS_Soft;
-  SPI_InitStructure.SPI_BaudRatePrescaler = SPI_BaudRatePrescaler_4;
+  SPI_InitStructure.SPI_BaudRatePrescaler = SPI_BaudRatePrescaler_2;
 
   SPI_InitStructure.SPI_FirstBit = SPI_FirstBit_MSB;
   SPI_InitStructure.SPI_CRCPolynomial = 7;
@@ -257,3 +257,49 @@ while (_checkSDStatus()) {
 }
 }
 
+SD_Error SD_WriteBlock(uint8_t* pBuffer, uint32_t WriteAddr, uint16_t BlockSize)
+{
+  uint32_t i = 0;
+  SD_Error rvalue = SD_RESPONSE_FAILURE;
+
+  /*!< SD chip select low */
+  SD_CS_LOW();
+
+  /*!< Send CMD24 (SD_CMD_WRITE_SINGLE_BLOCK) to write multiple block */
+  SD_SendCmd(SD_CMD_WRITE_SINGLE_BLOCK, WriteAddr, 0xFF);
+  
+  /*!< Check if the SD acknowledged the write block command: R1 response (0x00: no errors) */
+  if (!SD_GetResponse(SD_RESPONSE_NO_ERROR))
+  {
+    /*!< Send a dummy byte */
+    SD_WriteByte(SD_DUMMY_BYTE);
+
+    /*!< Send the data token to signify the start of the data */
+    SD_WriteByte(0xFE);
+
+    /*!< Write the block data to SD : write count data by block */
+    for (i = 0; i < BlockSize; i++)
+    {
+      /*!< Send the pointed byte */
+      SD_WriteByte(*pBuffer);
+      /*!< Point to the next location where the byte read will be saved */
+      pBuffer++;
+    }
+    /*!< Put CRC bytes (not really needed by us, but required by SD) */
+    SD_ReadByte();
+    SD_ReadByte();
+
+    /*!< Read data response */
+    if (SD_GetDataResponse() == SD_DATA_OK)
+    {
+      rvalue = SD_RESPONSE_NO_ERROR;
+    }
+  }
+  /*!< SD chip select high */
+  SD_CS_HIGH();
+  /*!< Send dummy byte: 8 Clock pulses of delay */
+  SD_WriteByte(SD_DUMMY_BYTE);
+
+  /*!< Returns the reponse */
+  return rvalue;
+}

+ 31 - 7
stm32f1_05/main.c

@@ -8,6 +8,10 @@
 #include "spi.c"
 #include "adc.c"
 #include "sdcard.c"
+#include <string.h>
+
+#define SD_HEADERS "\000voltlogger\000\001\001\000\000Voltlogger0000\0000\0000"
+
 
 
 SD_Error SD_WriteBlock_1(uint32_t WriteAddr)
@@ -76,15 +80,25 @@ void ADC_Start (void){
 
 }
 
+uint32_t SD_WriteHeaders() {
+    //uint8_t header[SD_BUFSIZE];
+    memset(Buffer1, 0, SD_BUFSIZE);
+    memcpy(Buffer1, SD_HEADERS, sizeof(SD_HEADERS));
+    SD_Status = SD_WriteBlock_1(0);
+    return 1; // SD_BUFSIZE;
+}
+
+
+
 int main(void) {
 
     status = SD_Init();
     checkSDStatus();
     writeBufFilled = 0;
-    SD_WriteHeaders();
+//    SD_WriteHeaders();
     SDWriteOffset  = SD_BUFSIZE;
     SystemCoreClockUpdate();
-    SysTick_Config(SystemCoreClock/10);
+    SysTick_Config(SystemCoreClock/5000);
     ADC_Start();
 
     while (1)
@@ -110,6 +124,10 @@ BuffCount++;
 Buffer1[BuffCount] = ADC1ConvertedValue;
 BuffCount++;
 TMSTP++;
+if ( BuffCount == 0){
+	Rstatus = 2;
+	BuffReady = 1;
+}
 }
 
 if (Rstatus == 2 && Wstatus != 2){
@@ -118,20 +136,26 @@ BuffCount++;
 Buffer2[BuffCount] = ADC1ConvertedValue;
 BuffCount++;
 TMSTP++;
+if (BuffCount == 0){
+	Rstatus = 1;
+	BuffReady = 2;
+//	BuffCount = 0;
+}
 }
 
-if ( BuffCount == 254 && Rstatus == 1 ){
+/*
+if ( BuffCount == 0 && Rstatus == 1 ){
 	Rstatus = 2;
 	BuffReady = 1;
-	BuffCount = 0;
+//	BuffCount = 0;
 }
 
-if (BuffCount == 254 && Rstatus == 2){
+if (BuffCount == 0 && Rstatus == 2){
 	Rstatus = 1;
 	BuffReady = 2;
-	BuffCount = 0;
+//	BuffCount = 0;
 }
 
-
+*/
 }