From 00f02c779fbbcc262adeff607fe9cae0063e833a Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Sun, 4 Oct 2020 19:31:16 +0200 Subject: [PATCH] Optimize some things --- kicad/cpu.sch | 41 ++++++++++++++++++++-- kicad/io.sch | 72 +++++++++++++++++++++++++++++++++++---- kicad/sabik-cpu-cache.lib | 17 +++++++++ 3 files changed, 121 insertions(+), 9 deletions(-) diff --git a/kicad/cpu.sch b/kicad/cpu.sch index caf60c0..efaf85c 100644 --- a/kicad/cpu.sch +++ b/kicad/cpu.sch @@ -3,7 +3,7 @@ EELAYER 30 0 EELAYER END $Descr A4 11693 8268 encoding utf-8 -Sheet 4 4 +Sheet 3 4 Title "" Date "2020-10-03" Rev "" @@ -206,7 +206,7 @@ L Switch:SW_Push SW? U 1 1 5F840B63 P 850 1050 F 0 "SW?" V 804 1198 50 0000 L CNN -F 1 "SW_Push" V 895 1198 50 0000 L CNN +F 1 "Reset" V 895 1198 50 0000 L CNN F 2 "" H 850 1250 50 0001 C CNN F 3 "~" H 850 1250 50 0001 C CNN 1 850 1050 @@ -587,4 +587,41 @@ Text HLabel 7150 4200 2 50 Input ~ 0 AUDIO_L Text HLabel 7150 4300 2 50 Input ~ 0 AUDIO_R +Text Notes 6550 4200 0 50 ~ 0 +:ADC1_4 +Text Notes 6550 4300 0 50 ~ 0 +:ADC1_5 +$Comp +L Connector:TestPoint TP? +U 1 1 5F7A98FC +P 7050 4600 +F 0 "TP?" V 7050 4800 50 0000 L CNN +F 1 "PA8" V 7000 4550 50 0000 L CNN +F 2 "" H 7250 4600 50 0001 C CNN +F 3 "~" H 7250 4600 50 0001 C CNN + 1 7050 4600 + 0 1 1 0 +$EndComp +Wire Wire Line + 7050 4600 6550 4600 +Wire Wire Line + 7050 4700 6550 4700 +$Comp +L Connector:TestPoint TP? +U 1 1 5F7AF4B9 +P 7050 4700 +F 0 "TP?" V 7050 4900 50 0000 L CNN +F 1 "PA9" V 7000 4650 50 0000 L CNN +F 2 "" H 7250 4700 50 0001 C CNN +F 3 "~" H 7250 4700 50 0001 C CNN + 1 7050 4700 + 0 1 1 0 +$EndComp +NoConn ~ 6550 4900 +NoConn ~ 5250 5000 +NoConn ~ 5250 4900 +NoConn ~ 5250 4500 +NoConn ~ 5250 4200 +NoConn ~ 5250 4100 +NoConn ~ 5250 4000 $EndSCHEMATC diff --git a/kicad/io.sch b/kicad/io.sch index 64ed2ca..d5975f1 100644 --- a/kicad/io.sch +++ b/kicad/io.sch @@ -277,7 +277,7 @@ L Connector:USB_B_Micro J? U 1 1 5F7ABAAB P 1000 2100 F 0 "J?" H 1057 2567 50 0000 C CNN -F 1 "USB_B_Micro" H 1057 2476 50 0000 C CNN +F 1 "USB" H 1057 2476 50 0000 C CNN F 2 "" H 1150 2050 50 0001 C CNN F 3 "~" H 1150 2050 50 0001 C CNN 1 1000 2100 @@ -756,8 +756,8 @@ $EndComp Wire Wire Line 3800 5050 3800 4950 Wire Wire Line - 2550 4350 3000 4350 -Text Label 2550 4350 0 50 ~ 0 + 2250 4350 2800 4350 +Text Label 2250 4350 0 50 ~ 0 AUDIO_IN_L $Comp L power:VDDA #PWR? @@ -903,10 +903,6 @@ F 3 "" H 3800 6600 50 0001 C CNN $EndComp Wire Wire Line 3800 6600 3800 6500 -Wire Wire Line - 2550 5900 3000 5900 -Text Label 2550 5900 0 50 ~ 0 -AUDIO_IN_R $Comp L power:VDDA #PWR? U 1 1 5F849D17 @@ -958,4 +954,66 @@ F 3 "http://www.ti.com/lit/ds/symlink/lm2904-n.pdf" H 1500 6600 50 0001 C CNN $EndComp Text Notes 3500 7100 0 50 ~ 0 TODO: Set sensible\ngain for input stage. +$Comp +L Device:R R? +U 1 1 5F7C2195 +P 2800 4600 +F 0 "R?" H 2600 4650 50 0000 L CNN +F 1 "47k" H 2600 4550 50 0000 L CNN +F 2 "" V 2730 4600 50 0001 C CNN +F 3 "~" H 2800 4600 50 0001 C CNN + 1 2800 4600 + 1 0 0 -1 +$EndComp +Wire Wire Line + 2800 4450 2800 4350 +Connection ~ 2800 4350 +Wire Wire Line + 2800 4350 3000 4350 +$Comp +L power:GND #PWR? +U 1 1 5F7DF715 +P 2800 5050 +F 0 "#PWR?" H 2800 4800 50 0001 C CNN +F 1 "GND" H 2805 4877 50 0000 C CNN +F 2 "" H 2800 5050 50 0001 C CNN +F 3 "" H 2800 5050 50 0001 C CNN + 1 2800 5050 + 1 0 0 -1 +$EndComp +Wire Wire Line + 2800 5050 2800 4750 +Wire Wire Line + 2250 5900 2800 5900 +Text Label 2250 5900 0 50 ~ 0 +AUDIO_IN_R +$Comp +L Device:R R? +U 1 1 5F7F1A27 +P 2800 6150 +F 0 "R?" H 2600 6200 50 0000 L CNN +F 1 "47k" H 2600 6100 50 0000 L CNN +F 2 "" V 2730 6150 50 0001 C CNN +F 3 "~" H 2800 6150 50 0001 C CNN + 1 2800 6150 + 1 0 0 -1 +$EndComp +Wire Wire Line + 2800 6000 2800 5900 +Connection ~ 2800 5900 +Wire Wire Line + 2800 5900 3000 5900 +$Comp +L power:GND #PWR? +U 1 1 5F7F1A34 +P 2800 6600 +F 0 "#PWR?" H 2800 6350 50 0001 C CNN +F 1 "GND" H 2805 6427 50 0000 C CNN +F 2 "" H 2800 6600 50 0001 C CNN +F 3 "" H 2800 6600 50 0001 C CNN + 1 2800 6600 + 1 0 0 -1 +$EndComp +Wire Wire Line + 2800 6600 2800 6300 $EndSCHEMATC diff --git a/kicad/sabik-cpu-cache.lib b/kicad/sabik-cpu-cache.lib index dff994c..6d481b6 100644 --- a/kicad/sabik-cpu-cache.lib +++ b/kicad/sabik-cpu-cache.lib @@ -172,6 +172,23 @@ X Pin_4 4 -200 -200 150 R 50 50 1 1 P ENDDRAW ENDDEF # +# Connector_TestPoint +# +DEF Connector_TestPoint TP 0 30 N N 1 F N +F0 "TP" 0 270 50 H V C CNN +F1 "Connector_TestPoint" 0 200 50 H V C CNN +F2 "" 200 0 50 H I C CNN +F3 "" 200 0 50 H I C CNN +$FPLIST + Pin* + Test* +$ENDFPLIST +DRAW +C 0 130 30 0 1 0 N +X 1 1 0 0 100 U 50 50 1 1 P +ENDDRAW +ENDDEF +# # Connector_USB_B_Micro # DEF Connector_USB_B_Micro J 0 40 Y Y 1 F N