Connect SPI between rpi and atmega

parent 479faa1d
...@@ -109,10 +109,10 @@ F 3 "" H 3600 4300 60 0000 C CNN ...@@ -109,10 +109,10 @@ F 3 "" H 3600 4300 60 0000 C CNN
0 1 1 0 0 1 1 0
$EndComp $EndComp
$Comp $Comp
L GND #PWR8 L GND #PWR010
U 1 1 55DC8E2C U 1 1 55DC8E2C
P 3250 4100 P 3250 4100
F 0 "#PWR8" H 3250 3850 50 0001 C CNN F 0 "#PWR010" H 3250 3850 50 0001 C CNN
F 1 "GND" H 3250 3950 50 0000 C CNN F 1 "GND" H 3250 3950 50 0000 C CNN
F 2 "" H 3250 4100 60 0000 C CNN F 2 "" H 3250 4100 60 0000 C CNN
F 3 "" H 3250 4100 60 0000 C CNN F 3 "" H 3250 4100 60 0000 C CNN
...@@ -120,10 +120,10 @@ F 3 "" H 3250 4100 60 0000 C CNN ...@@ -120,10 +120,10 @@ F 3 "" H 3250 4100 60 0000 C CNN
1 0 0 -1 1 0 0 -1
$EndComp $EndComp
$Comp $Comp
L +5V #PWR11 L +5V #PWR011
U 1 1 55DCDF98 U 1 1 55DCDF98
P 3600 1750 P 3600 1750
F 0 "#PWR11" H 3600 1600 50 0001 C CNN F 0 "#PWR011" H 3600 1600 50 0001 C CNN
F 1 "+5V" H 3600 1890 50 0000 C CNN F 1 "+5V" H 3600 1890 50 0000 C CNN
F 2 "" H 3600 1750 60 0000 C CNN F 2 "" H 3600 1750 60 0000 C CNN
F 3 "" H 3600 1750 60 0000 C CNN F 3 "" H 3600 1750 60 0000 C CNN
...@@ -142,10 +142,10 @@ F 3 "" H 3400 2750 60 0000 C CNN ...@@ -142,10 +142,10 @@ F 3 "" H 3400 2750 60 0000 C CNN
1 0 0 -1 1 0 0 -1
$EndComp $EndComp
$Comp $Comp
L GND #PWR9 L GND #PWR012
U 1 1 55DCE142 U 1 1 55DCE142
P 3400 2850 P 3400 2850
F 0 "#PWR9" H 3400 2600 50 0001 C CNN F 0 "#PWR012" H 3400 2600 50 0001 C CNN
F 1 "GND" H 3400 2700 50 0000 C CNN F 1 "GND" H 3400 2700 50 0000 C CNN
F 2 "" H 3400 2850 60 0000 C CNN F 2 "" H 3400 2850 60 0000 C CNN
F 3 "" H 3400 2850 60 0000 C CNN F 3 "" H 3400 2850 60 0000 C CNN
...@@ -155,10 +155,10 @@ $EndComp ...@@ -155,10 +155,10 @@ $EndComp
Text Label 3950 1800 0 60 ~ 0 Text Label 3950 1800 0 60 ~ 0
UVCC UVCC
$Comp $Comp
L GND #PWR6 L GND #PWR013
U 1 1 55DF2537 U 1 1 55DF2537
P 2000 3500 P 2000 3500
F 0 "#PWR6" H 2000 3250 50 0001 C CNN F 0 "#PWR013" H 2000 3250 50 0001 C CNN
F 1 "GND" H 2000 3350 50 0000 C CNN F 1 "GND" H 2000 3350 50 0000 C CNN
F 2 "" H 2000 3500 60 0000 C CNN F 2 "" H 2000 3500 60 0000 C CNN
F 3 "" H 2000 3500 60 0000 C CNN F 3 "" H 2000 3500 60 0000 C CNN
...@@ -196,10 +196,10 @@ D+ ...@@ -196,10 +196,10 @@ D+
Text Label 3850 3000 0 60 ~ 0 Text Label 3850 3000 0 60 ~ 0
D- D-
$Comp $Comp
L GND #PWR13 L GND #PWR014
U 1 1 55DF3164 U 1 1 55DF3164
P 4000 3250 P 4000 3250
F 0 "#PWR13" H 4000 3000 50 0001 C CNN F 0 "#PWR014" H 4000 3000 50 0001 C CNN
F 1 "GND" H 4000 3100 50 0000 C CNN F 1 "GND" H 4000 3100 50 0000 C CNN
F 2 "" H 4000 3250 60 0000 C CNN F 2 "" H 4000 3250 60 0000 C CNN
F 3 "" H 4000 3250 60 0000 C CNN F 3 "" H 4000 3250 60 0000 C CNN
...@@ -218,10 +218,10 @@ F 3 "" H 3450 3300 60 0000 C CNN ...@@ -218,10 +218,10 @@ F 3 "" H 3450 3300 60 0000 C CNN
1 0 0 -1 1 0 0 -1
$EndComp $EndComp
$Comp $Comp
L GND #PWR10 L GND #PWR015
U 1 1 55DF3207 U 1 1 55DF3207
P 3450 3400 P 3450 3400
F 0 "#PWR10" H 3450 3150 50 0001 C CNN F 0 "#PWR015" H 3450 3150 50 0001 C CNN
F 1 "GND" H 3450 3250 50 0000 C CNN F 1 "GND" H 3450 3250 50 0000 C CNN
F 2 "" H 3450 3400 60 0000 C CNN F 2 "" H 3450 3400 60 0000 C CNN
F 3 "" H 3450 3400 60 0000 C CNN F 3 "" H 3450 3400 60 0000 C CNN
...@@ -229,10 +229,10 @@ F 3 "" H 3450 3400 60 0000 C CNN ...@@ -229,10 +229,10 @@ F 3 "" H 3450 3400 60 0000 C CNN
1 0 0 -1 1 0 0 -1
$EndComp $EndComp
$Comp $Comp
L GND #PWR12 L GND #PWR016
U 1 1 55DF3438 U 1 1 55DF3438
P 3850 5400 P 3850 5400
F 0 "#PWR12" H 3850 5150 50 0001 C CNN F 0 "#PWR016" H 3850 5150 50 0001 C CNN
F 1 "GND" H 3850 5250 50 0000 C CNN F 1 "GND" H 3850 5250 50 0000 C CNN
F 2 "" H 3850 5400 60 0000 C CNN F 2 "" H 3850 5400 60 0000 C CNN
F 3 "" H 3850 5400 60 0000 C CNN F 3 "" H 3850 5400 60 0000 C CNN
...@@ -242,13 +242,13 @@ $EndComp ...@@ -242,13 +242,13 @@ $EndComp
Text Label 3750 3600 0 60 ~ 0 Text Label 3750 3600 0 60 ~ 0
RESET RESET
Text Label 6750 2100 0 60 ~ 0 Text Label 6750 2100 0 60 ~ 0
SPI_KB_CS AVR_CS
Text Label 6750 2200 0 60 ~ 0 Text Label 6750 2200 0 60 ~ 0
SCK AVR_SCLK
Text Label 6750 2300 0 60 ~ 0 Text Label 6750 2300 0 60 ~ 0
MOSI AVR_MOSI
Text Label 6750 2400 0 60 ~ 0 Text Label 6750 2400 0 60 ~ 0
MISO AVR_MISO
Text Label 2100 3200 0 60 ~ 0 Text Label 2100 3200 0 60 ~ 0
USB_PWR USB_PWR
$Comp $Comp
...@@ -265,10 +265,10 @@ $EndComp ...@@ -265,10 +265,10 @@ $EndComp
Text Label 850 1300 0 60 ~ 0 Text Label 850 1300 0 60 ~ 0
USB_PWR USB_PWR
$Comp $Comp
L +5V #PWR7 L +5V #PWR017
U 1 1 55DFA76D U 1 1 55DFA76D
P 2150 1400 P 2150 1400
F 0 "#PWR7" H 2150 1250 50 0001 C CNN F 0 "#PWR017" H 2150 1250 50 0001 C CNN
F 1 "+5V" H 2150 1540 50 0000 C CNN F 1 "+5V" H 2150 1540 50 0000 C CNN
F 2 "" H 2150 1400 60 0000 C CNN F 2 "" H 2150 1400 60 0000 C CNN
F 3 "" H 2150 1400 60 0000 C CNN F 3 "" H 2150 1400 60 0000 C CNN
...@@ -372,11 +372,11 @@ Wire Wire Line ...@@ -372,11 +372,11 @@ Wire Wire Line
Wire Wire Line Wire Wire Line
4100 3600 3750 3600 4100 3600 3750 3600
Wire Wire Line Wire Wire Line
6550 2300 7100 2300 6550 2300 7400 2300
Wire Wire Line Wire Wire Line
6550 2400 7100 2400 6550 2400 7400 2400
Wire Wire Line Wire Wire Line
6550 2200 7100 2200 6550 2200 7400 2200
Wire Wire Line Wire Wire Line
6550 2100 7400 2100 6550 2100 7400 2100
Wire Wire Line Wire Wire Line
...@@ -401,10 +401,10 @@ Wire Wire Line ...@@ -401,10 +401,10 @@ Wire Wire Line
Wire Wire Line Wire Wire Line
6550 4200 6900 4200 6550 4200 6900 4200
$Comp $Comp
L GND #PWR14 L GND #PWR018
U 1 1 55DF3620 U 1 1 55DF3620
P 7400 4300 P 7400 4300
F 0 "#PWR14" H 7400 4050 50 0001 C CNN F 0 "#PWR018" H 7400 4050 50 0001 C CNN
F 1 "GND" H 7400 4150 50 0000 C CNN F 1 "GND" H 7400 4150 50 0000 C CNN
F 2 "" H 7400 4300 60 0000 C CNN F 2 "" H 7400 4300 60 0000 C CNN
F 3 "" H 7400 4300 60 0000 C CNN F 3 "" H 7400 4300 60 0000 C CNN
...@@ -454,14 +454,28 @@ $EndComp ...@@ -454,14 +454,28 @@ $EndComp
Wire Wire Line Wire Wire Line
8250 1200 8250 1100 8250 1200 8250 1100
$Comp $Comp
L +5V #PWR15 L +5V #PWR019
U 1 1 55E0FC64 U 1 1 55E0FC64
P 8250 1100 P 8250 1100
F 0 "#PWR15" H 8250 950 50 0001 C CNN F 0 "#PWR019" H 8250 950 50 0001 C CNN
F 1 "+5V" H 8250 1240 50 0000 C CNN F 1 "+5V" H 8250 1240 50 0000 C CNN
F 2 "" H 8250 1100 60 0000 C CNN F 2 "" H 8250 1100 60 0000 C CNN
F 3 "" H 8250 1100 60 0000 C CNN F 3 "" H 8250 1100 60 0000 C CNN
1 8250 1100 1 8250 1100
1 0 0 -1 1 0 0 -1
$EndComp $EndComp
Entry Wire Line
7400 2100 7500 2200
Entry Wire Line
7400 2200 7500 2300
Entry Wire Line
7400 2300 7500 2400
Entry Wire Line
7400 2400 7500 2500
Wire Bus Line
7500 2500 7500 2000
Wire Bus Line
7500 2000 7650 2000
Text HLabel 7650 2000 2 60 3State ~ 0
SPI
$EndSCHEMATC $EndSCHEMATC
...@@ -58,7 +58,6 @@ S 1400 2450 1800 1150 ...@@ -58,7 +58,6 @@ S 1400 2450 1800 1150
U 55CDFACC U 55CDFACC
F0 "CPLD" 60 F0 "CPLD" 60
F1 "CPLD.sch" 60 F1 "CPLD.sch" 60
F2 "SPI" I R 3200 2650 60
$EndSheet $EndSheet
$Sheet $Sheet
S 1400 800 1750 1100 S 1400 800 1750 1100
...@@ -77,6 +76,7 @@ S 1400 4150 1750 950 ...@@ -77,6 +76,7 @@ S 1400 4150 1750 950
U 55D1B28D U 55D1B28D
F0 "ATMEGA32U4" 60 F0 "ATMEGA32U4" 60
F1 "ATMEGA32U4.sch" 60 F1 "ATMEGA32U4.sch" 60
F2 "SPI" T R 3150 4300 60
$EndSheet $EndSheet
$Comp $Comp
L RPi_GPIO J1 L RPi_GPIO J1
...@@ -114,10 +114,10 @@ Text Label 4750 1150 0 60 ~ 0 ...@@ -114,10 +114,10 @@ Text Label 4750 1150 0 60 ~ 0
Text Label 4750 1950 0 60 ~ 0 Text Label 4750 1950 0 60 ~ 0
3.3V 3.3V
$Comp $Comp
L +5V #PWR4 L +5V #PWR01
U 1 1 55D25D8C U 1 1 55D25D8C
P 7150 950 P 7150 950
F 0 "#PWR4" H 7150 800 50 0001 C CNN F 0 "#PWR01" H 7150 800 50 0001 C CNN
F 1 "+5V" H 7150 1090 50 0000 C CNN F 1 "+5V" H 7150 1090 50 0000 C CNN
F 2 "" H 7150 950 60 0000 C CNN F 2 "" H 7150 950 60 0000 C CNN
F 3 "" H 7150 950 60 0000 C CNN F 3 "" H 7150 950 60 0000 C CNN
...@@ -160,10 +160,10 @@ Wire Wire Line ...@@ -160,10 +160,10 @@ Wire Wire Line
7850 2750 7850 2850 7850 2750 7850 2850
Connection ~ 7650 2750 Connection ~ 7650 2750
$Comp $Comp
L GND #PWR5 L GND #PWR02
U 1 1 55D25FFA U 1 1 55D25FFA
P 7850 2850 P 7850 2850
F 0 "#PWR5" H 7850 2600 50 0001 C CNN F 0 "#PWR02" H 7850 2600 50 0001 C CNN
F 1 "GND" H 7850 2700 50 0000 C CNN F 1 "GND" H 7850 2700 50 0000 C CNN
F 2 "" H 7850 2850 60 0000 C CNN F 2 "" H 7850 2850 60 0000 C CNN
F 3 "" H 7850 2850 60 0000 C CNN F 3 "" H 7850 2850 60 0000 C CNN
...@@ -175,10 +175,10 @@ Wire Wire Line ...@@ -175,10 +175,10 @@ Wire Wire Line
Wire Wire Line Wire Wire Line
4700 1150 4700 1050 4700 1150 4700 1050
$Comp $Comp
L +3.3V #PWR3 L +3.3V #PWR03
U 1 1 55D26091 U 1 1 55D26091
P 4700 1050 P 4700 1050
F 0 "#PWR3" H 4700 900 50 0001 C CNN F 0 "#PWR03" H 4700 900 50 0001 C CNN
F 1 "+3.3V" H 4700 1190 50 0000 C CNN F 1 "+3.3V" H 4700 1190 50 0000 C CNN
F 2 "" H 4700 1050 60 0000 C CNN F 2 "" H 4700 1050 60 0000 C CNN
F 3 "" H 4700 1050 60 0000 C CNN F 3 "" H 4700 1050 60 0000 C CNN
...@@ -186,10 +186,10 @@ F 3 "" H 4700 1050 60 0000 C CNN ...@@ -186,10 +186,10 @@ F 3 "" H 4700 1050 60 0000 C CNN
1 0 0 -1 1 0 0 -1
$EndComp $EndComp
$Comp $Comp
L +3.3V #PWR2 L +3.3V #PWR04
U 1 1 55D260AD U 1 1 55D260AD
P 4500 1900 P 4500 1900
F 0 "#PWR2" H 4500 1750 50 0001 C CNN F 0 "#PWR04" H 4500 1750 50 0001 C CNN
F 1 "+3.3V" H 4500 2040 50 0000 C CNN F 1 "+3.3V" H 4500 2040 50 0000 C CNN
F 2 "" H 4500 1900 60 0000 C CNN F 2 "" H 4500 1900 60 0000 C CNN
F 3 "" H 4500 1900 60 0000 C CNN F 3 "" H 4500 1900 60 0000 C CNN
...@@ -203,10 +203,10 @@ Wire Wire Line ...@@ -203,10 +203,10 @@ Wire Wire Line
4200 3050 4200 3150 4200 3050 4200 3150
Connection ~ 4300 3050 Connection ~ 4300 3050
$Comp $Comp
L GND #PWR1 L GND #PWR05
U 1 1 55D2618B U 1 1 55D2618B
P 4200 3150 P 4200 3150
F 0 "#PWR1" H 4200 2900 50 0001 C CNN F 0 "#PWR05" H 4200 2900 50 0001 C CNN
F 1 "GND" H 4200 3000 50 0000 C CNN F 1 "GND" H 4200 3000 50 0000 C CNN
F 2 "" H 4200 3150 60 0000 C CNN F 2 "" H 4200 3150 60 0000 C CNN
F 3 "" H 4200 3150 60 0000 C CNN F 3 "" H 4200 3150 60 0000 C CNN
...@@ -220,10 +220,10 @@ F0 "SRAM" 60 ...@@ -220,10 +220,10 @@ F0 "SRAM" 60
F1 "SRAM.sch" 60 F1 "SRAM.sch" 60
$EndSheet $EndSheet
$Comp $Comp
L 74LVC244 U? L 74LVC244 IC1
U 1 1 55E460B2 U 1 1 55E460B2
P 9500 1500 P 9500 1500
F 0 "U?" H 9350 2050 60 0000 C CNN F 0 "IC1" H 9350 2050 60 0000 C CNN
F 1 "74LVC244" H 9500 950 60 0000 C CNN F 1 "74LVC244" H 9500 950 60 0000 C CNN
F 2 "" H 9500 1500 60 0000 C CNN F 2 "" H 9500 1500 60 0000 C CNN
F 3 "" H 9500 1500 60 0000 C CNN F 3 "" H 9500 1500 60 0000 C CNN
...@@ -231,10 +231,10 @@ F 3 "" H 9500 1500 60 0000 C CNN ...@@ -231,10 +231,10 @@ F 3 "" H 9500 1500 60 0000 C CNN
1 0 0 -1 1 0 0 -1
$EndComp $EndComp
$Comp $Comp
L 74LVC244 U? L 74LVC244 IC2
U 1 1 55E46174 U 1 1 55E46174
P 9500 3300 P 9500 3300
F 0 "U?" H 9350 3850 60 0000 C CNN F 0 "IC2" H 9350 3850 60 0000 C CNN
F 1 "74LVC244" H 9500 2750 60 0000 C CNN F 1 "74LVC244" H 9500 2750 60 0000 C CNN
F 2 "" H 9500 3300 60 0000 C CNN F 2 "" H 9500 3300 60 0000 C CNN
F 3 "" H 9500 3300 60 0000 C CNN F 3 "" H 9500 3300 60 0000 C CNN
...@@ -250,10 +250,10 @@ Wire Wire Line ...@@ -250,10 +250,10 @@ Wire Wire Line
Wire Wire Line Wire Wire Line
10050 2850 10050 2700 10050 2850 10050 2700
$Comp $Comp
L +3.3V #PWR? L +3.3V #PWR06
U 1 1 55E46612 U 1 1 55E46612
P 10050 900 P 10050 900
F 0 "#PWR?" H 10050 750 50 0001 C CNN F 0 "#PWR06" H 10050 750 50 0001 C CNN
F 1 "+3.3V" H 10050 1040 50 0000 C CNN F 1 "+3.3V" H 10050 1040 50 0000 C CNN
F 2 "" H 10050 900 60 0000 C CNN F 2 "" H 10050 900 60 0000 C CNN
F 3 "" H 10050 900 60 0000 C CNN F 3 "" H 10050 900 60 0000 C CNN
...@@ -261,10 +261,10 @@ F 3 "" H 10050 900 60 0000 C CNN ...@@ -261,10 +261,10 @@ F 3 "" H 10050 900 60 0000 C CNN
1 0 0 -1 1 0 0 -1
$EndComp $EndComp
$Comp $Comp
L +3.3V #PWR? L +3.3V #PWR07
U 1 1 55E46656 U 1 1 55E46656
P 10050 2700 P 10050 2700
F 0 "#PWR?" H 10050 2550 50 0001 C CNN F 0 "#PWR07" H 10050 2550 50 0001 C CNN
F 1 "+3.3V" H 10050 2840 50 0000 C CNN F 1 "+3.3V" H 10050 2840 50 0000 C CNN
F 2 "" H 10050 2700 60 0000 C CNN F 2 "" H 10050 2700 60 0000 C CNN
F 3 "" H 10050 2700 60 0000 C CNN F 3 "" H 10050 2700 60 0000 C CNN
...@@ -280,10 +280,10 @@ Wire Wire Line ...@@ -280,10 +280,10 @@ Wire Wire Line
Wire Wire Line Wire Wire Line
10150 1950 10150 2100 10150 1950 10150 2100
$Comp $Comp
L GND #PWR? L GND #PWR08
U 1 1 55E466F1 U 1 1 55E466F1
P 10150 2100 P 10150 2100
F 0 "#PWR?" H 10150 1850 50 0001 C CNN F 0 "#PWR08" H 10150 1850 50 0001 C CNN
F 1 "GND" H 10150 1950 50 0000 C CNN F 1 "GND" H 10150 1950 50 0000 C CNN
F 2 "" H 10150 2100 60 0000 C CNN F 2 "" H 10150 2100 60 0000 C CNN
F 3 "" H 10150 2100 60 0000 C CNN F 3 "" H 10150 2100 60 0000 C CNN
...@@ -291,14 +291,84 @@ F 3 "" H 10150 2100 60 0000 C CNN ...@@ -291,14 +291,84 @@ F 3 "" H 10150 2100 60 0000 C CNN
1 0 0 -1 1 0 0 -1
$EndComp $EndComp
$Comp $Comp
L GND #PWR? L GND #PWR09
U 1 1 55E4674D U 1 1 55E4674D
P 10050 3900 P 10050 3900
F 0 "#PWR?" H 10050 3650 50 0001 C CNN F 0 "#PWR09" H 10050 3650 50 0001 C CNN
F 1 "GND" H 10050 3750 50 0000 C CNN F 1 "GND" H 10050 3750 50 0000 C CNN
F 2 "" H 10050 3900 60 0000 C CNN F 2 "" H 10050 3900 60 0000 C CNN
F 3 "" H 10050 3900 60 0000 C CNN F 3 "" H 10050 3900 60 0000 C CNN
1 10050 3900 1 10050 3900
1 0 0 -1 1 0 0 -1
$EndComp $EndComp
Wire Wire Line
4450 2050 4950 2050
Wire Wire Line
4450 2150 4950 2150
Wire Wire Line
4450 2250 4950 2250
Wire Wire Line
6850 2250 7200 2250
Wire Wire Line
6850 2350 7200 2350
Text Label 6900 2250 0 60 ~ 0
RPI_CS0
Text Label 6900 2350 0 60 ~ 0
RPI_CS1
Text Label 4500 2050 0 60 ~ 0
RPI_MOSI
Text Label 4500 2150 0 60 ~ 0
RPI_MISO
Text Label 4500 2250 0 60 ~ 0
RPI_CLK
Wire Wire Line
9150 1150 8750 1150
Wire Wire Line
9150 1250 8750 1250
Wire Wire Line
9850 1150 10450 1150
Wire Wire Line
9850 1250 10450 1250
Text Label 8800 1150 0 60 ~ 0
RPI_CLK
Text Label 8800 1250 0 60 ~ 0
RPI_MOSI
Wire Wire Line
9150 1350 8750 1350
Text Label 8800 1350 0 60 ~ 0
AVR_MISO
Wire Wire Line
9850 1350 10450 1350
Text Label 9950 1350 0 60 ~ 0
RPI_MISO
Text Label 9950 1250 0 60 ~ 0
AVR_MOSI
Text Label 9950 1150 0 60 ~ 0
AVR_SCLK
Wire Wire Line
9150 1450 8750 1450
Wire Wire Line
9850 1450 10450 1450
Text Label 8800 1450 0 60 ~ 0
RPI_CS0
Text Label 9950 1450 0 60 ~ 0
AVR_CS
Entry Wire Line
10450 1150 10550 1250
Entry Wire Line
10450 1250 10550 1350
Entry Wire Line
10450 1350 10550 1450
Entry Wire Line
10450 1450 10550 1550
Wire Bus Line
10550 1550 10550 1050
Wire Bus Line
10550 1050 10650 1050
Text Label 10550 1050 0 60 ~ 0
AVR_SPI
Wire Bus Line
3150 4300 3600 4300
Text Label 3250 4300 0 60 ~ 0
AVR_SPI
$EndSCHEMATC $EndSCHEMATC
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment