sabik-cpu/kicad/cpu.sch

555 lines
12 KiB
Plaintext
Raw Normal View History

2020-10-03 15:26:28 +02:00
EESchema Schematic File Version 4
EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 3 4
Title ""
Date "2020-10-03"
Rev ""
Comp "Macrocell"
Comment1 "#followtheling"
Comment2 ""
Comment3 ""
Comment4 "Processor"
$EndDescr
$Comp
L MCU_ST_STM32F4:STM32F410CBTx U?
U 1 1 5F7DA088
P 5950 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
1 0 0 -1
$EndComp
$Comp
L power:+BATT #PWR?
U 1 1 5F7DA08E
P 5750 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 2 "" H 6150 2300 50 0001 C CNN
F 3 "" H 6150 2300 50 0001 C CNN
1 6150 2300
1 0 0 -1
$EndComp
Wire Wire Line
6150 2300 6150 2400
Wire Wire Line
5750 5500 5750 5600
Wire Wire Line
5750 5600 5850 5600
Wire Wire Line
6050 5600 6050 5500
Wire Wire Line
5950 5500 5950 5600
Connection ~ 5950 5600
Wire Wire Line
5950 5600 6050 5600
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
$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
1 0 0 -1
$EndComp
$Comp
L Connector:AVR-JTAG-10 J?
U 1 1 5F82F32C
P 1650 3500
F 0 "J?" H 1270 3546 50 0000 R CNN
F 1 "AVR-JTAG-10" H 1270 3455 50 0000 R CNN
F 2 "" V 1500 3650 50 0001 C CNN
F 3 " ~" H 375 2950 50 0001 C CNN
1 1650 3500
1 0 0 -1
$EndComp
Wire Wire Line
5250 4300 4800 4300
Text Label 4800 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
JTDI
Text Label 7150 5200 2 50 ~ 0
JTCK
Text Label 2500 3400 2 50 ~ 0
JTDO
Text Label 2500 3300 2 50 ~ 0
JTRST_N
Text Label 2500 3600 2 50 ~ 0
JTCK
Text Label 7150 5100 2 50 ~ 0
JTMS
Text Label 2500 3500 2 50 ~ 0
JTMS
Text Label 2500 3700 2 50 ~ 0
JTDI
$Comp
L Device:R R?
U 1 1 5F836AB5
P 2650 3200
F 0 "R?" V 2443 3200 50 0000 C CNN
F 1 "0" V 2534 3200 50 0000 C CNN
F 2 "" V 2580 3200 50 0001 C CNN
F 3 "~" H 2650 3200 50 0001 C CNN
1 2650 3200
0 1 1 0
$EndComp
Wire Wire Line
2500 3200 2150 3200
Wire Wire Line
2800 3200 3050 3200
Text Label 3050 3200 2 50 ~ 0
RST_N
Wire Wire Line
1650 2900 1650 2800
Wire Wire Line
1550 2900 1550 2800
Wire Wire Line
1550 2800 1600 2800
Wire Wire Line
1600 2800 1600 2700
Wire Wire Line
1650 2800 1600 2800
Connection ~ 1600 2800
$Comp
L power:+3V3 #PWR?
U 1 1 5F8392A7
P 1600 2700
F 0 "#PWR?" H 1600 2550 50 0001 C CNN
F 1 "+3V3" H 1615 2873 50 0000 C CNN
F 2 "" H 1600 2700 50 0001 C CNN
F 3 "" H 1600 2700 50 0001 C CNN
1 1600 2700
1 0 0 -1
$EndComp
Wire Wire Line
1650 4100 1650 4200
$Comp
L power:GND #PWR?
U 1 1 5F839F74
P 1650 4200
F 0 "#PWR?" H 1650 3950 50 0001 C CNN
F 1 "GND" H 1655 4027 50 0000 C CNN
F 2 "" H 1650 4200 50 0001 C CNN
F 3 "" H 1650 4200 50 0001 C CNN
1 1650 4200
1 0 0 -1
$EndComp
Wire Wire Line
5250 2600 5100 2600
Text Label 4800 2600 0 50 ~ 0
RST_N
Wire Wire Line
2150 3300 2500 3300
Wire Wire Line
2150 3400 2500 3400
Wire Wire Line
2150 3500 2500 3500
Wire Wire Line
2150 3600 2500 3600
Wire Wire Line
2150 3700 2500 3700
$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
1 0 0 -1
$EndComp
Wire Wire Line
5100 2200 5100 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
1 0 0 -1
$EndComp
Wire Wire Line
5100 2500 5100 2600
Connection ~ 5100 2600
Wire Wire Line
5100 2600 4800 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 "SW_Push" 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
0 1 1 0
$EndComp
Text Label 1200 750 2 50 ~ 0
RST_N
Wire Wire Line
850 850 850 750
Wire Wire Line
850 750 1200 750
Wire Wire Line
850 1250 850 1350
$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
1 0 0 -1
$EndComp
Text Notes 6100 5650 0 50 ~ 0
Pin functions in\nTable 9, STM32F410
Text Notes 8550 2900 0 50 ~ 0
SPI MOSI: PA7, PB15, PA10, PB5, PB8\nUART(RX,TX): (PA3, PA2), ()
Text HLabel 7150 4100 2 50 Input ~ 0
DMX_RO
Text HLabel 7150 3800 2 50 Output ~ 0
DMX_RE
Text HLabel 7150 4000 2 50 Output ~ 0
DMX_DI
Text HLabel 7150 3900 2 50 Output ~ 0
DMX_DE
Text HLabel 7150 4500 2 50 Output ~ 0
WS0
$Comp
L Device:R R?
U 1 1 5F854BA0
P 4650 5300
F 0 "R?" V 4550 5300 50 0000 C CNN
F 1 "TBD" V 4650 5300 50 0000 C CNN
F 2 "" V 4580 5300 50 0001 C CNN
F 3 "~" H 4650 5300 50 0001 C CNN
1 4650 5300
0 1 1 0
$EndComp
$Comp
L Device:R R?
U 1 1 5F855D14
P 4650 5100
F 0 "R?" V 4550 5100 50 0000 C CNN
F 1 "TBD" V 4650 5100 50 0000 C CNN
F 2 "" V 4580 5100 50 0001 C CNN
F 3 "~" H 4650 5100 50 0001 C CNN
1 4650 5100
0 1 1 0
$EndComp
$Comp
L Device:R R?
U 1 1 5F855F65
P 4650 5500
F 0 "R?" V 4550 5500 50 0000 C CNN
F 1 "TBD" V 4650 5500 50 0000 C CNN
F 2 "" V 4580 5500 50 0001 C CNN
F 3 "~" H 4650 5500 50 0001 C CNN
1 4650 5500
0 1 1 0
$EndComp
Wire Wire Line
4500 5500 4400 5500
Wire Wire Line
4400 5300 4500 5300
Wire Wire Line
4400 5100 4500 5100
Text HLabel 7150 4800 2 50 Output ~ 0
WS1
Wire Wire Line
6550 3800 7150 3800
Wire Wire Line
6550 3900 7150 3900
Wire Wire Line
6550 4000 7150 4000
Wire Wire Line
6550 4100 7150 4100
Wire Wire Line
6550 4500 7150 4500
Wire Wire Line
6550 4800 7150 4800
Wire Wire Line
6550 5100 7150 5100
Wire Wire Line
6550 5200 7150 5200
Wire Wire Line
6550 5300 7150 5300
Text Notes 6550 4500 0 50 ~ 0
:SPI1_MOSI
Text Notes 6550 4800 0 50 ~ 0
:SPI5_MOSI
Text Notes 6550 4000 0 50 ~ 0
:USART2_TX
Text Notes 6550 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
0 1 1 0
$EndComp
Wire Wire Line
5250 3400 5100 3400
Wire Wire Line
5100 3400 5100 3600
Wire Wire Line
5100 3600 4800 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
0 1 1 0
$EndComp
Wire Wire Line
4650 3600 4800 3600
Connection ~ 4800 3600
Wire Wire Line
4800 3300 4650 3300
Connection ~ 4800 3300
Wire Wire Line
4350 3300 4250 3300
Wire Wire Line
4250 3300 4250 3450
Wire Wire Line
4250 3600 4350 3600
Wire Wire Line
4250 3450 4150 3450
Connection ~ 4250 3450
Wire Wire Line
4250 3450 4250 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
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
0 1 1 0
$EndComp
Wire Wire Line
5150 2800 5250 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
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
$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
0 1 1 0
$EndComp
Wire Wire Line
4150 3100 4600 3100
Wire Wire Line
4150 2800 4850 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
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
0 1 1 0
$EndComp
Wire Wire Line
4800 3300 5250 3300
Wire Wire Line
4250 2100 4250 3000
Wire Wire Line
4250 3000 4850 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
1 0 0 -1
$EndComp
NoConn ~ 5250 3600
NoConn ~ 5250 3700
NoConn ~ 5250 3800
Text Notes 5550 3800 0 50 ~ 0
|/!\ These pins have\n|limited capabilities.\n|
Wire Wire Line
4800 5100 5250 5100
Wire Wire Line
5250 5200 4900 5200
Wire Wire Line
4900 5200 4900 5300
Wire Wire Line
4900 5300 4800 5300
Wire Wire Line
4800 5500 5050 5500
Wire Wire Line
5050 5500 5050 5300
Wire Wire Line
5050 5300 5250 5300
$Comp
L Device:LED_CRGB D?
U 1 1 5F8DD01B
P 4200 5300
F 0 "D?" H 4200 5797 50 0000 C CNN
F 1 "LED_CRGB" H 4200 5706 50 0000 C CNN
F 2 "" H 4200 5250 50 0001 C CNN
F 3 "~" H 4200 5250 50 0001 C CNN
1 4200 5300
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR?
U 1 1 5F8DE84D
P 3900 5400
F 0 "#PWR?" H 3900 5150 50 0001 C CNN
F 1 "GND" H 3905 5227 50 0000 C CNN
F 2 "" H 3900 5400 50 0001 C CNN
F 3 "" H 3900 5400 50 0001 C CNN
1 3900 5400
1 0 0 -1
$EndComp
Wire Wire Line
3900 5400 3900 5300
Wire Wire Line
3900 5300 4000 5300
Text Notes 3600 5800 0 50 ~ 0
TODO: Check whether I can connect\nthe LED timer compare outputs.
$EndSCHEMATC