From 2e6a89f9004778bb100150c1dff190c381f5d010 Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Sun, 18 Oct 2020 12:06:17 +0200 Subject: [PATCH] Implement review comments --- kicad/cpu.sch | 725 ++++++++++++---------- kicad/io.sch | 1189 ++++++++++++++++++++----------------- kicad/power.sch | 462 +++++++++----- kicad/sabik-cpu-cache.lib | 119 +++- 4 files changed, 1494 insertions(+), 1001 deletions(-) diff --git a/kicad/cpu.sch b/kicad/cpu.sch index efaf85c..e836701 100644 --- a/kicad/cpu.sch +++ b/kicad/cpu.sch @@ -16,65 +16,24 @@ $EndDescr $Comp L MCU_ST_STM32F4:STM32F410CBTx U? U 1 1 5F7DA088 -P 5950 3900 +P 6350 3900 AR Path="/5F7DA088" Ref="U?" Part="1" AR Path="/5F7D680C/5F7DA088" Ref="U?" Part="1" -F 0 "U?" H 5400 5350 50 0000 C CNN -F 1 "STM32F410CBTx" H 6400 2350 50 0000 C CNN -F 2 "Package_QFP:LQFP-48_7x7mm_P0.5mm" H 5350 2400 50 0001 R CNN -F 3 "http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00214043.pdf" H 5950 3900 50 0001 C CNN - 1 5950 3900 +F 0 "U?" H 5800 5350 50 0000 C CNN +F 1 "STM32F410CBTx" H 6800 2350 50 0000 C CNN +F 2 "Package_QFP:LQFP-48_7x7mm_P0.5mm" H 5750 2400 50 0001 R CNN +F 3 "http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00214043.pdf" H 6350 3900 50 0001 C CNN + 1 6350 3900 1 0 0 -1 $EndComp $Comp L power:+BATT #PWR? U 1 1 5F7DA08E -P 5750 2300 +P 6150 2300 AR Path="/5F7DA08E" Ref="#PWR?" Part="1" AR Path="/5F7D680C/5F7DA08E" Ref="#PWR?" Part="1" -F 0 "#PWR?" H 5750 2150 50 0001 C CNN -F 1 "+BATT" H 5765 2473 50 0000 C CNN -F 2 "" H 5750 2300 50 0001 C CNN -F 3 "" H 5750 2300 50 0001 C CNN - 1 5750 2300 - 1 0 0 -1 -$EndComp -Wire Wire Line - 5750 2300 5750 2400 -Wire Wire Line - 5850 2400 5850 2300 -Wire Wire Line - 5850 2300 5950 2300 -Wire Wire Line - 6050 2300 6050 2400 -Wire Wire Line - 5950 2400 5950 2300 -Connection ~ 5950 2300 -Wire Wire Line - 5950 2300 6050 2300 -Wire Wire Line - 5950 2300 5950 2100 -$Comp -L power:+3V3 #PWR? -U 1 1 5F7DA09C -P 5950 2100 -AR Path="/5F7DA09C" Ref="#PWR?" Part="1" -AR Path="/5F7D680C/5F7DA09C" Ref="#PWR?" Part="1" -F 0 "#PWR?" H 5950 1950 50 0001 C CNN -F 1 "+3V3" H 5965 2273 50 0000 C CNN -F 2 "" H 5950 2100 50 0001 C CNN -F 3 "" H 5950 2100 50 0001 C CNN - 1 5950 2100 - 1 0 0 -1 -$EndComp -$Comp -L power:VDDA #PWR? -U 1 1 5F7DA0A2 -P 6150 2300 -AR Path="/5F7DA0A2" Ref="#PWR?" Part="1" -AR Path="/5F7D680C/5F7DA0A2" Ref="#PWR?" Part="1" F 0 "#PWR?" H 6150 2150 50 0001 C CNN -F 1 "VDDA" H 6167 2473 50 0000 C CNN +F 1 "+BATT" H 6165 2473 50 0000 C CNN F 2 "" H 6150 2300 50 0001 C CNN F 3 "" H 6150 2300 50 0001 C CNN 1 6150 2300 @@ -83,52 +42,91 @@ $EndComp Wire Wire Line 6150 2300 6150 2400 Wire Wire Line - 5750 5500 5750 5600 + 6250 2400 6250 2300 Wire Wire Line - 5750 5600 5850 5600 + 6250 2300 6350 2300 Wire Wire Line - 6050 5600 6050 5500 + 6450 2300 6450 2400 Wire Wire Line - 5950 5500 5950 5600 -Connection ~ 5950 5600 + 6350 2400 6350 2300 +Connection ~ 6350 2300 Wire Wire Line - 5950 5600 6050 5600 + 6350 2300 6450 2300 Wire Wire Line - 5850 5500 5850 5600 -Connection ~ 5850 5600 -Wire Wire Line - 5850 5600 5900 5600 -Wire Wire Line - 5900 5600 5900 5700 -Connection ~ 5900 5600 -Wire Wire Line - 5900 5600 5950 5600 + 6350 2300 6350 2100 $Comp -L power:GND #PWR? -U 1 1 5F82E5AF -P 5900 5700 -F 0 "#PWR?" H 5900 5450 50 0001 C CNN -F 1 "GND" H 5905 5527 50 0000 C CNN -F 2 "" H 5900 5700 50 0001 C CNN -F 3 "" H 5900 5700 50 0001 C CNN - 1 5900 5700 +L power:+3V3 #PWR? +U 1 1 5F7DA09C +P 6350 2100 +AR Path="/5F7DA09C" Ref="#PWR?" Part="1" +AR Path="/5F7D680C/5F7DA09C" Ref="#PWR?" Part="1" +F 0 "#PWR?" H 6350 1950 50 0001 C CNN +F 1 "+3V3" H 6365 2273 50 0000 C CNN +F 2 "" H 6350 2100 50 0001 C CNN +F 3 "" H 6350 2100 50 0001 C CNN + 1 6350 2100 + 1 0 0 -1 +$EndComp +$Comp +L power:VDDA #PWR? +U 1 1 5F7DA0A2 +P 6550 2300 +AR Path="/5F7DA0A2" Ref="#PWR?" Part="1" +AR Path="/5F7D680C/5F7DA0A2" Ref="#PWR?" Part="1" +F 0 "#PWR?" H 6550 2150 50 0001 C CNN +F 1 "VDDA" H 6567 2473 50 0000 C CNN +F 2 "" H 6550 2300 50 0001 C CNN +F 3 "" H 6550 2300 50 0001 C CNN + 1 6550 2300 1 0 0 -1 $EndComp Wire Wire Line - 5250 4300 4800 4300 -Text Label 4800 4300 0 50 ~ 0 + 6550 2300 6550 2400 +Wire Wire Line + 6150 5500 6150 5600 +Wire Wire Line + 6150 5600 6250 5600 +Wire Wire Line + 6450 5600 6450 5500 +Wire Wire Line + 6350 5500 6350 5600 +Connection ~ 6350 5600 +Wire Wire Line + 6350 5600 6450 5600 +Wire Wire Line + 6250 5500 6250 5600 +Connection ~ 6250 5600 +Wire Wire Line + 6250 5600 6300 5600 +Wire Wire Line + 6300 5600 6300 5700 +Connection ~ 6300 5600 +Wire Wire Line + 6300 5600 6350 5600 +$Comp +L power:GND #PWR? +U 1 1 5F82E5AF +P 6300 5700 +F 0 "#PWR?" H 6300 5450 50 0001 C CNN +F 1 "GND" H 6305 5527 50 0000 C CNN +F 2 "" H 6300 5700 50 0001 C CNN +F 3 "" H 6300 5700 50 0001 C CNN + 1 6300 5700 + 1 0 0 -1 +$EndComp +Wire Wire Line + 5650 4300 5200 4300 +Text Label 5200 4300 0 50 ~ 0 JTDO Wire Wire Line - 5250 4400 4800 4400 -Text Label 4800 4400 0 50 ~ 0 -JTRST_N -Text Label 7150 5300 2 50 ~ 0 + 5650 4400 5200 4400 +Text Label 7550 5300 2 50 ~ 0 JTDI -Text Label 7150 5200 2 50 ~ 0 +Text Label 7550 5200 2 50 ~ 0 JTCK Text Label 2500 3600 2 50 ~ 0 JTDO -Text Label 7150 5100 2 50 ~ 0 +Text Label 7550 5100 2 50 ~ 0 JTMS Text Label 2500 3500 2 50 ~ 0 JTMS @@ -163,8 +161,8 @@ F 3 "" H 1650 2800 50 0001 C CNN 1 0 0 -1 $EndComp Wire Wire Line - 5250 2600 5100 2600 -Text Label 4800 2600 0 50 ~ 0 + 5650 2600 5500 2600 +Text Label 5200 2600 0 50 ~ 0 RST_N Wire Wire Line 2150 3400 2500 3400 @@ -175,369 +173,354 @@ Wire Wire Line $Comp L Device:R R? U 1 1 5F83E819 -P 5100 2350 -F 0 "R?" H 5170 2396 50 0000 L CNN -F 1 "10k" H 5170 2305 50 0000 L CNN -F 2 "" V 5030 2350 50 0001 C CNN -F 3 "~" H 5100 2350 50 0001 C CNN - 1 5100 2350 +P 5500 2350 +F 0 "R?" H 5570 2396 50 0000 L CNN +F 1 "10k" H 5570 2305 50 0000 L CNN +F 2 "" V 5430 2350 50 0001 C CNN +F 3 "~" H 5500 2350 50 0001 C CNN + 1 5500 2350 1 0 0 -1 $EndComp Wire Wire Line - 5100 2200 5100 2100 + 5500 2200 5500 2100 $Comp L power:+3V3 #PWR? U 1 1 5F83F77B -P 5100 2100 -F 0 "#PWR?" H 5100 1950 50 0001 C CNN -F 1 "+3V3" H 5115 2273 50 0000 C CNN -F 2 "" H 5100 2100 50 0001 C CNN -F 3 "" H 5100 2100 50 0001 C CNN - 1 5100 2100 +P 5500 2100 +F 0 "#PWR?" H 5500 1950 50 0001 C CNN +F 1 "+3V3" H 5515 2273 50 0000 C CNN +F 2 "" H 5500 2100 50 0001 C CNN +F 3 "" H 5500 2100 50 0001 C CNN + 1 5500 2100 1 0 0 -1 $EndComp Wire Wire Line - 5100 2500 5100 2600 -Connection ~ 5100 2600 + 5500 2500 5500 2600 +Connection ~ 5500 2600 Wire Wire Line - 5100 2600 4800 2600 + 5500 2600 5200 2600 $Comp L Switch:SW_Push SW? U 1 1 5F840B63 -P 850 1050 -F 0 "SW?" V 804 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 +P 1650 1800 +F 0 "SW?" V 1604 1948 50 0000 L CNN +F 1 "Reset" V 1695 1948 50 0000 L CNN +F 2 "" H 1650 2000 50 0001 C CNN +F 3 "~" H 1650 2000 50 0001 C CNN + 1 1650 1800 0 1 1 0 $EndComp -Text Label 1200 750 2 50 ~ 0 +Text Label 2000 1500 2 50 ~ 0 RST_N Wire Wire Line - 850 850 850 750 + 1650 1600 1650 1500 Wire Wire Line - 850 750 1200 750 + 1650 1500 2000 1500 Wire Wire Line - 850 1250 850 1350 + 1650 2000 1650 2050 $Comp L power:GND #PWR? U 1 1 5F843AA8 -P 850 1350 -F 0 "#PWR?" H 850 1100 50 0001 C CNN -F 1 "GND" H 855 1177 50 0000 C CNN -F 2 "" H 850 1350 50 0001 C CNN -F 3 "" H 850 1350 50 0001 C CNN - 1 850 1350 +P 1650 2100 +F 0 "#PWR?" H 1650 1850 50 0001 C CNN +F 1 "GND" H 1655 1927 50 0000 C CNN +F 2 "" H 1650 2100 50 0001 C CNN +F 3 "" H 1650 2100 50 0001 C CNN + 1 1650 2100 1 0 0 -1 $EndComp -Text Notes 6100 5650 0 50 ~ 0 -Pin functions in\nSTM32F410, Table 9 -Text HLabel 7150 4100 2 50 Input ~ 0 +Text Notes 6500 5650 0 50 ~ 0 +Pin functions in\nSTM32F410 DS, Table 9 +Text HLabel 7550 4100 2 50 Input ~ 0 DMX_RO -Text HLabel 7150 3800 2 50 Output ~ 0 +Text HLabel 7550 3800 2 50 Output ~ 0 DMX_RE -Text HLabel 7150 4000 2 50 Output ~ 0 +Text HLabel 7550 4000 2 50 Output ~ 0 DMX_DI -Text HLabel 7150 3900 2 50 Output ~ 0 +Text HLabel 7550 3900 2 50 Output ~ 0 DMX_DE -Text HLabel 7150 4500 2 50 Output ~ 0 +Text HLabel 7550 4500 2 50 Output ~ 0 WS0_TX $Comp L Device:R R? U 1 1 5F854BA0 -P 4400 5300 -F 0 "R?" V 4300 5300 50 0000 C CNN -F 1 "TBD" V 4400 5300 50 0000 C CNN -F 2 "" V 4330 5300 50 0001 C CNN -F 3 "~" H 4400 5300 50 0001 C CNN - 1 4400 5300 +P 4800 5300 +F 0 "R?" V 4700 5300 50 0000 C CNN +F 1 "TBD" V 4800 5300 50 0000 C CNN +F 2 "" V 4730 5300 50 0001 C CNN +F 3 "~" H 4800 5300 50 0001 C CNN + 1 4800 5300 0 1 1 0 $EndComp $Comp L Device:R R? U 1 1 5F855D14 -P 4400 5100 -F 0 "R?" V 4300 5100 50 0000 C CNN -F 1 "TBD" V 4400 5100 50 0000 C CNN -F 2 "" V 4330 5100 50 0001 C CNN -F 3 "~" H 4400 5100 50 0001 C CNN - 1 4400 5100 +P 4800 5100 +F 0 "R?" V 4700 5100 50 0000 C CNN +F 1 "TBD" V 4800 5100 50 0000 C CNN +F 2 "" V 4730 5100 50 0001 C CNN +F 3 "~" H 4800 5100 50 0001 C CNN + 1 4800 5100 0 1 1 0 $EndComp $Comp L Device:R R? U 1 1 5F855F65 -P 4400 5500 -F 0 "R?" V 4300 5500 50 0000 C CNN -F 1 "TBD" V 4400 5500 50 0000 C CNN -F 2 "" V 4330 5500 50 0001 C CNN -F 3 "~" H 4400 5500 50 0001 C CNN - 1 4400 5500 +P 4800 5500 +F 0 "R?" V 4700 5500 50 0000 C CNN +F 1 "TBD" V 4800 5500 50 0000 C CNN +F 2 "" V 4730 5500 50 0001 C CNN +F 3 "~" H 4800 5500 50 0001 C CNN + 1 4800 5500 0 1 1 0 $EndComp Wire Wire Line - 4250 5500 4150 5500 + 4650 5500 4550 5500 Wire Wire Line - 4150 5300 4250 5300 + 4550 5300 4650 5300 Wire Wire Line - 4150 5100 4250 5100 -Text HLabel 7150 4800 2 50 Output ~ 0 + 4550 5100 4650 5100 +Text HLabel 7550 4800 2 50 Output ~ 0 WS1_TX Wire Wire Line - 6550 3800 7150 3800 + 6950 3800 7550 3800 Wire Wire Line - 6550 3900 7150 3900 + 6950 3900 7550 3900 Wire Wire Line - 6550 4000 7150 4000 + 6950 4000 7550 4000 Wire Wire Line - 6550 4100 7150 4100 + 6950 4100 7550 4100 Wire Wire Line - 6550 4500 7150 4500 + 6950 4500 7550 4500 Wire Wire Line - 6550 4800 7150 4800 + 6950 4800 7550 4800 Wire Wire Line - 6550 5100 7150 5100 + 6950 5100 7550 5100 Wire Wire Line - 6550 5200 7150 5200 + 6950 5200 7550 5200 Wire Wire Line - 6550 5300 7150 5300 -Text Notes 6550 4500 0 50 ~ 0 + 6950 5300 7550 5300 +Text Notes 6950 4500 0 50 ~ 0 :SPI1_MOSI -Text Notes 6550 4800 0 50 ~ 0 +Text Notes 6950 4800 0 50 ~ 0 :SPI5_MOSI -Text Notes 6550 4000 0 50 ~ 0 +Text Notes 6950 4000 0 50 ~ 0 :USART2_TX -Text Notes 6550 4100 0 50 ~ 0 +Text Notes 6950 4100 0 50 ~ 0 :USART2_RX $Comp L Device:Crystal Y? U 1 1 5F887C87 -P 4800 3450 -F 0 "Y?" V 4754 3581 50 0000 L CNN -F 1 "8M" V 4845 3581 50 0000 L CNN -F 2 "" H 4800 3450 50 0001 C CNN -F 3 "~" H 4800 3450 50 0001 C CNN - 1 4800 3450 +P 5200 3450 +F 0 "Y?" V 5154 3581 50 0000 L CNN +F 1 "8M" V 5245 3581 50 0000 L CNN +F 2 "" H 5200 3450 50 0001 C CNN +F 3 "~" H 5200 3450 50 0001 C CNN + 1 5200 3450 0 1 1 0 $EndComp Wire Wire Line - 5250 3400 5100 3400 + 5650 3400 5500 3400 Wire Wire Line - 5100 3400 5100 3600 + 5500 3400 5500 3600 Wire Wire Line - 5100 3600 4800 3600 + 5500 3600 5200 3600 $Comp L Device:C C? U 1 1 5F8906AA -P 4500 3600 -F 0 "C?" V 4450 3700 50 0000 C CNN -F 1 "20p" V 4550 3750 50 0000 C CNN -F 2 "" H 4538 3450 50 0001 C CNN -F 3 "~" H 4500 3600 50 0001 C CNN - 1 4500 3600 +P 4900 3600 +F 0 "C?" V 4850 3750 50 0000 C CNN +F 1 "22p" V 4950 3750 50 0000 C CNN +F 2 "" H 4938 3450 50 0001 C CNN +F 3 "~" H 4900 3600 50 0001 C CNN + 1 4900 3600 0 1 1 0 $EndComp Wire Wire Line - 4650 3600 4800 3600 -Connection ~ 4800 3600 + 5050 3600 5200 3600 +Connection ~ 5200 3600 Wire Wire Line - 4800 3300 4650 3300 -Connection ~ 4800 3300 + 5200 3300 5050 3300 +Connection ~ 5200 3300 Wire Wire Line - 4350 3300 4250 3300 + 4750 3300 4650 3300 Wire Wire Line - 4250 3300 4250 3450 + 4650 3300 4650 3450 Wire Wire Line - 4250 3600 4350 3600 + 4650 3600 4750 3600 Wire Wire Line - 4250 3450 4150 3450 -Connection ~ 4250 3450 + 4650 3450 4550 3450 +Connection ~ 4650 3450 Wire Wire Line - 4250 3450 4250 3600 + 4650 3450 4650 3600 $Comp L power:GND #PWR? U 1 1 5F896C41 -P 4150 3450 -F 0 "#PWR?" H 4150 3200 50 0001 C CNN -F 1 "GND" V 4155 3322 50 0000 R CNN -F 2 "" H 4150 3450 50 0001 C CNN -F 3 "" H 4150 3450 50 0001 C CNN - 1 4150 3450 +P 4550 3450 +F 0 "#PWR?" H 4550 3200 50 0001 C CNN +F 1 "GND" V 4555 3322 50 0000 R CNN +F 2 "" H 4550 3450 50 0001 C CNN +F 3 "" H 4550 3450 50 0001 C CNN + 1 4550 3450 0 1 1 0 $EndComp $Comp L Device:C C? U 1 1 5F89C461 -P 4500 3300 -F 0 "C?" V 4450 3400 50 0000 C CNN -F 1 "20p" V 4550 3450 50 0000 C CNN -F 2 "" H 4538 3150 50 0001 C CNN -F 3 "~" H 4500 3300 50 0001 C CNN - 1 4500 3300 +P 4900 3300 +F 0 "C?" V 4850 3450 50 0000 C CNN +F 1 "22P" V 4950 3450 50 0000 C CNN +F 2 "" H 4938 3150 50 0001 C CNN +F 3 "~" H 4900 3300 50 0001 C CNN + 1 4900 3300 0 1 1 0 $EndComp Wire Wire Line - 5150 2800 5250 2800 + 5550 2800 5650 2800 $Comp L Device:R R? U 1 1 5F868F3C -P 5000 2800 -F 0 "R?" V 4900 2800 50 0000 C CNN -F 1 "0" V 5000 2800 50 0000 C CNN -F 2 "" V 4930 2800 50 0001 C CNN -F 3 "~" H 5000 2800 50 0001 C CNN - 1 5000 2800 +P 5400 2800 +F 0 "R?" V 5300 2800 50 0000 C CNN +F 1 "0" V 5400 2800 50 0000 C CNN +F 2 "" V 5330 2800 50 0001 C CNN +F 3 "~" H 5400 2800 50 0001 C CNN + 1 5400 2800 0 1 1 0 $EndComp Wire Wire Line - 5150 3000 5250 3000 -$Comp -L Device:R R? -U 1 1 5F86FB1A -P 5000 3000 -F 0 "R?" V 4900 3000 50 0000 C CNN -F 1 "0" V 5000 3000 50 0000 C CNN -F 2 "" V 4930 3000 50 0001 C CNN -F 3 "~" H 5000 3000 50 0001 C CNN - 1 5000 3000 - 0 1 1 0 -$EndComp -Wire Wire Line - 4900 3100 5250 3100 + 5300 3100 5600 3100 $Comp L Device:C C? U 1 1 5F87B5BD -P 4750 3100 -F 0 "C?" V 4800 3000 50 0000 C CNN -F 1 "100n" V 4800 3250 50 0000 C CNN -F 2 "" H 4788 2950 50 0001 C CNN -F 3 "~" H 4750 3100 50 0001 C CNN - 1 4750 3100 +P 5150 3100 +F 0 "C?" V 5200 2950 50 0000 C CNN +F 1 "100n" V 5200 3250 50 0000 C CNN +F 2 "" H 5188 2950 50 0001 C CNN +F 3 "~" H 5150 3100 50 0001 C CNN + 1 5150 3100 0 1 1 0 $EndComp Wire Wire Line - 4150 3100 4600 3100 + 4550 3100 5000 3100 Wire Wire Line - 4150 2800 4850 2800 + 4550 2800 5250 2800 $Comp L power:GND #PWR? U 1 1 5F87D3AE -P 4150 3100 -F 0 "#PWR?" H 4150 2850 50 0001 C CNN -F 1 "GND" V 4155 2972 50 0000 R CNN -F 2 "" H 4150 3100 50 0001 C CNN -F 3 "" H 4150 3100 50 0001 C CNN - 1 4150 3100 +P 4550 3100 +F 0 "#PWR?" H 4550 2850 50 0001 C CNN +F 1 "GND" V 4555 2972 50 0000 R CNN +F 2 "" H 4550 3100 50 0001 C CNN +F 3 "" H 4550 3100 50 0001 C CNN + 1 4550 3100 0 1 1 0 $EndComp $Comp L power:GND #PWR? U 1 1 5F86B542 -P 4150 2800 -F 0 "#PWR?" H 4150 2550 50 0001 C CNN -F 1 "GND" V 4155 2672 50 0000 R CNN -F 2 "" H 4150 2800 50 0001 C CNN -F 3 "" H 4150 2800 50 0001 C CNN - 1 4150 2800 +P 4550 2800 +F 0 "#PWR?" H 4550 2550 50 0001 C CNN +F 1 "GND" V 4555 2672 50 0000 R CNN +F 2 "" H 4550 2800 50 0001 C CNN +F 3 "" H 4550 2800 50 0001 C CNN + 1 4550 2800 0 1 1 0 $EndComp Wire Wire Line - 4800 3300 5250 3300 + 5200 3300 5650 3300 Wire Wire Line - 4250 2100 4250 3000 -Wire Wire Line - 4250 3000 4850 3000 + 4650 2100 4650 3000 $Comp L power:+3V3 #PWR? U 1 1 5F87123D -P 4250 2100 -F 0 "#PWR?" H 4250 1950 50 0001 C CNN -F 1 "+3V3" H 4265 2273 50 0000 C CNN -F 2 "" H 4250 2100 50 0001 C CNN -F 3 "" H 4250 2100 50 0001 C CNN - 1 4250 2100 +P 4650 2100 +F 0 "#PWR?" H 4650 1950 50 0001 C CNN +F 1 "+3V3" H 4665 2273 50 0000 C CNN +F 2 "" H 4650 2100 50 0001 C CNN +F 3 "" H 4650 2100 50 0001 C CNN + 1 4650 2100 1 0 0 -1 $EndComp -NoConn ~ 5250 3600 -NoConn ~ 5250 3700 -NoConn ~ 5250 3800 -Text Notes 5550 3800 0 50 ~ 0 +NoConn ~ 5650 3600 +NoConn ~ 5650 3700 +NoConn ~ 5650 3800 +Text Notes 5950 3800 0 50 ~ 0 |/!\ These pins have\n|limited capabilities.\n| Wire Wire Line - 4550 5100 5250 5100 + 4950 5100 5650 5100 Wire Wire Line - 5250 5200 4650 5200 + 5650 5200 5050 5200 Wire Wire Line - 4650 5200 4650 5300 + 5050 5200 5050 5300 Wire Wire Line - 4650 5300 4550 5300 + 5050 5300 4950 5300 Wire Wire Line - 4550 5500 4800 5500 + 4950 5500 5200 5500 Wire Wire Line - 4800 5500 4800 5300 + 5200 5500 5200 5300 Wire Wire Line - 4800 5300 5250 5300 + 5200 5300 5650 5300 $Comp L power:GND #PWR? U 1 1 5F8DE84D -P 3650 5400 -F 0 "#PWR?" H 3650 5150 50 0001 C CNN -F 1 "GND" H 3655 5227 50 0000 C CNN -F 2 "" H 3650 5400 50 0001 C CNN -F 3 "" H 3650 5400 50 0001 C CNN - 1 3650 5400 +P 4050 5400 +F 0 "#PWR?" H 4050 5150 50 0001 C CNN +F 1 "GND" H 4055 5227 50 0000 C CNN +F 2 "" H 4050 5400 50 0001 C CNN +F 3 "" H 4050 5400 50 0001 C CNN + 1 4050 5400 1 0 0 -1 $EndComp Wire Wire Line - 3650 5400 3650 5300 + 4050 5400 4050 5300 Wire Wire Line - 3650 5300 3750 5300 -Text HLabel 7150 4400 2 50 Input ~ 0 + 4050 5300 4150 5300 +Text HLabel 7550 4400 2 50 Input ~ 0 WS0_RX Wire Wire Line - 6550 4400 7150 4400 -Text Notes 6550 4400 0 50 ~ 0 + 6950 4400 7550 4400 +Text Notes 6950 4400 0 50 ~ 0 :SPI1_MISO -Text HLabel 7150 5000 2 50 Input ~ 0 +Text HLabel 7550 5000 2 50 Input ~ 0 WS1_RX Wire Wire Line - 6550 5000 7150 5000 -Text Notes 6550 5000 0 50 ~ 0 + 6950 5000 7550 5000 +Text Notes 6950 5000 0 50 ~ 0 :SPI5_MISO Wire Wire Line - 5250 4600 4800 4600 + 5650 4600 5200 4600 Wire Wire Line - 5250 4700 4800 4700 -Text Notes 5250 4600 2 50 ~ 0 + 5650 4700 5200 4700 +Text Notes 5650 4600 2 50 ~ 0 USART1_TX: -Text Notes 5250 4700 2 50 ~ 0 +Text Notes 5650 4700 2 50 ~ 0 USART1_RX: -Text HLabel 4800 4700 0 50 Input ~ 0 +Text HLabel 5200 4700 0 50 Input ~ 0 CONTROL_UART_IN -Text HLabel 4800 4600 0 50 Output ~ 0 +Text HLabel 5200 4600 0 50 Output ~ 0 CONTROL_UART_OUT -Text Notes 5250 5300 2 50 ~ 0 +Text Notes 5650 5300 2 50 ~ 0 TIM1_CH1N: -Text Notes 5250 5200 2 50 ~ 0 +Text Notes 5650 5200 2 50 ~ 0 TIM1_CH2N: -Text Notes 5250 5100 2 50 ~ 0 +Text Notes 5650 5100 2 50 ~ 0 TIM1_CH3N: $Comp L Device:LED_ARGB D? U 1 1 5F8154E7 -P 3950 5300 -F 0 "D?" H 3950 4833 50 0000 C CNN -F 1 "LED_ARGB" H 3950 4924 50 0000 C CNN -F 2 "" H 3950 5250 50 0001 C CNN -F 3 "~" H 3950 5250 50 0001 C CNN - 1 3950 5300 +P 4350 5300 +F 0 "D?" H 4350 4833 50 0000 C CNN +F 1 "LED_ARGB" H 4350 4924 50 0000 C CNN +F 2 "" H 4350 5250 50 0001 C CNN +F 3 "~" H 4350 5250 50 0001 C CNN + 1 4350 5300 -1 0 0 1 $EndComp -Text HLabel 4800 4800 0 50 Input ~ 0 +Text HLabel 5200 4800 0 50 Input ~ 0 CONTROL_UART_RST Wire Wire Line - 4800 4800 5250 4800 + 5200 4800 5650 4800 $Comp L Connector:Conn_ARM_JTAG_SWD_10 J? U 1 1 5F908B18 @@ -577,51 +560,155 @@ F 3 "" H 1600 4300 50 0001 C CNN 1 1600 4300 1 0 0 -1 $EndComp -Text Notes 4800 4400 2 50 ~ 0 -Not used: Wire Wire Line - 6550 4200 7150 4200 + 6950 4200 7550 4200 Wire Wire Line - 6550 4300 7150 4300 -Text HLabel 7150 4200 2 50 Input ~ 0 + 6950 4300 7550 4300 +Text HLabel 7550 4200 2 50 Input ~ 0 AUDIO_L -Text HLabel 7150 4300 2 50 Input ~ 0 +Text HLabel 7550 4300 2 50 Input ~ 0 AUDIO_R -Text Notes 6550 4200 0 50 ~ 0 +Text Notes 6950 4200 0 50 ~ 0 :ADC1_4 -Text Notes 6550 4300 0 50 ~ 0 +Text Notes 6950 4300 0 50 ~ 0 :ADC1_5 +NoConn ~ 6950 4900 +NoConn ~ 5650 5000 +NoConn ~ 5650 4900 +NoConn ~ 5650 4500 +NoConn ~ 5650 4200 +NoConn ~ 5650 4100 +NoConn ~ 5650 4000 $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 +L Connector:Conn_01x04_Male J? +U 1 1 5F8C85D1 +P 8450 4700 +F 0 "J?" H 8422 4582 50 0000 R CNN +F 1 "GPIO" H 8422 4673 50 0000 R CNN +F 2 "" H 8450 4700 50 0001 C CNN +F 3 "~" H 8450 4700 50 0001 C CNN + 1 8450 4700 + -1 0 0 1 $EndComp Wire Wire Line - 7050 4600 6550 4600 + 8250 4500 8150 4500 Wire Wire Line - 7050 4700 6550 4700 + 8150 4500 8150 4400 +Wire Wire Line + 8250 4800 8150 4800 +Wire Wire Line + 8150 4800 8150 4900 +$Comp +L power:GND #PWR? +U 1 1 5F8D04E3 +P 8150 4900 +F 0 "#PWR?" H 8150 4650 50 0001 C CNN +F 1 "GND" H 8155 4727 50 0000 C CNN +F 2 "" H 8150 4900 50 0001 C CNN +F 3 "" H 8150 4900 50 0001 C CNN + 1 8150 4900 + 1 0 0 -1 +$EndComp +$Comp +L power:+3V3 #PWR? +U 1 1 5F8D0EE5 +P 8150 4400 +F 0 "#PWR?" H 8150 4250 50 0001 C CNN +F 1 "+3V3" H 8165 4573 50 0000 C CNN +F 2 "" H 8150 4400 50 0001 C CNN +F 3 "" H 8150 4400 50 0001 C CNN + 1 8150 4400 + 1 0 0 -1 +$EndComp +Wire Wire Line + 6950 4600 8250 4600 +Wire Wire Line + 6950 4700 8250 4700 +$Comp +L Device:C C? +U 1 1 5F8D70AA +P 1450 1800 +F 0 "C?" H 1335 1754 50 0000 R CNN +F 1 "100n" H 1335 1845 50 0000 R CNN +F 2 "" H 1488 1650 50 0001 C CNN +F 3 "~" H 1450 1800 50 0001 C CNN + 1 1450 1800 + 1 0 0 1 +$EndComp +Wire Wire Line + 1450 1950 1450 2050 +Wire Wire Line + 1450 2050 1650 2050 +Connection ~ 1650 2050 +Wire Wire Line + 1650 2050 1650 2100 +Wire Wire Line + 1450 1650 1450 1500 +Wire Wire Line + 1450 1500 1650 1500 +Connection ~ 1650 1500 $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 +U 1 1 5FBCAC5C +P 5200 4400 +F 0 "TP?" V 5150 4400 50 0000 C CNN +F 1 "JTRST_N" V 5200 4750 50 0000 C CNN +F 2 "" H 5400 4400 50 0001 C CNN +F 3 "~" H 5400 4400 50 0001 C CNN + 1 5200 4400 + 0 -1 -1 0 +$EndComp +Text Label 5200 4400 0 50 ~ 0 +JTRST_N +Text Label 5650 3300 2 50 ~ 0 +XTAL0 +Text Label 5650 3400 2 50 ~ 0 +XTAL1 +Text Label 8250 4600 2 50 ~ 0 +PA8 +Text Label 8250 4700 2 50 ~ 0 +PA9 +$Comp +L power:PWR_FLAG #FLG? +U 1 1 5FBFD7EA +P 5600 3100 +F 0 "#FLG?" H 5600 3175 50 0001 C CNN +F 1 "PWR_FLAG" H 5600 3273 50 0001 C CNN +F 2 "" H 5600 3100 50 0001 C CNN +F 3 "~" H 5600 3100 50 0001 C CNN + 1 5600 3100 + -1 0 0 1 +$EndComp +Connection ~ 5600 3100 +Wire Wire Line + 5600 3100 5650 3100 +Wire Wire Line + 4650 3000 5250 3000 +Wire Wire Line + 5600 3000 5650 3000 +Wire Wire Line + 5550 3000 5600 3000 +Connection ~ 5600 3000 +$Comp +L power:PWR_FLAG #FLG? +U 1 1 5FBFCF4E +P 5600 3000 +F 0 "#FLG?" H 5600 3075 50 0001 C CNN +F 1 "PWR_FLAG" H 5600 3173 50 0001 C CNN +F 2 "" H 5600 3000 50 0001 C CNN +F 3 "~" H 5600 3000 50 0001 C CNN + 1 5600 3000 + 1 0 0 -1 +$EndComp +$Comp +L Device:R R? +U 1 1 5F86FB1A +P 5400 3000 +F 0 "R?" V 5300 3000 50 0000 C CNN +F 1 "0" V 5400 3000 50 0000 C CNN +F 2 "" V 5330 3000 50 0001 C CNN +F 3 "~" H 5400 3000 50 0001 C CNN + 1 5400 3000 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 d5975f1..0a09b23 100644 --- a/kicad/io.sch +++ b/kicad/io.sch @@ -14,593 +14,353 @@ Comment3 "" Comment4 "Input / Output" $EndDescr $Comp -L Interface_UART:MAX485E U? -U 1 1 5F846A22 -P 8400 1950 -F 0 "U?" H 8150 2400 50 0000 C CNN -F 1 "MAX485E" H 8600 1400 50 0000 C CNN -F 2 "" H 8400 1250 50 0001 C CNN -F 3 "https://datasheets.maximintegrated.com/en/ds/MAX1487E-MAX491E.pdf" H 8400 2000 50 0001 C CNN - 1 8400 1950 - 1 0 0 -1 -$EndComp -$Comp -L Device:R R? -U 1 1 5F78D28A -P 9100 2000 -F 0 "R?" H 9170 2046 50 0000 L CNN -F 1 "DNP" H 9170 1955 50 0000 L CNN -F 2 "" V 9030 2000 50 0001 C CNN -F 3 "~" H 9100 2000 50 0001 C CNN - 1 9100 2000 - 1 0 0 -1 -$EndComp -Wire Wire Line - 8800 1850 8900 1850 -Wire Wire Line - 8900 1850 8900 1750 -Wire Wire Line - 8900 1750 9100 1750 -Wire Wire Line - 9100 2150 9100 2250 -Wire Wire Line - 9100 2250 8900 2250 -Wire Wire Line - 8900 2250 8900 2150 -Wire Wire Line - 8900 2150 8800 2150 -Connection ~ 9100 2250 -Wire Wire Line - 9100 1850 9100 1750 -Connection ~ 9100 1750 -Text HLabel 7800 1850 0 50 Output ~ 0 -DMX_RO -Text HLabel 7800 1950 0 50 Input ~ 0 -DMX_RE -Text HLabel 7800 2150 0 50 Input ~ 0 -DMX_DI -Text HLabel 7800 2050 0 50 Input ~ 0 -DMX_DE -Wire Wire Line - 7800 1850 8000 1850 -Wire Wire Line - 7800 1950 8000 1950 -Wire Wire Line - 7800 2050 8000 2050 -Wire Wire Line - 7800 2150 8000 2150 -$Comp -L Connector:Screw_Terminal_01x03 J? -U 1 1 5F7904F0 -P 10500 1850 -F 0 "J?" H 10580 1892 50 0000 L CNN -F 1 "DMX-IN" H 10580 1801 50 0000 L CNN -F 2 "" H 10500 1850 50 0001 C CNN -F 3 "~" H 10500 1850 50 0001 C CNN - 1 10500 1850 - 1 0 0 -1 -$EndComp -Wire Wire Line - 9100 1750 9800 1750 -Wire Wire Line - 9400 2250 9400 1850 -Wire Wire Line - 9400 1850 9700 1850 -Wire Wire Line - 9100 2250 9400 2250 -Wire Wire Line - 10300 1950 10200 1950 -Wire Wire Line - 10200 1950 10200 2050 -$Comp -L power:GND #PWR? -U 1 1 5F7934F5 -P 10200 2050 -F 0 "#PWR?" H 10200 1800 50 0001 C CNN -F 1 "GND" H 10205 1877 50 0000 C CNN -F 2 "" H 10200 2050 50 0001 C CNN -F 3 "" H 10200 2050 50 0001 C CNN - 1 10200 2050 - 1 0 0 -1 -$EndComp -$Comp -L Connector:Screw_Terminal_01x03 J? -U 1 1 5F793A79 -P 10500 2500 -F 0 "J?" H 10580 2542 50 0000 L CNN -F 1 "DMX-OUT" H 10580 2451 50 0000 L CNN -F 2 "" H 10500 2500 50 0001 C CNN -F 3 "~" H 10500 2500 50 0001 C CNN - 1 10500 2500 - 1 0 0 -1 -$EndComp -Wire Wire Line - 10300 2600 10200 2600 -Wire Wire Line - 10200 2600 10200 2700 -$Comp -L power:GND #PWR? -U 1 1 5F7944DB -P 10200 2700 -F 0 "#PWR?" H 10200 2450 50 0001 C CNN -F 1 "GND" H 10205 2527 50 0000 C CNN -F 2 "" H 10200 2700 50 0001 C CNN -F 3 "" H 10200 2700 50 0001 C CNN - 1 10200 2700 - 1 0 0 -1 -$EndComp -$Comp -L Device:R R? -U 1 1 5F794BC2 -P 10050 2400 -F 0 "R?" V 10100 2550 50 0000 C CNN -F 1 "0" V 10050 2400 50 0000 C CNN -F 2 "" V 9980 2400 50 0001 C CNN -F 3 "~" H 10050 2400 50 0001 C CNN - 1 10050 2400 - 0 1 1 0 -$EndComp -$Comp -L Device:R R? -U 1 1 5F79524D -P 10050 2500 -F 0 "R?" V 10100 2650 50 0000 C CNN -F 1 "0" V 10050 2500 50 0000 C CNN -F 2 "" V 9980 2500 50 0001 C CNN -F 3 "~" H 10050 2500 50 0001 C CNN - 1 10050 2500 - 0 1 1 0 -$EndComp -Wire Wire Line - 10200 2400 10300 2400 -Wire Wire Line - 10300 2500 10200 2500 -Wire Wire Line - 9900 2400 9800 2400 -Wire Wire Line - 9800 2400 9800 1750 -Connection ~ 9800 1750 -Wire Wire Line - 9800 1750 10300 1750 -Wire Wire Line - 9900 2500 9700 2500 -Wire Wire Line - 9700 2500 9700 1850 -Connection ~ 9700 1850 -Wire Wire Line - 9700 1850 10300 1850 -Text Label 9400 1750 0 50 ~ 0 -DMXL -Text Label 9400 1850 0 50 ~ 0 -DMXH -$Comp L Connector:Screw_Terminal_01x04 J? U 1 1 5F79C1C7 -P 9800 4850 -F 0 "J?" H 9880 4842 50 0000 L CNN -F 1 "WS-0" H 9880 4751 50 0000 L CNN -F 2 "" H 9800 4850 50 0001 C CNN -F 3 "~" H 9800 4850 50 0001 C CNN - 1 9800 4850 +P 9700 3700 +F 0 "J?" H 9780 3692 50 0000 L CNN +F 1 "WS-0" H 9780 3601 50 0000 L CNN +F 2 "" H 9700 3700 50 0001 C CNN +F 3 "~" H 9700 3700 50 0001 C CNN + 1 9700 3700 1 0 0 -1 $EndComp $Comp L Connector:Screw_Terminal_01x04 J? U 1 1 5F79C92B -P 9800 5350 -F 0 "J?" H 9880 5342 50 0000 L CNN -F 1 "WS-1" H 9880 5251 50 0000 L CNN -F 2 "" H 9800 5350 50 0001 C CNN -F 3 "~" H 9800 5350 50 0001 C CNN - 1 9800 5350 +P 9700 4200 +F 0 "J?" H 9780 4192 50 0000 L CNN +F 1 "WS-1" H 9780 4101 50 0000 L CNN +F 2 "" H 9700 4200 50 0001 C CNN +F 3 "~" H 9700 4200 50 0001 C CNN + 1 9700 4200 1 0 0 -1 $EndComp Wire Wire Line - 9600 5550 9500 5550 + 9500 4400 9400 4400 Wire Wire Line - 9500 5550 9500 5050 + 9400 4400 9400 3900 Wire Wire Line - 9500 5050 9600 5050 + 9400 3900 9500 3900 Wire Wire Line - 9600 5450 9400 5450 + 9500 4300 9300 4300 Wire Wire Line - 9400 5450 9400 4950 + 9300 4300 9300 3800 Wire Wire Line - 9400 4950 9600 4950 + 9300 3800 9500 3800 Wire Wire Line - 9500 5550 9500 5650 -Connection ~ 9500 5550 + 9400 4400 9400 4500 +Connection ~ 9400 4400 Wire Wire Line - 9400 4950 9400 4650 -Connection ~ 9400 4950 + 9300 3800 9300 3500 +Connection ~ 9300 3800 $Comp L power:GND #PWR? U 1 1 5F79F898 -P 9500 5650 -F 0 "#PWR?" H 9500 5400 50 0001 C CNN -F 1 "GND" H 9505 5477 50 0000 C CNN -F 2 "" H 9500 5650 50 0001 C CNN -F 3 "" H 9500 5650 50 0001 C CNN - 1 9500 5650 +P 9400 4500 +F 0 "#PWR?" H 9400 4250 50 0001 C CNN +F 1 "GND" H 9405 4327 50 0000 C CNN +F 2 "" H 9400 4500 50 0001 C CNN +F 3 "" H 9400 4500 50 0001 C CNN + 1 9400 4500 1 0 0 -1 $EndComp Wire Wire Line - 9600 4750 8800 4750 + 9500 3600 8700 3600 Wire Wire Line - 9600 4850 9100 4850 + 9500 3700 9000 3700 Wire Wire Line - 9600 5250 9100 5250 + 9500 4100 9000 4100 Wire Wire Line - 9600 5350 8800 5350 -Text HLabel 8800 4750 0 50 Input ~ 0 + 9500 4200 8700 4200 +Text HLabel 8700 3600 0 50 Input ~ 0 WS0_TX -Text HLabel 8800 5350 0 50 Output ~ 0 +Text HLabel 8700 4200 0 50 Output ~ 0 WS1_RX $Comp L Device:R R? U 1 1 5F7A18C0 -P 9100 5050 -F 0 "R?" H 9170 5096 50 0000 L CNN -F 1 "0" H 9170 5005 50 0000 L CNN -F 2 "" V 9030 5050 50 0001 C CNN -F 3 "~" H 9100 5050 50 0001 C CNN - 1 9100 5050 +P 9000 3900 +F 0 "R?" H 9070 3946 50 0000 L CNN +F 1 "DNP" H 9070 3855 50 0000 L CNN +F 2 "" V 8930 3900 50 0001 C CNN +F 3 "~" H 9000 3900 50 0001 C CNN + 1 9000 3900 1 0 0 -1 $EndComp Wire Wire Line - 9100 4900 9100 4850 -Connection ~ 9100 4850 + 9000 3750 9000 3700 +Connection ~ 9000 3700 Wire Wire Line - 9100 4850 8800 4850 + 9000 3700 8700 3700 Wire Wire Line - 9100 5200 9100 5250 -Connection ~ 9100 5250 + 9000 4050 9000 4100 +Connection ~ 9000 4100 Wire Wire Line - 9100 5250 8800 5250 -Text HLabel 8800 5250 0 50 Input ~ 0 + 9000 4100 8700 4100 +Text HLabel 8700 4100 0 50 Input ~ 0 WS1_TX -Text HLabel 8800 4850 0 50 Output ~ 0 +Text HLabel 8700 3700 0 50 Output ~ 0 WS0_RX $Comp L Interface_USB:CH340G U? U 1 1 5F7AA7E3 -P 5550 2000 -F 0 "U?" H 5300 2550 50 0000 C CNN -F 1 "CH340G/C" H 5750 1450 50 0000 C CNN -F 2 "Package_SO:SOIC-16_3.9x9.9mm_P1.27mm" H 5600 1450 50 0001 L CNN -F 3 "http://www.datasheet5.com/pdf-local-2195953" H 5200 2800 50 0001 C CNN - 1 5550 2000 +P 5750 2200 +F 0 "U?" H 5500 2750 50 0000 C CNN +F 1 "CH340G/C" H 5950 1650 50 0000 C CNN +F 2 "Package_SO:SOIC-16_3.9x9.9mm_P1.27mm" H 5800 1650 50 0001 L CNN +F 3 "http://www.datasheet5.com/pdf-local-2195953" H 5400 3000 50 0001 C CNN + 1 5750 2200 1 0 0 -1 $EndComp $Comp 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" 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 +P 950 2250 +F 0 "J?" H 1007 2717 50 0000 C CNN +F 1 "USB" H 1007 2626 50 0000 C CNN +F 2 "" H 1100 2200 50 0001 C CNN +F 3 "~" H 1100 2200 50 0001 C CNN + 1 950 2250 1 0 0 -1 $EndComp -Wire Wire Line - 1400 1900 1300 1900 -Wire Wire Line - 1700 1900 1800 1900 $Comp L Device:R R? U 1 1 5F7AF577 -P 1550 2100 -F 0 "R?" V 1500 2250 50 0000 C CNN -F 1 "0" V 1550 2100 50 0000 C CNN -F 2 "" V 1480 2100 50 0001 C CNN -F 3 "~" H 1550 2100 50 0001 C CNN - 1 1550 2100 +P 2750 2250 +F 0 "R?" V 2650 2250 50 0000 C CNN +F 1 "0" V 2750 2250 50 0000 C CNN +F 2 "" V 2680 2250 50 0001 C CNN +F 3 "~" H 2750 2250 50 0001 C CNN + 1 2750 2250 0 1 1 0 $EndComp $Comp L Device:R R? U 1 1 5F7AFBC7 -P 1550 2200 -F 0 "R?" V 1500 2350 50 0000 C CNN -F 1 "0" V 1550 2200 50 0000 C CNN -F 2 "" V 1480 2200 50 0001 C CNN -F 3 "~" H 1550 2200 50 0001 C CNN - 1 1550 2200 - 0 1 1 0 +P 2750 2350 +F 0 "R?" V 2650 2350 50 0000 C CNN +F 1 "0" V 2750 2350 50 0000 C CNN +F 2 "" V 2680 2350 50 0001 C CNN +F 3 "~" H 2750 2350 50 0001 C CNN + 1 2750 2350 + 0 1 -1 0 $EndComp Wire Wire Line - 1300 2100 1400 2100 + 850 2650 850 2750 Wire Wire Line - 1300 2200 1400 2200 + 850 2750 900 2750 Wire Wire Line - 900 2500 900 2600 + 950 2750 950 2650 Wire Wire Line - 900 2600 950 2600 + 900 2750 900 2850 +Connection ~ 900 2750 Wire Wire Line - 1000 2600 1000 2500 -Wire Wire Line - 950 2600 950 2700 -Connection ~ 950 2600 -Wire Wire Line - 950 2600 1000 2600 + 900 2750 950 2750 $Comp L power:GND #PWR? U 1 1 5F7B6FBF -P 950 2700 -F 0 "#PWR?" H 950 2450 50 0001 C CNN -F 1 "GND" H 955 2527 50 0000 C CNN -F 2 "" H 950 2700 50 0001 C CNN -F 3 "" H 950 2700 50 0001 C CNN - 1 950 2700 +P 900 2850 +F 0 "#PWR?" H 900 2600 50 0001 C CNN +F 1 "GND" H 905 2677 50 0000 C CNN +F 2 "" H 900 2850 50 0001 C CNN +F 3 "" H 900 2850 50 0001 C CNN + 1 900 2850 1 0 0 -1 $EndComp $Comp L Device:Crystal Y? U 1 1 5F7B8331 -P 4200 2300 -F 0 "Y?" V 4154 2431 50 0000 L CNN -F 1 "12M" V 4245 2431 50 0000 L CNN -F 2 "" H 4200 2300 50 0001 C CNN -F 3 "~" H 4200 2300 50 0001 C CNN - 1 4200 2300 +P 4400 2500 +F 0 "Y?" V 4354 2631 50 0000 L CNN +F 1 "12M" V 4445 2631 50 0000 L CNN +F 2 "" H 4400 2500 50 0001 C CNN +F 3 "~" H 4400 2500 50 0001 C CNN + 1 4400 2500 0 1 1 0 $EndComp $Comp L Device:C C? U 1 1 5F7B9DAD -P 3950 2550 -F 0 "C?" V 4100 2550 50 0000 C CNN -F 1 "20p" V 3789 2550 50 0000 C CNN -F 2 "" H 3988 2400 50 0001 C CNN -F 3 "~" H 3950 2550 50 0001 C CNN - 1 3950 2550 +P 4150 2750 +F 0 "C?" V 4300 2750 50 0000 C CNN +F 1 "22p" V 3989 2750 50 0000 C CNN +F 2 "" H 4188 2600 50 0001 C CNN +F 3 "~" H 4150 2750 50 0001 C CNN + 1 4150 2750 0 1 -1 0 $EndComp $Comp L Device:C C? U 1 1 5F7BD5C2 -P 3950 2050 -F 0 "C?" V 4100 2050 50 0000 C CNN -F 1 "20p" V 3789 2050 50 0000 C CNN -F 2 "" H 3988 1900 50 0001 C CNN -F 3 "~" H 3950 2050 50 0001 C CNN - 1 3950 2050 +P 4150 2250 +F 0 "C?" V 4300 2250 50 0000 C CNN +F 1 "22p" V 3989 2250 50 0000 C CNN +F 2 "" H 4188 2100 50 0001 C CNN +F 3 "~" H 4150 2250 50 0001 C CNN + 1 4150 2250 0 1 1 0 $EndComp Wire Wire Line - 4100 2050 4200 2050 + 4300 2250 4400 2250 Wire Wire Line - 4200 2050 4200 2150 + 4400 2250 4400 2350 Wire Wire Line - 4200 2450 4200 2550 + 4400 2650 4400 2750 Wire Wire Line - 4200 2550 4100 2550 + 4400 2750 4300 2750 Wire Wire Line - 5150 2400 4650 2400 + 5350 2600 4850 2600 Wire Wire Line - 4650 2400 4650 2550 + 4850 2600 4850 2750 Wire Wire Line - 4650 2550 4200 2550 -Connection ~ 4200 2550 + 4850 2750 4400 2750 +Connection ~ 4400 2750 Wire Wire Line - 5150 2200 4650 2200 + 5350 2400 4850 2400 Wire Wire Line - 4650 2200 4650 2050 + 4850 2400 4850 2250 Wire Wire Line - 4650 2050 4200 2050 -Connection ~ 4200 2050 + 4850 2250 4400 2250 +Connection ~ 4400 2250 Wire Wire Line - 3800 2050 3700 2050 + 4000 2250 3900 2250 Wire Wire Line - 3700 2050 3700 2300 + 3900 2250 3900 2500 Wire Wire Line - 3700 2550 3800 2550 + 3900 2750 4000 2750 Wire Wire Line - 3700 2300 3600 2300 -Connection ~ 3700 2300 + 3900 2500 3800 2500 +Connection ~ 3900 2500 Wire Wire Line - 3700 2300 3700 2550 + 3900 2500 3900 2750 $Comp L power:GND #PWR? U 1 1 5F7CC94D -P 3600 2300 -F 0 "#PWR?" H 3600 2050 50 0001 C CNN -F 1 "GND" V 3605 2172 50 0000 R CNN -F 2 "" H 3600 2300 50 0001 C CNN -F 3 "" H 3600 2300 50 0001 C CNN - 1 3600 2300 +P 3800 2500 +F 0 "#PWR?" H 3800 2250 50 0001 C CNN +F 1 "GND" V 3805 2372 50 0000 R CNN +F 2 "" H 3800 2500 50 0001 C CNN +F 3 "" H 3800 2500 50 0001 C CNN + 1 3800 2500 0 1 1 0 $EndComp Wire Notes Line - 4550 1800 3300 1800 + 4750 2000 3500 2000 Wire Notes Line - 3300 1800 3300 2800 + 3500 2000 3500 3000 Wire Notes Line - 3300 2800 4550 2800 + 3500 3000 4750 3000 Wire Notes Line - 4550 2800 4550 1800 -Text Notes 3350 2000 0 50 ~ 0 + 4750 3000 4750 2000 +Text Notes 3550 2200 0 50 ~ 0 Only for\nCH340G -Text Notes 4200 2000 0 50 ~ 0 +Text Notes 4400 2200 0 50 ~ 0 DNP for\nCH340C Wire Wire Line - 5150 2000 4750 2000 -Text Label 4750 1900 0 50 ~ 0 + 5350 2200 4950 2200 +Text Label 4950 2100 0 50 ~ 0 USB_DP Wire Wire Line - 4750 1900 5150 1900 -Text Label 4750 2000 0 50 ~ 0 + 4950 2100 5350 2100 +Text Label 4950 2200 0 50 ~ 0 USB_DM Wire Wire Line - 1700 2100 2100 2100 -Text Label 2100 2100 2 50 ~ 0 + 2900 2250 3300 2250 +Text Label 3300 2250 2 50 ~ 0 USB_DP Wire Wire Line - 2100 2200 1700 2200 -Text Label 2100 2200 2 50 ~ 0 + 3300 2350 2900 2350 +Text Label 3300 2350 2 50 ~ 0 USB_DM Wire Wire Line - 5550 2600 5550 2700 + 5750 2800 5750 2900 $Comp L power:GND #PWR? U 1 1 5F7EE5AE -P 5550 2700 -F 0 "#PWR?" H 5550 2450 50 0001 C CNN -F 1 "GND" H 5555 2527 50 0000 C CNN -F 2 "" H 5550 2700 50 0001 C CNN -F 3 "" H 5550 2700 50 0001 C CNN - 1 5550 2700 +P 5750 2900 +F 0 "#PWR?" H 5750 2650 50 0001 C CNN +F 1 "GND" H 5755 2727 50 0000 C CNN +F 2 "" H 5750 2900 50 0001 C CNN +F 3 "" H 5750 2900 50 0001 C CNN + 1 5750 2900 1 0 0 -1 $EndComp $Comp L power:+3V3 #PWR? U 1 1 5F7F16A8 -P 5500 1200 -F 0 "#PWR?" H 5500 1050 50 0001 C CNN -F 1 "+3V3" H 5515 1373 50 0000 C CNN -F 2 "" H 5500 1200 50 0001 C CNN -F 3 "" H 5500 1200 50 0001 C CNN - 1 5500 1200 +P 5700 1400 +F 0 "#PWR?" H 5700 1250 50 0001 C CNN +F 1 "+3V3" H 5715 1573 50 0000 C CNN +F 2 "" H 5700 1400 50 0001 C CNN +F 3 "" H 5700 1400 50 0001 C CNN + 1 5700 1400 1 0 0 -1 $EndComp Wire Wire Line - 5500 1200 5500 1300 + 5700 1400 5700 1500 Wire Wire Line - 5500 1300 5450 1300 + 5700 1500 5650 1500 Wire Wire Line - 5450 1300 5450 1400 + 5650 1500 5650 1600 Wire Wire Line - 5500 1300 5550 1300 + 5700 1500 5750 1500 Wire Wire Line - 5550 1300 5550 1400 -Connection ~ 5500 1300 + 5750 1500 5750 1600 +Connection ~ 5700 1500 Wire Wire Line - 5950 1600 6300 1600 + 6150 1800 6500 1800 Wire Wire Line - 5950 1700 6300 1700 -Text HLabel 6300 1600 2 50 Output ~ 0 + 6150 1900 6500 1900 +Text HLabel 6500 1800 2 50 Output ~ 0 USB_UART_IN -Text HLabel 6300 1700 2 50 Input ~ 0 +Text HLabel 6500 1900 2 50 Input ~ 0 USB_UART_OUT Wire Wire Line - 5950 2300 6300 2300 -Text HLabel 6300 2300 2 50 Output ~ 0 + 6150 2500 6500 2500 +Text HLabel 6500 2500 2 50 Output ~ 0 USB_UART_DTR -NoConn ~ 5950 1900 -NoConn ~ 5950 2000 -NoConn ~ 5950 2100 -NoConn ~ 5950 2200 -NoConn ~ 5950 2400 -NoConn ~ 5150 1700 -$Comp -L Device:D_Schottky D? -U 1 1 5F853296 -P 1550 1900 -F 0 "D?" H 1550 1684 50 0000 C CNN -F 1 "Schottky" H 1550 1775 50 0000 C CNN -F 2 "" H 1550 1900 50 0001 C CNN -F 3 "~" H 1550 1900 50 0001 C CNN - 1 1550 1900 - -1 0 0 1 -$EndComp -Wire Wire Line - 1800 1900 2000 1900 -$Comp -L Device:Fuse F? -U 1 1 5F857219 -P 2150 1900 -F 0 "F?" V 1953 1900 50 0000 C CNN -F 1 "2A" V 2044 1900 50 0000 C CNN -F 2 "" V 2080 1900 50 0001 C CNN -F 3 "~" H 2150 1900 50 0001 C CNN - 1 2150 1900 - 0 1 1 0 -$EndComp -Wire Wire Line - 2300 1900 2400 1900 -Wire Wire Line - 2400 1900 2400 1800 +NoConn ~ 6150 2100 +NoConn ~ 6150 2200 +NoConn ~ 6150 2300 +NoConn ~ 6150 2400 +NoConn ~ 6150 2600 +NoConn ~ 5350 1900 $Comp L Connector:Screw_Terminal_01x02 J? U 1 1 5F876E47 -P 850 1400 -F 0 "J?" H 768 1075 50 0000 C CNN -F 1 "Power" H 768 1166 50 0000 C CNN -F 2 "" H 850 1400 50 0001 C CNN -F 3 "~" H 850 1400 50 0001 C CNN - 1 850 1400 +P 750 950 +F 0 "J?" H 668 625 50 0000 C CNN +F 1 "Power" H 668 716 50 0000 C CNN +F 2 "" H 750 950 50 0001 C CNN +F 3 "~" H 750 950 50 0001 C CNN + 1 750 950 -1 0 0 1 $EndComp -Text Label 1800 1900 0 50 ~ 0 -VIN -Connection ~ 1800 1900 Wire Wire Line - 1050 1400 1800 1400 -Wire Wire Line - 1800 1400 1800 1900 -Wire Wire Line - 1050 1300 1800 1300 + 950 850 1150 850 $Comp L power:GND #PWR? U 1 1 5F8B42B2 -P 1800 1300 -F 0 "#PWR?" H 1800 1050 50 0001 C CNN -F 1 "GND" V 1805 1172 50 0000 R CNN -F 2 "" H 1800 1300 50 0001 C CNN -F 3 "" H 1800 1300 50 0001 C CNN - 1 1800 1300 +P 1150 850 +F 0 "#PWR?" H 1150 600 50 0001 C CNN +F 1 "GND" V 1155 722 50 0000 R CNN +F 2 "" H 1150 850 50 0001 C CNN +F 3 "" H 1150 850 50 0001 C CNN + 1 1150 850 0 -1 -1 0 $EndComp $Comp L power:+5V #PWR? -U 1 1 5F8B4A28 -P 2400 1800 -F 0 "#PWR?" H 2400 1650 50 0001 C CNN -F 1 "+5V" H 2415 1973 50 0000 C CNN -F 2 "" H 2400 1800 50 0001 C CNN -F 3 "" H 2400 1800 50 0001 C CNN - 1 2400 1800 - 1 0 0 -1 -$EndComp -$Comp -L power:+5V #PWR? U 1 1 5F8B5D26 -P 9400 4650 -F 0 "#PWR?" H 9400 4500 50 0001 C CNN -F 1 "+5V" H 9415 4823 50 0000 C CNN -F 2 "" H 9400 4650 50 0001 C CNN -F 3 "" H 9400 4650 50 0001 C CNN - 1 9400 4650 +P 9300 3500 +F 0 "#PWR?" H 9300 3350 50 0001 C CNN +F 1 "+5V" H 9315 3673 50 0000 C CNN +F 2 "" H 9300 3500 50 0001 C CNN +F 3 "" H 9300 3500 50 0001 C CNN + 1 9300 3500 1 0 0 -1 $EndComp -$Comp -L power:+5V #PWR? -U 1 1 5F8B64D4 -P 8400 1350 -F 0 "#PWR?" H 8400 1200 50 0001 C CNN -F 1 "+5V" H 8415 1523 50 0000 C CNN -F 2 "" H 8400 1350 50 0001 C CNN -F 3 "" H 8400 1350 50 0001 C CNN - 1 8400 1350 - 1 0 0 -1 -$EndComp -Wire Wire Line - 8400 1350 8400 1450 -Wire Wire Line - 8400 2550 8400 2650 -$Comp -L power:GND #PWR? -U 1 1 5F8BC4E7 -P 8400 2650 -F 0 "#PWR?" H 8400 2400 50 0001 C CNN -F 1 "GND" H 8405 2477 50 0000 C CNN -F 2 "" H 8400 2650 50 0001 C CNN -F 3 "" H 8400 2650 50 0001 C CNN - 1 8400 2650 - 1 0 0 -1 -$EndComp -NoConn ~ 1300 2300 +NoConn ~ 1250 2450 $Comp L Connector:Screw_Terminal_01x03 J? U 1 1 5F8DE004 @@ -812,113 +572,113 @@ Connection ~ 4600 4450 $Comp L Device:R R? U 1 1 5F849CCA -P 3550 6100 -F 0 "R?" V 3650 6100 50 0000 C CNN -F 1 "10k" V 3550 6100 50 0000 C CNN -F 2 "" V 3480 6100 50 0001 C CNN -F 3 "~" H 3550 6100 50 0001 C CNN - 1 3550 6100 +P 3550 6500 +F 0 "R?" V 3650 6500 50 0000 C CNN +F 1 "10k" V 3550 6500 50 0000 C CNN +F 2 "" V 3480 6500 50 0001 C CNN +F 3 "~" H 3550 6500 50 0001 C CNN + 1 3550 6500 0 1 1 0 $EndComp $Comp L Device:R R? U 1 1 5F849CD4 -P 3800 6350 -F 0 "R?" H 3870 6396 50 0000 L CNN -F 1 "10k" H 3870 6305 50 0000 L CNN -F 2 "" V 3730 6350 50 0001 C CNN -F 3 "~" H 3800 6350 50 0001 C CNN - 1 3800 6350 +P 3800 6750 +F 0 "R?" H 3870 6796 50 0000 L CNN +F 1 "10k" H 3870 6705 50 0000 L CNN +F 2 "" V 3730 6750 50 0001 C CNN +F 3 "~" H 3800 6750 50 0001 C CNN + 1 3800 6750 1 0 0 -1 $EndComp $Comp L Device:C C? U 1 1 5F849CDE -P 3150 5900 -F 0 "C?" V 2898 5900 50 0000 C CNN -F 1 "1u" V 2989 5900 50 0000 C CNN -F 2 "" H 3188 5750 50 0001 C CNN -F 3 "~" H 3150 5900 50 0001 C CNN - 1 3150 5900 +P 3150 6300 +F 0 "C?" V 2898 6300 50 0000 C CNN +F 1 "1u" V 2989 6300 50 0000 C CNN +F 2 "" H 3188 6150 50 0001 C CNN +F 3 "~" H 3150 6300 50 0001 C CNN + 1 3150 6300 0 1 1 0 $EndComp -Wire Wire Line - 3800 6200 3800 6100 -Wire Wire Line - 3800 6100 3700 6100 -Wire Wire Line - 3800 6100 3900 6100 -Connection ~ 3800 6100 -$Comp -L Device:R R? -U 1 1 5F849CEC -P 4200 5600 -F 0 "R?" V 4300 5600 50 0000 C CNN -F 1 "10k" V 4200 5600 50 0000 C CNN -F 2 "" V 4130 5600 50 0001 C CNN -F 3 "~" H 4200 5600 50 0001 C CNN - 1 4200 5600 - 0 1 -1 0 -$EndComp -Wire Wire Line - 3900 5900 3800 5900 -Wire Wire Line - 3800 5900 3800 5600 -Wire Wire Line - 3800 5600 4050 5600 -Wire Wire Line - 4350 5600 4600 5600 -Wire Wire Line - 4600 5600 4600 6000 -Wire Wire Line - 4600 6000 4500 6000 -$Comp -L Device:R R? -U 1 1 5F849CFC -P 3550 5900 -F 0 "R?" V 3650 5900 50 0000 C CNN -F 1 "10k" V 3550 5900 50 0000 C CNN -F 2 "" V 3480 5900 50 0001 C CNN -F 3 "~" H 3550 5900 50 0001 C CNN - 1 3550 5900 - 0 1 1 0 -$EndComp -Wire Wire Line - 3700 5900 3800 5900 -Connection ~ 3800 5900 -Wire Wire Line - 3300 5900 3400 5900 -Wire Wire Line - 3300 6100 3400 6100 -$Comp -L power:GND #PWR? -U 1 1 5F849D0A -P 3800 6600 -F 0 "#PWR?" H 3800 6350 50 0001 C CNN -F 1 "GND" H 3805 6427 50 0000 C CNN -F 2 "" H 3800 6600 50 0001 C CNN -F 3 "" H 3800 6600 50 0001 C CNN - 1 3800 6600 - 1 0 0 -1 -$EndComp Wire Wire Line 3800 6600 3800 6500 +Wire Wire Line + 3800 6500 3700 6500 +Wire Wire Line + 3800 6500 3900 6500 +Connection ~ 3800 6500 +$Comp +L Device:R R? +U 1 1 5F849CEC +P 4200 6000 +F 0 "R?" V 4300 6000 50 0000 C CNN +F 1 "10k" V 4200 6000 50 0000 C CNN +F 2 "" V 4130 6000 50 0001 C CNN +F 3 "~" H 4200 6000 50 0001 C CNN + 1 4200 6000 + 0 1 -1 0 +$EndComp +Wire Wire Line + 3900 6300 3800 6300 +Wire Wire Line + 3800 6300 3800 6000 +Wire Wire Line + 3800 6000 4050 6000 +Wire Wire Line + 4350 6000 4600 6000 +Wire Wire Line + 4600 6000 4600 6400 +Wire Wire Line + 4600 6400 4500 6400 +$Comp +L Device:R R? +U 1 1 5F849CFC +P 3550 6300 +F 0 "R?" V 3650 6300 50 0000 C CNN +F 1 "10k" V 3550 6300 50 0000 C CNN +F 2 "" V 3480 6300 50 0001 C CNN +F 3 "~" H 3550 6300 50 0001 C CNN + 1 3550 6300 + 0 1 1 0 +$EndComp +Wire Wire Line + 3700 6300 3800 6300 +Connection ~ 3800 6300 +Wire Wire Line + 3300 6300 3400 6300 +Wire Wire Line + 3300 6500 3400 6500 +$Comp +L power:GND #PWR? +U 1 1 5F849D0A +P 3800 7000 +F 0 "#PWR?" H 3800 6750 50 0001 C CNN +F 1 "GND" H 3805 6827 50 0000 C CNN +F 2 "" H 3800 7000 50 0001 C CNN +F 3 "" H 3800 7000 50 0001 C CNN + 1 3800 7000 + 1 0 0 -1 +$EndComp +Wire Wire Line + 3800 7000 3800 6900 $Comp L power:VDDA #PWR? U 1 1 5F849D17 -P 3300 6100 -F 0 "#PWR?" H 3300 5950 50 0001 C CNN -F 1 "VDDA" V 3318 6228 50 0000 L CNN -F 2 "" H 3300 6100 50 0001 C CNN -F 3 "" H 3300 6100 50 0001 C CNN - 1 3300 6100 +P 3300 6500 +F 0 "#PWR?" H 3300 6350 50 0001 C CNN +F 1 "VDDA" V 3318 6628 50 0000 L CNN +F 2 "" H 3300 6500 50 0001 C CNN +F 3 "" H 3300 6500 50 0001 C CNN + 1 3300 6500 0 -1 -1 0 $EndComp -Text HLabel 4700 6000 2 50 Output ~ 0 +Text HLabel 4700 6400 2 50 Output ~ 0 AUDIO_R Wire Wire Line - 4700 6000 4600 6000 -Connection ~ 4600 6000 + 4700 6400 4600 6400 +Connection ~ 4600 6400 $Comp L Amplifier_Operational:LM358 U? U 1 1 5F8649CA @@ -933,12 +693,12 @@ $EndComp $Comp L Amplifier_Operational:LM358 U? U 2 1 5F8689C1 -P 4200 6000 -F 0 "U?" H 4200 6300 50 0000 C CNN -F 1 "LM358" H 4250 6200 50 0000 C CNN -F 2 "" H 4200 6000 50 0001 C CNN -F 3 "http://www.ti.com/lit/ds/symlink/lm2904-n.pdf" H 4200 6000 50 0001 C CNN - 2 4200 6000 +P 4200 6400 +F 0 "U?" H 4200 6700 50 0000 C CNN +F 1 "LM358" H 4250 6600 50 0000 C CNN +F 2 "" H 4200 6400 50 0001 C CNN +F 3 "http://www.ti.com/lit/ds/symlink/lm2904-n.pdf" H 4200 6400 50 0001 C CNN + 2 4200 6400 1 0 0 -1 $EndComp $Comp @@ -952,7 +712,7 @@ F 3 "http://www.ti.com/lit/ds/symlink/lm2904-n.pdf" H 1500 6600 50 0001 C CNN 3 1500 6600 1 0 0 -1 $EndComp -Text Notes 3500 7100 0 50 ~ 0 +Text Notes 3500 7500 0 50 ~ 0 TODO: Set sensible\ngain for input stage. $Comp L Device:R R? @@ -984,36 +744,379 @@ $EndComp Wire Wire Line 2800 5050 2800 4750 Wire Wire Line - 2250 5900 2800 5900 -Text Label 2250 5900 0 50 ~ 0 + 2250 6300 2800 6300 +Text Label 2250 6300 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 +P 2800 6550 +F 0 "R?" H 2600 6600 50 0000 L CNN +F 1 "47k" H 2600 6500 50 0000 L CNN +F 2 "" V 2730 6550 50 0001 C CNN +F 3 "~" H 2800 6550 50 0001 C CNN + 1 2800 6550 1 0 0 -1 $EndComp Wire Wire Line - 2800 6000 2800 5900 -Connection ~ 2800 5900 + 2800 6400 2800 6300 +Connection ~ 2800 6300 Wire Wire Line - 2800 5900 3000 5900 + 2800 6300 3000 6300 $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 +P 2800 7000 +F 0 "#PWR?" H 2800 6750 50 0001 C CNN +F 1 "GND" H 2805 6827 50 0000 C CNN +F 2 "" H 2800 7000 50 0001 C CNN +F 3 "" H 2800 7000 50 0001 C CNN + 1 2800 7000 1 0 0 -1 $EndComp Wire Wire Line - 2800 6600 2800 6300 + 2800 7000 2800 6700 +Wire Wire Line + 1250 2050 1350 2050 +Wire Wire Line + 1350 2050 1350 1900 +$Comp +L power:VBUS #PWR? +U 1 1 5F943479 +P 1350 1900 +F 0 "#PWR?" H 1350 1750 50 0001 C CNN +F 1 "VBUS" H 1365 2073 50 0000 C CNN +F 2 "" H 1350 1900 50 0001 C CNN +F 3 "" H 1350 1900 50 0001 C CNN + 1 1350 1900 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 5F95AFDE +P 1700 2300 +F 0 "#PWR?" H 1700 2050 50 0001 C CNN +F 1 "GND" H 1705 2127 50 0000 C CNN +F 2 "" H 1700 2300 50 0001 C CNN +F 3 "" H 1700 2300 50 0001 C CNN + 1 1700 2300 + 0 1 1 0 +$EndComp +Wire Wire Line + 2500 2350 2600 2350 +Wire Wire Line + 2600 2250 2500 2250 +Text GLabel 1250 950 2 50 Output ~ 0 +VIN +Wire Wire Line + 1250 950 950 950 +$Comp +L Device:R R? +U 1 1 5FA8CEEE +P 2800 4100 +F 0 "R?" H 2600 4150 50 0000 L CNN +F 1 "DNP" H 2600 4050 50 0000 L CNN +F 2 "" V 2730 4100 50 0001 C CNN +F 3 "~" H 2800 4100 50 0001 C CNN + 1 2800 4100 + 1 0 0 -1 +$EndComp +Wire Wire Line + 2800 4250 2800 4350 +$Comp +L power:VDDA #PWR? +U 1 1 5FA94E8C +P 2800 3850 +F 0 "#PWR?" H 2800 3700 50 0001 C CNN +F 1 "VDDA" H 2817 4023 50 0000 C CNN +F 2 "" H 2800 3850 50 0001 C CNN +F 3 "" H 2800 3850 50 0001 C CNN + 1 2800 3850 + 1 0 0 -1 +$EndComp +Wire Wire Line + 2800 3850 2800 3950 +$Comp +L Device:R R? +U 1 1 5FAA74CA +P 2800 6050 +F 0 "R?" H 2600 6100 50 0000 L CNN +F 1 "DNP" H 2600 6000 50 0000 L CNN +F 2 "" V 2730 6050 50 0001 C CNN +F 3 "~" H 2800 6050 50 0001 C CNN + 1 2800 6050 + 1 0 0 -1 +$EndComp +Wire Wire Line + 2800 6200 2800 6300 +$Comp +L power:VDDA #PWR? +U 1 1 5FAA7B0B +P 2800 5800 +F 0 "#PWR?" H 2800 5650 50 0001 C CNN +F 1 "VDDA" H 2817 5973 50 0000 C CNN +F 2 "" H 2800 5800 50 0001 C CNN +F 3 "" H 2800 5800 50 0001 C CNN + 1 2800 5800 + 1 0 0 -1 +$EndComp +Wire Wire Line + 2800 5800 2800 5900 +Text Notes 700 1200 0 50 ~ 10 +USB +Wire Notes Line + 650 7600 5150 7600 +Wire Notes Line + 5150 7600 5150 3200 +Text Notes 700 3300 0 50 ~ 10 +Analog Audio Input +Wire Notes Line + 650 550 1500 550 +Wire Notes Line + 650 550 650 7600 +Text Notes 1000 650 0 50 ~ 10 +Power input +Wire Notes Line + 1500 550 1500 1100 +Wire Notes Line + 650 1100 11000 1100 +Wire Notes Line + 11000 4750 7400 4750 +Wire Notes Line + 11000 1100 11000 4750 +Wire Notes Line + 7400 1100 7400 4750 +Text Notes 10250 3300 0 50 ~ 10 +WS2812B Interface +Wire Notes Line + 650 3200 11000 3200 +Text Notes 10350 1200 0 50 ~ 10 +DMX Transceiver +$Comp +L power:GND #PWR? +U 1 1 5F8BC4E7 +P 8400 2800 +F 0 "#PWR?" H 8400 2550 50 0001 C CNN +F 1 "GND" H 8405 2627 50 0000 C CNN +F 2 "" H 8400 2800 50 0001 C CNN +F 3 "" H 8400 2800 50 0001 C CNN + 1 8400 2800 + 1 0 0 -1 +$EndComp +Wire Wire Line + 8400 2700 8400 2800 +Wire Wire Line + 8400 1500 8400 1600 +Text Label 9400 2000 0 50 ~ 0 +DMXH +Text Label 9400 1900 0 50 ~ 0 +DMXL +Wire Wire Line + 9700 2000 10300 2000 +Connection ~ 9700 2000 +Wire Wire Line + 9700 2650 9700 2000 +Wire Wire Line + 9900 2650 9700 2650 +Wire Wire Line + 9800 1900 10300 1900 +Connection ~ 9800 1900 +Wire Wire Line + 9800 2550 9800 1900 +Wire Wire Line + 9900 2550 9800 2550 +Wire Wire Line + 10300 2650 10200 2650 +Wire Wire Line + 10200 2550 10300 2550 +$Comp +L Device:R R? +U 1 1 5F79524D +P 10050 2650 +F 0 "R?" V 10150 2650 50 0000 C CNN +F 1 "0" V 10050 2650 50 0000 C CNN +F 2 "" V 9980 2650 50 0001 C CNN +F 3 "~" H 10050 2650 50 0001 C CNN + 1 10050 2650 + 0 1 1 0 +$EndComp +$Comp +L Device:R R? +U 1 1 5F794BC2 +P 10050 2550 +F 0 "R?" V 9950 2550 50 0000 C CNN +F 1 "0" V 10050 2550 50 0000 C CNN +F 2 "" V 9980 2550 50 0001 C CNN +F 3 "~" H 10050 2550 50 0001 C CNN + 1 10050 2550 + 0 1 1 0 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 5F7944DB +P 10200 2850 +F 0 "#PWR?" H 10200 2600 50 0001 C CNN +F 1 "GND" H 10205 2677 50 0000 C CNN +F 2 "" H 10200 2850 50 0001 C CNN +F 3 "" H 10200 2850 50 0001 C CNN + 1 10200 2850 + 1 0 0 -1 +$EndComp +Wire Wire Line + 10200 2750 10200 2850 +Wire Wire Line + 10300 2750 10200 2750 +$Comp +L Connector:Screw_Terminal_01x03 J? +U 1 1 5F793A79 +P 10500 2650 +F 0 "J?" H 10580 2692 50 0000 L CNN +F 1 "DMX-OUT" H 10580 2601 50 0000 L CNN +F 2 "" H 10500 2650 50 0001 C CNN +F 3 "~" H 10500 2650 50 0001 C CNN + 1 10500 2650 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 5F7934F5 +P 10200 2200 +F 0 "#PWR?" H 10200 1950 50 0001 C CNN +F 1 "GND" H 10205 2027 50 0000 C CNN +F 2 "" H 10200 2200 50 0001 C CNN +F 3 "" H 10200 2200 50 0001 C CNN + 1 10200 2200 + 1 0 0 -1 +$EndComp +Wire Wire Line + 10200 2100 10200 2200 +Wire Wire Line + 10300 2100 10200 2100 +Wire Wire Line + 9100 2400 9400 2400 +Wire Wire Line + 9400 2000 9700 2000 +Wire Wire Line + 9400 2400 9400 2000 +Wire Wire Line + 9100 1900 9800 1900 +$Comp +L Connector:Screw_Terminal_01x03 J? +U 1 1 5F7904F0 +P 10500 2000 +F 0 "J?" H 10580 2042 50 0000 L CNN +F 1 "DMX-IN" H 10580 1951 50 0000 L CNN +F 2 "" H 10500 2000 50 0001 C CNN +F 3 "~" H 10500 2000 50 0001 C CNN + 1 10500 2000 + 1 0 0 -1 +$EndComp +Wire Wire Line + 7800 2300 8000 2300 +Wire Wire Line + 7800 2200 8000 2200 +Wire Wire Line + 7800 2100 8000 2100 +Wire Wire Line + 7800 2000 8000 2000 +Text HLabel 7800 2200 0 50 Input ~ 0 +DMX_DE +Text HLabel 7800 2300 0 50 Input ~ 0 +DMX_DI +Text HLabel 7800 2100 0 50 Input ~ 0 +DMX_RE +Text HLabel 7800 2000 0 50 Output ~ 0 +DMX_RO +Connection ~ 9100 1900 +Wire Wire Line + 9100 2000 9100 1900 +Connection ~ 9100 2400 +Wire Wire Line + 8900 2300 8800 2300 +Wire Wire Line + 8900 2400 8900 2300 +Wire Wire Line + 9100 2400 8900 2400 +Wire Wire Line + 9100 2300 9100 2400 +Wire Wire Line + 8900 1900 9100 1900 +Wire Wire Line + 8900 2000 8900 1900 +Wire Wire Line + 8800 2000 8900 2000 +$Comp +L Device:R R? +U 1 1 5F78D28A +P 9100 2150 +F 0 "R?" H 9170 2196 50 0000 L CNN +F 1 "DNP" H 9170 2105 50 0000 L CNN +F 2 "" V 9030 2150 50 0001 C CNN +F 3 "~" H 9100 2150 50 0001 C CNN + 1 9100 2150 + 1 0 0 -1 +$EndComp +$Comp +L Interface_UART:MAX3485 U? +U 1 1 5FBD9FA9 +P 8400 2100 +F 0 "U?" H 8150 2550 50 0000 C CNN +F 1 "MAX3485CSA" H 8650 2550 50 0000 C CNN +F 2 "" H 8400 1400 50 0001 C CNN +F 3 "https://datasheets.maximintegrated.com/en/ds/MAX3483-MAX3491.pdf" H 8400 2150 50 0001 C CNN + 1 8400 2100 + 1 0 0 -1 +$EndComp +$Comp +L power:+3V3 #PWR? +U 1 1 5FBE9584 +P 8400 1500 +F 0 "#PWR?" H 8400 1350 50 0001 C CNN +F 1 "+3V3" H 8415 1673 50 0000 C CNN +F 2 "" H 8400 1500 50 0001 C CNN +F 3 "" H 8400 1500 50 0001 C CNN + 1 8400 1500 + 1 0 0 -1 +$EndComp +$Comp +L Power_Protection:TPD2EUSB30A U? +U 1 1 5FC0949F +P 2200 2300 +F 0 "U?" V 1950 2100 50 0000 L CNN +F 1 "TPD2EUSB30A" V 2450 1750 50 0000 L CNN +F 2 "Package_TO_SOT_SMD:Texas_DRT-3" H 1450 2000 50 0001 C CNN +F 3 "http://www.ti.com/lit/ds/symlink/tpd2eusb30a.pdf" H 2200 2300 50 0001 C CNN + 1 2200 2300 + 0 1 1 0 +$EndComp +Wire Wire Line + 2500 2250 2500 1800 +Wire Wire Line + 2500 1800 2200 1800 +Wire Wire Line + 2200 1800 2200 1900 +Wire Wire Line + 2200 2800 2500 2800 +Wire Wire Line + 2500 2800 2500 2350 +Wire Wire Line + 2200 2700 2200 2800 +Wire Wire Line + 1700 2300 1800 2300 +Wire Wire Line + 1250 2350 1450 2350 +Wire Wire Line + 1450 2350 1450 2800 +Wire Wire Line + 1450 2800 2200 2800 +Connection ~ 2200 2800 +Wire Wire Line + 1250 2250 1450 2250 +Wire Wire Line + 1450 2250 1450 1800 +Wire Wire Line + 1450 1800 2200 1800 +Connection ~ 2200 1800 +Text Notes 2250 2600 0 50 ~ 0 +ESD $EndSCHEMATC diff --git a/kicad/power.sch b/kicad/power.sch index a324511..6871a3b 100644 --- a/kicad/power.sch +++ b/kicad/power.sch @@ -16,107 +16,107 @@ $EndDescr $Comp L Regulator_Linear:AP1117-33 U? U 1 1 5F7D344F -P 1700 1050 +P 1750 2700 AR Path="/5F7D344F" Ref="U?" Part="1" AR Path="/5F7CBB94/5F7D344F" Ref="U?" Part="1" -F 0 "U?" H 1700 1292 50 0000 C CNN -F 1 "AP1117-33" H 1700 1201 50 0000 C CNN -F 2 "Package_TO_SOT_SMD:SOT-223-3_TabPin2" H 1700 1250 50 0001 C CNN -F 3 "http://www.diodes.com/datasheets/AP1117.pdf" H 1800 800 50 0001 C CNN - 1 1700 1050 +F 0 "U?" H 1750 2942 50 0000 C CNN +F 1 "AP1117-33" H 1750 2851 50 0000 C CNN +F 2 "Package_TO_SOT_SMD:SOT-223-3_TabPin2" H 1750 2900 50 0001 C CNN +F 3 "http://www.diodes.com/datasheets/AP1117.pdf" H 1850 2450 50 0001 C CNN + 1 1750 2700 1 0 0 -1 $EndComp $Comp L Device:C C? U 1 1 5F7D3455 -P 1200 1300 +P 1250 2950 AR Path="/5F7D3455" Ref="C?" Part="1" AR Path="/5F7CBB94/5F7D3455" Ref="C?" Part="1" -F 0 "C?" H 1315 1346 50 0000 L CNN -F 1 "100n" H 1315 1255 50 0000 L CNN -F 2 "" H 1238 1150 50 0001 C CNN -F 3 "~" H 1200 1300 50 0001 C CNN - 1 1200 1300 +F 0 "C?" H 1365 2996 50 0000 L CNN +F 1 "100n" H 1365 2905 50 0000 L CNN +F 2 "" H 1288 2800 50 0001 C CNN +F 3 "~" H 1250 2950 50 0001 C CNN + 1 1250 2950 1 0 0 -1 $EndComp Wire Wire Line - 2200 1150 2200 1050 + 2250 2800 2250 2700 Wire Wire Line - 2200 1050 2000 1050 + 2250 2700 2050 2700 Wire Wire Line - 1400 1050 1200 1050 + 1450 2700 1250 2700 Wire Wire Line - 1200 1050 1200 1150 + 1250 2700 1250 2800 Wire Wire Line - 1200 1450 1200 1550 + 1250 3100 1250 3200 Wire Wire Line - 1200 1550 1700 1550 + 1250 3200 1750 3200 Wire Wire Line - 1700 1350 1700 1550 -Connection ~ 1700 1550 + 1750 3000 1750 3200 +Connection ~ 1750 3200 Wire Wire Line - 1700 1550 2200 1550 + 1750 3200 2250 3200 $Comp L power:GND #PWR? U 1 1 5F7D346A -P 1700 1650 +P 1750 3300 AR Path="/5F7D346A" Ref="#PWR?" Part="1" AR Path="/5F7CBB94/5F7D346A" Ref="#PWR?" Part="1" -F 0 "#PWR?" H 1700 1400 50 0001 C CNN -F 1 "GND" H 1705 1477 50 0000 C CNN -F 2 "" H 1700 1650 50 0001 C CNN -F 3 "" H 1700 1650 50 0001 C CNN - 1 1700 1650 +F 0 "#PWR?" H 1750 3050 50 0001 C CNN +F 1 "GND" H 1755 3127 50 0000 C CNN +F 2 "" H 1750 3300 50 0001 C CNN +F 3 "" H 1750 3300 50 0001 C CNN + 1 1750 3300 1 0 0 -1 $EndComp Wire Wire Line - 1700 1650 1700 1550 + 1750 3300 1750 3200 Wire Wire Line - 750 1050 750 950 -Connection ~ 1200 1050 + 800 2700 800 2600 +Connection ~ 1250 2700 $Comp L Device:Battery_Cell BT? U 1 1 5F7D3481 -P 1700 2600 +P 1750 4350 AR Path="/5F7D3481" Ref="BT?" Part="1" AR Path="/5F7CBB94/5F7D3481" Ref="BT?" Part="1" -F 0 "BT?" H 1818 2696 50 0000 L CNN -F 1 "CR2032" H 1818 2605 50 0000 L CNN -F 2 "" V 1700 2660 50 0001 C CNN -F 3 "~" V 1700 2660 50 0001 C CNN - 1 1700 2600 +F 0 "BT?" H 1868 4446 50 0000 L CNN +F 1 "CR2032" H 1868 4355 50 0000 L CNN +F 2 "" V 1750 4410 50 0001 C CNN +F 3 "~" V 1750 4410 50 0001 C CNN + 1 1750 4350 1 0 0 -1 $EndComp $Comp L power:+BATT #PWR? U 1 1 5F7D3487 -P 1700 2300 +P 1750 3900 AR Path="/5F7D3487" Ref="#PWR?" Part="1" AR Path="/5F7CBB94/5F7D3487" Ref="#PWR?" Part="1" -F 0 "#PWR?" H 1700 2150 50 0001 C CNN -F 1 "+BATT" H 1715 2473 50 0000 C CNN -F 2 "" H 1700 2300 50 0001 C CNN -F 3 "" H 1700 2300 50 0001 C CNN - 1 1700 2300 +F 0 "#PWR?" H 1750 3750 50 0001 C CNN +F 1 "+BATT" H 1765 4073 50 0000 C CNN +F 2 "" H 1750 3900 50 0001 C CNN +F 3 "" H 1750 3900 50 0001 C CNN + 1 1750 3900 1 0 0 -1 $EndComp Wire Wire Line - 1700 2300 1700 2400 + 1750 3900 1750 4000 $Comp L power:GND #PWR? U 1 1 5F7D348E -P 1700 2800 +P 1750 4550 AR Path="/5F7D348E" Ref="#PWR?" Part="1" AR Path="/5F7CBB94/5F7D348E" Ref="#PWR?" Part="1" -F 0 "#PWR?" H 1700 2550 50 0001 C CNN -F 1 "GND" H 1705 2627 50 0000 C CNN -F 2 "" H 1700 2800 50 0001 C CNN -F 3 "" H 1700 2800 50 0001 C CNN - 1 1700 2800 +F 0 "#PWR?" H 1750 4300 50 0001 C CNN +F 1 "GND" H 1755 4377 50 0000 C CNN +F 2 "" H 1750 4550 50 0001 C CNN +F 3 "" H 1750 4550 50 0001 C CNN + 1 1750 4550 1 0 0 -1 $EndComp Wire Wire Line - 1700 2800 1700 2700 + 1750 4550 1750 4450 $Comp L Device:C C? U 1 1 5F7D3495 @@ -163,33 +163,33 @@ Wire Wire Line $Comp L power:+3V3 #PWR? U 1 1 5F7D34A9 -P 1200 3450 +P 1250 5150 AR Path="/5F7D34A9" Ref="#PWR?" Part="1" AR Path="/5F7CBB94/5F7D34A9" Ref="#PWR?" Part="1" -F 0 "#PWR?" H 1200 3300 50 0001 C CNN -F 1 "+3V3" H 1215 3623 50 0000 C CNN -F 2 "" H 1200 3450 50 0001 C CNN -F 3 "" H 1200 3450 50 0001 C CNN - 1 1200 3450 +F 0 "#PWR?" H 1250 5000 50 0001 C CNN +F 1 "+3V3" H 1265 5323 50 0000 C CNN +F 2 "" H 1250 5150 50 0001 C CNN +F 3 "" H 1250 5150 50 0001 C CNN + 1 1250 5150 1 0 0 -1 $EndComp $Comp L Device:R R? U 1 1 5F7D34AF -P 1450 3550 +P 1500 5250 AR Path="/5F7D34AF" Ref="R?" Part="1" AR Path="/5F7CBB94/5F7D34AF" Ref="R?" Part="1" -F 0 "R?" V 1243 3550 50 0000 C CNN -F 1 "0" V 1334 3550 50 0000 C CNN -F 2 "" V 1380 3550 50 0001 C CNN -F 3 "~" H 1450 3550 50 0001 C CNN - 1 1450 3550 +F 0 "R?" V 1293 5250 50 0000 C CNN +F 1 "0" V 1384 5250 50 0000 C CNN +F 2 "" V 1430 5250 50 0001 C CNN +F 3 "~" H 1500 5250 50 0001 C CNN + 1 1500 5250 0 1 1 0 $EndComp Wire Wire Line - 1300 3550 1200 3550 + 1350 5250 1250 5250 Wire Wire Line - 1200 3550 1200 3450 + 1250 5250 1250 5150 $Comp L Device:C C? U 1 1 5F7D34BF @@ -243,7 +243,7 @@ F 3 "~" H 4350 1400 50 0001 C CNN 1 0 0 -1 $EndComp Wire Wire Line - 2200 1550 2200 1450 + 2250 3200 2250 3100 Wire Wire Line 4350 1550 4350 1650 Wire Wire Line @@ -263,26 +263,26 @@ Connection ~ 3950 1150 $Comp L Device:C C? U 1 1 5F7D34EF -P 1700 3800 +P 1750 5500 AR Path="/5F7D34EF" Ref="C?" Part="1" AR Path="/5F7CBB94/5F7D34EF" Ref="C?" Part="1" -F 0 "C?" H 1815 3846 50 0000 L CNN -F 1 "1u" H 1815 3755 50 0000 L CNN -F 2 "" H 1738 3650 50 0001 C CNN -F 3 "~" H 1700 3800 50 0001 C CNN - 1 1700 3800 +F 0 "C?" H 1865 5546 50 0000 L CNN +F 1 "1u" H 1865 5455 50 0000 L CNN +F 2 "" H 1788 5350 50 0001 C CNN +F 3 "~" H 1750 5500 50 0001 C CNN + 1 1750 5500 1 0 0 -1 $EndComp Wire Wire Line - 1200 1550 750 1550 + 1250 3200 800 3200 Wire Wire Line - 750 1550 750 1450 -Connection ~ 1200 1550 + 800 3200 800 3100 +Connection ~ 1250 3200 Wire Wire Line - 750 1150 750 1050 + 800 2800 800 2700 Wire Wire Line - 750 1050 1200 1050 -Connection ~ 750 1050 + 800 2700 1250 2700 +Connection ~ 800 2700 Wire Wire Line 3950 1050 3950 1150 $Comp @@ -301,14 +301,14 @@ $EndComp $Comp L Device:C C? U 1 1 5F7D345B -P 2600 1300 +P 2650 2950 AR Path="/5F7D345B" Ref="C?" Part="1" AR Path="/5F7CBB94/5F7D345B" Ref="C?" Part="1" -F 0 "C?" H 2715 1346 50 0000 L CNN -F 1 "100n" H 2715 1255 50 0000 L CNN -F 2 "" H 2638 1150 50 0001 C CNN -F 3 "~" H 2600 1300 50 0001 C CNN - 1 2600 1300 +F 0 "C?" H 2765 2996 50 0000 L CNN +F 1 "100n" H 2765 2905 50 0000 L CNN +F 2 "" H 2688 2800 50 0001 C CNN +F 3 "~" H 2650 2950 50 0001 C CNN + 1 2650 2950 1 0 0 -1 $EndComp $Comp @@ -331,35 +331,35 @@ Wire Wire Line $Comp L Device:CP C? U 1 1 5F7E4819 -P 750 1300 -F 0 "C?" H 868 1346 50 0000 L CNN -F 1 "4.7u" H 868 1255 50 0000 L CNN -F 2 "" H 788 1150 50 0001 C CNN -F 3 "~" H 750 1300 50 0001 C CNN - 1 750 1300 +P 800 2950 +F 0 "C?" H 918 2996 50 0000 L CNN +F 1 "4.7u" H 918 2905 50 0000 L CNN +F 2 "" H 838 2800 50 0001 C CNN +F 3 "~" H 800 2950 50 0001 C CNN + 1 800 2950 1 0 0 -1 $EndComp $Comp L Device:CP C? U 1 1 5F7E48E5 -P 2200 1300 -F 0 "C?" H 2318 1346 50 0000 L CNN -F 1 "4.7u" H 2318 1255 50 0000 L CNN -F 2 "" H 2238 1150 50 0001 C CNN -F 3 "~" H 2200 1300 50 0001 C CNN - 1 2200 1300 +P 2250 2950 +F 0 "C?" H 2368 2996 50 0000 L CNN +F 1 "4.7u" H 2368 2905 50 0000 L CNN +F 2 "" H 2288 2800 50 0001 C CNN +F 3 "~" H 2250 2950 50 0001 C CNN + 1 2250 2950 1 0 0 -1 $EndComp Wire Wire Line - 2600 1450 2600 1550 + 2650 3100 2650 3200 Wire Wire Line - 2600 1550 2200 1550 -Connection ~ 2200 1550 + 2650 3200 2250 3200 +Connection ~ 2250 3200 Wire Wire Line - 2200 1050 2600 1050 + 2250 2700 2650 2700 Wire Wire Line - 2600 1050 2600 1150 -Connection ~ 2200 1050 + 2650 2700 2650 2800 +Connection ~ 2250 2700 Wire Wire Line 3950 1150 4350 1150 $Comp @@ -397,38 +397,38 @@ Place close to STM32F4 $Comp L power:VDDA #PWR? U 1 1 5F7FD193 -P 1700 3450 +P 1750 5150 AR Path="/5F7FD193" Ref="#PWR?" Part="1" AR Path="/5F7CBB94/5F7FD193" Ref="#PWR?" Part="1" -F 0 "#PWR?" H 1700 3300 50 0001 C CNN -F 1 "VDDA" H 1717 3623 50 0000 C CNN -F 2 "" H 1700 3450 50 0001 C CNN -F 3 "" H 1700 3450 50 0001 C CNN - 1 1700 3450 +F 0 "#PWR?" H 1750 5000 50 0001 C CNN +F 1 "VDDA" H 1767 5323 50 0000 C CNN +F 2 "" H 1750 5150 50 0001 C CNN +F 3 "" H 1750 5150 50 0001 C CNN + 1 1750 5150 1 0 0 -1 $EndComp Wire Wire Line - 1700 3450 1700 3550 + 1750 5150 1750 5250 Wire Wire Line - 1700 3550 1600 3550 + 1750 5250 1650 5250 Wire Notes Line 5600 2000 5600 650 Wire Wire Line - 1700 3650 1700 3550 -Connection ~ 1700 3550 + 1750 5350 1750 5250 +Connection ~ 1750 5250 Wire Wire Line - 1700 3950 1700 4050 + 1750 5650 1750 5750 $Comp L power:GND #PWR? U 1 1 5F81C5B3 -P 1700 4050 +P 1750 5750 AR Path="/5F81C5B3" Ref="#PWR?" Part="1" AR Path="/5F7CBB94/5F81C5B3" Ref="#PWR?" Part="1" -F 0 "#PWR?" H 1700 3800 50 0001 C CNN -F 1 "GND" H 1705 3877 50 0000 C CNN -F 2 "" H 1700 4050 50 0001 C CNN -F 3 "" H 1700 4050 50 0001 C CNN - 1 1700 4050 +F 0 "#PWR?" H 1750 5500 50 0001 C CNN +F 1 "GND" H 1755 5577 50 0000 C CNN +F 2 "" H 1750 5750 50 0001 C CNN +F 3 "" H 1750 5750 50 0001 C CNN + 1 1750 5750 1 0 0 -1 $EndComp Wire Wire Line @@ -438,19 +438,19 @@ Wire Wire Line $Comp L power:+3V3 #PWR? U 1 1 5F82C428 -P 2600 950 +P 2650 2600 AR Path="/5F82C428" Ref="#PWR?" Part="1" AR Path="/5F7CBB94/5F82C428" Ref="#PWR?" Part="1" -F 0 "#PWR?" H 2600 800 50 0001 C CNN -F 1 "+3V3" H 2615 1123 50 0000 C CNN -F 2 "" H 2600 950 50 0001 C CNN -F 3 "" H 2600 950 50 0001 C CNN - 1 2600 950 +F 0 "#PWR?" H 2650 2450 50 0001 C CNN +F 1 "+3V3" H 2665 2773 50 0000 C CNN +F 2 "" H 2650 2600 50 0001 C CNN +F 3 "" H 2650 2600 50 0001 C CNN + 1 2650 2600 1 0 0 -1 $EndComp Wire Wire Line - 2600 950 2600 1050 -Connection ~ 2600 1050 + 2650 2600 2650 2700 +Connection ~ 2650 2700 $Comp L Device:C C? U 1 1 5F90151D @@ -496,21 +496,211 @@ Wire Wire Line 5850 1550 5850 1750 Wire Notes Line 6200 2000 6200 650 -Wire Notes Line - 3400 2000 6200 2000 -Wire Notes Line - 3400 650 6200 650 Text Notes 5700 850 0 50 ~ 0 Place close\nto CH340 $Comp L power:+5V #PWR? U 1 1 5F924E38 -P 750 950 -F 0 "#PWR?" H 750 800 50 0001 C CNN -F 1 "+5V" H 765 1123 50 0000 C CNN -F 2 "" H 750 950 50 0001 C CNN -F 3 "" H 750 950 50 0001 C CNN - 1 750 950 +P 800 2600 +F 0 "#PWR?" H 800 2450 50 0001 C CNN +F 1 "+5V" H 815 2773 50 0000 C CNN +F 2 "" H 800 2600 50 0001 C CNN +F 3 "" H 800 2600 50 0001 C CNN + 1 800 2600 1 0 0 -1 $EndComp +$Comp +L Device:C C? +U 1 1 5F8C1E0D +P 6400 1400 +AR Path="/5F8C1E0D" Ref="C?" Part="1" +AR Path="/5F7CBB94/5F8C1E0D" Ref="C?" Part="1" +F 0 "C?" H 6515 1446 50 0000 L CNN +F 1 "100n" H 6515 1355 50 0000 L CNN +F 2 "" H 6438 1250 50 0001 C CNN +F 3 "~" H 6400 1400 50 0001 C CNN + 1 6400 1400 + 1 0 0 -1 +$EndComp +$Comp +L power:+3V3 #PWR? +U 1 1 5F8C2045 +P 6400 1050 +AR Path="/5F8C2045" Ref="#PWR?" Part="1" +AR Path="/5F7CBB94/5F8C2045" Ref="#PWR?" Part="1" +F 0 "#PWR?" H 6400 900 50 0001 C CNN +F 1 "+3V3" H 6415 1223 50 0000 C CNN +F 2 "" H 6400 1050 50 0001 C CNN +F 3 "" H 6400 1050 50 0001 C CNN + 1 6400 1050 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 5F8C204F +P 6400 1750 +AR Path="/5F8C204F" Ref="#PWR?" Part="1" +AR Path="/5F7CBB94/5F8C204F" Ref="#PWR?" Part="1" +F 0 "#PWR?" H 6400 1500 50 0001 C CNN +F 1 "GND" H 6405 1577 50 0000 C CNN +F 2 "" H 6400 1750 50 0001 C CNN +F 3 "" H 6400 1750 50 0001 C CNN + 1 6400 1750 + 1 0 0 -1 +$EndComp +Wire Wire Line + 6400 1050 6400 1250 +Wire Wire Line + 6400 1550 6400 1750 +Wire Notes Line + 6750 2000 6750 650 +Text Notes 6250 850 0 50 ~ 0 +Place close\nto CH340 +Wire Notes Line + 3400 2000 6750 2000 +Wire Notes Line + 3400 650 6750 650 +$Comp +L Device:D_Schottky D? +U 1 1 5FA5A321 +P 1250 1600 +AR Path="/5F8467A7/5FA5A321" Ref="D?" Part="1" +AR Path="/5F7CBB94/5FA5A321" Ref="D?" Part="1" +F 0 "D?" H 1250 1384 50 0000 C CNN +F 1 "Schottky" H 1250 1475 50 0000 C CNN +F 2 "" H 1250 1600 50 0001 C CNN +F 3 "~" H 1250 1600 50 0001 C CNN + 1 1250 1600 + -1 0 0 1 +$EndComp +$Comp +L Device:Fuse F? +U 1 1 5FA5A327 +P 1300 1200 +AR Path="/5F8467A7/5FA5A327" Ref="F?" Part="1" +AR Path="/5F7CBB94/5FA5A327" Ref="F?" Part="1" +F 0 "F?" V 1103 1200 50 0000 C CNN +F 1 "2A" V 1194 1200 50 0000 C CNN +F 2 "" V 1230 1200 50 0001 C CNN +F 3 "~" H 1300 1200 50 0001 C CNN + 1 1300 1200 + 0 1 1 0 +$EndComp +Wire Wire Line + 1450 1200 1550 1200 +$Comp +L power:VBUS #PWR? +U 1 1 5FA5A335 +P 1000 1500 +AR Path="/5F8467A7/5FA5A335" Ref="#PWR?" Part="1" +AR Path="/5F7CBB94/5FA5A335" Ref="#PWR?" Part="1" +F 0 "#PWR?" H 1000 1350 50 0001 C CNN +F 1 "VBUS" H 1015 1673 50 0000 C CNN +F 2 "" H 1000 1500 50 0001 C CNN +F 3 "" H 1000 1500 50 0001 C CNN + 1 1000 1500 + 1 0 0 -1 +$EndComp +Wire Wire Line + 1000 1500 1000 1600 +Wire Wire Line + 1000 1600 1100 1600 +$Comp +L Device:D_Zener D? +U 1 1 5FA5A33D +P 1750 1650 +AR Path="/5F8467A7/5FA5A33D" Ref="D?" Part="1" +AR Path="/5F7CBB94/5FA5A33D" Ref="D?" Part="1" +F 0 "D?" V 1659 1729 50 0000 L CNN +F 1 "5.6V" V 1750 1729 50 0000 L CNN +F 2 "" H 1750 1650 50 0001 C CNN +F 3 "~" H 1750 1650 50 0001 C CNN +F 4 "OVP" V 1841 1729 50 0000 L CNN "Comment" + 1 1750 1650 + 0 1 1 0 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 5FA5A344 +P 1750 1900 +AR Path="/5F8467A7/5FA5A344" Ref="#PWR?" Part="1" +AR Path="/5F7CBB94/5FA5A344" Ref="#PWR?" Part="1" +F 0 "#PWR?" H 1750 1650 50 0001 C CNN +F 1 "GND" H 1755 1727 50 0000 C CNN +F 2 "" H 1750 1900 50 0001 C CNN +F 3 "" H 1750 1900 50 0001 C CNN + 1 1750 1900 + 1 0 0 -1 +$EndComp +Wire Wire Line + 1750 1900 1750 1800 +Text GLabel 1000 1100 1 50 Input ~ 0 +VIN +Wire Wire Line + 1000 1100 1000 1200 +Wire Wire Line + 1000 1200 1150 1200 +Wire Wire Line + 1400 1600 1550 1600 +Wire Wire Line + 1550 1600 1550 1400 +Wire Wire Line + 1750 1500 1750 1400 +Connection ~ 1550 1400 +Wire Wire Line + 1550 1400 1550 1200 +$Comp +L power:+5V #PWR? +U 1 1 5FA5A32F +P 1750 1050 +AR Path="/5F8467A7/5FA5A32F" Ref="#PWR?" Part="1" +AR Path="/5F7CBB94/5FA5A32F" Ref="#PWR?" Part="1" +F 0 "#PWR?" H 1750 900 50 0001 C CNN +F 1 "+5V" H 1765 1223 50 0000 C CNN +F 2 "" H 1750 1050 50 0001 C CNN +F 3 "" H 1750 1050 50 0001 C CNN + 1 1750 1050 + 1 0 0 -1 +$EndComp +Wire Wire Line + 1750 1050 1750 1400 +Connection ~ 1750 1400 +$Comp +L power:PWR_FLAG #FLG? +U 1 1 5FBF14D4 +P 1750 1400 +F 0 "#FLG?" H 1750 1475 50 0001 C CNN +F 1 "PWR_FLAG" V 1750 1528 50 0000 L CNN +F 2 "" H 1750 1400 50 0001 C CNN +F 3 "~" H 1750 1400 50 0001 C CNN + 1 1750 1400 + 0 1 1 0 +$EndComp +Wire Wire Line + 1550 1400 1750 1400 +$Comp +L power:PWR_FLAG #FLG? +U 1 1 5FBF3225 +P 1750 4000 +F 0 "#FLG?" H 1750 4075 50 0001 C CNN +F 1 "PWR_FLAG" V 1750 4128 50 0000 L CNN +F 2 "" H 1750 4000 50 0001 C CNN +F 3 "~" H 1750 4000 50 0001 C CNN + 1 1750 4000 + 0 1 1 0 +$EndComp +Connection ~ 1750 4000 +Wire Wire Line + 1750 4000 1750 4150 +$Comp +L power:PWR_FLAG #FLG? +U 1 1 5FBF3D20 +P 1750 5250 +F 0 "#FLG?" H 1750 5325 50 0001 C CNN +F 1 "PWR_FLAG" V 1750 5378 50 0000 L CNN +F 2 "" H 1750 5250 50 0001 C CNN +F 3 "~" H 1750 5250 50 0001 C CNN + 1 1750 5250 + 0 1 1 0 +$EndComp $EndSCHEMATC diff --git a/kicad/sabik-cpu-cache.lib b/kicad/sabik-cpu-cache.lib index 6d481b6..8f5d0bb 100644 --- a/kicad/sabik-cpu-cache.lib +++ b/kicad/sabik-cpu-cache.lib @@ -58,6 +58,32 @@ X ~ T 200 -100 100 L 50 50 1 1 P ENDDRAW ENDDEF # +# Connector_Conn_01x04_Male +# +DEF Connector_Conn_01x04_Male J 0 40 Y N 1 F N +F0 "J" 0 200 50 H V C CNN +F1 "Connector_Conn_01x04_Male" 0 -300 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + Connector*:*_1x??_* +$ENDFPLIST +DRAW +S 34 -195 0 -205 1 1 6 F +S 34 -95 0 -105 1 1 6 F +S 34 5 0 -5 1 1 6 F +S 34 105 0 95 1 1 6 F +P 2 1 1 6 50 -200 34 -200 N +P 2 1 1 6 50 -100 34 -100 N +P 2 1 1 6 50 0 34 0 N +P 2 1 1 6 50 100 34 100 N +X Pin_1 1 200 100 150 L 50 50 1 1 P +X Pin_2 2 200 0 150 L 50 50 1 1 P +X Pin_3 3 200 -100 150 L 50 50 1 1 P +X Pin_4 4 200 -200 150 L 50 50 1 1 P +ENDDRAW +ENDDEF +# # Connector_Conn_ARM_JTAG_SWD_10 # DEF Connector_Conn_ARM_JTAG_SWD_10 J 0 40 Y Y 1 F N @@ -325,6 +351,28 @@ X A 2 150 0 100 L 50 50 1 1 P ENDDRAW ENDDEF # +# Device_D_Zener +# +DEF Device_D_Zener D 0 40 N N 1 F N +F0 "D" 0 100 50 H V C CNN +F1 "Device_D_Zener" 0 -100 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + TO-???* + *_Diode_* + *SingleDiode* + D_* +$ENDFPLIST +DRAW +P 2 0 1 0 50 0 -50 0 N +P 3 0 1 8 -50 -50 -50 50 -30 50 N +P 4 0 1 8 50 -50 50 50 -50 0 50 -50 N +X K 1 -150 0 100 R 50 50 1 1 P +X A 2 150 0 100 L 50 50 1 1 P +ENDDRAW +ENDDEF +# # Device_Fuse # DEF Device_Fuse F 0 0 N Y 1 F N @@ -402,11 +450,11 @@ X ~ 2 0 -150 50 U 50 50 1 1 P ENDDRAW ENDDEF # -# Interface_UART_MAX485E +# Interface_UART_MAX3485 # -DEF Interface_UART_MAX485E U 0 20 Y Y 1 F N +DEF Interface_UART_MAX3485 U 0 20 Y Y 1 F N F0 "U" -240 450 50 H V C CNN -F1 "Interface_UART_MAX485E" 30 450 50 H V L CNN +F1 "Interface_UART_MAX3485" 30 450 50 H V L CNN F2 "" 0 -700 50 H I C CNN F3 "" 0 50 50 H I C CNN ALIAS MAX483E MAX485E MAX487E MAX1487E MAX3485 MAX3483 MAX3486 @@ -537,6 +585,43 @@ X VDDA 9 200 1500 100 D 50 50 1 1 W ENDDRAW ENDDEF # +# Power_Protection_TPD2EUSB30A +# +DEF Power_Protection_TPD2EUSB30A U 0 0 Y Y 1 F N +F0 "U" 0 250 50 H V C CNN +F1 "Power_Protection_TPD2EUSB30A" 300 -300 50 H V C CNN +F2 "Package_TO_SOT_SMD:Texas_DRT-3" -750 -300 50 H I C CNN +F3 "" 0 0 50 H I C CNN +ALIAS TPD2EUSB30A +$FPLIST + Texas*DRT* +$ENDFPLIST +DRAW +C -125 0 11 0 1 0 F +C 0 -150 11 0 1 0 F +C 0 150 11 0 1 0 F +C 125 0 11 0 1 0 F +S -200 200 200 -200 0 1 10 f +S -125 150 125 -150 0 1 0 N +P 2 0 1 0 -200 0 -125 0 N +P 2 0 1 0 -150 -50 -100 -50 N +P 2 0 1 0 -150 100 -100 100 N +P 2 0 1 0 0 150 0 -200 N +P 2 0 1 0 100 -50 150 -50 N +P 2 0 1 0 100 100 150 100 N +P 2 0 1 0 200 0 125 0 N +P 3 0 1 0 30 30 -30 30 -30 20 N +P 4 0 1 0 -100 -100 -150 -100 -125 -50 -100 -100 N +P 4 0 1 0 -100 50 -150 50 -125 100 -100 50 N +P 4 0 1 0 25 -20 -25 -20 0 30 25 -20 N +P 4 0 1 0 150 -100 100 -100 125 -50 150 -100 N +P 4 0 1 0 150 50 100 50 125 100 150 50 N +X D+ 1 -400 0 200 R 50 50 1 1 P +X D- 2 400 0 200 L 50 50 1 1 P +X GND 3 0 -400 200 U 50 50 1 1 P +ENDDRAW +ENDDEF +# # Regulator_Linear_AP1117-33 # DEF Regulator_Linear_AP1117-33 U 0 10 Y Y 1 F N @@ -632,6 +717,34 @@ X GND 1 0 0 0 D 50 50 1 1 W N ENDDRAW ENDDEF # +# power_PWR_FLAG +# +DEF power_PWR_FLAG #FLG 0 0 N N 1 F P +F0 "#FLG" 0 75 50 H I C CNN +F1 "power_PWR_FLAG" 0 150 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +P 6 0 1 0 0 0 0 50 -40 75 0 100 40 75 0 50 N +X pwr 1 0 0 0 U 50 50 0 0 w +ENDDRAW +ENDDEF +# +# power_VBUS +# +DEF power_VBUS #PWR 0 0 Y Y 1 F P +F0 "#PWR" 0 -150 50 H I C CNN +F1 "power_VBUS" 0 150 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +P 2 0 1 0 -30 50 0 100 N +P 2 0 1 0 0 0 0 100 N +P 2 0 1 0 0 100 30 50 N +X VBUS 1 0 0 0 U 50 50 1 1 W N +ENDDRAW +ENDDEF +# # power_VDDA # DEF power_VDDA #PWR 0 0 Y Y 1 F P