From 0973972464c1352ca446324b6c137f8dcc39ab60 Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Tue, 30 Oct 2018 22:28:08 +0800 Subject: [PATCH] hardware: pcb: add SPI debug header This will be used to program SPI during board bringup. Signed-off-by: Sean Cross --- hardware/pcb/tomu-fpga-cache.lib | 169 +++++++++------ hardware/pcb/tomu-fpga.sch | 340 ++++++++++++++++++------------- 2 files changed, 304 insertions(+), 205 deletions(-) diff --git a/hardware/pcb/tomu-fpga-cache.lib b/hardware/pcb/tomu-fpga-cache.lib index 3e5e078..3ad6df8 100644 --- a/hardware/pcb/tomu-fpga-cache.lib +++ b/hardware/pcb/tomu-fpga-cache.lib @@ -28,6 +28,41 @@ X Pin_6 6 -200 -300 150 R 50 50 1 1 P ENDDRAW ENDDEF # +# Connector_Generic:Conn_01x10 +# +DEF Connector_Generic:Conn_01x10 J 0 40 Y N 1 F N +F0 "J" 0 500 50 H V C CNN +F1 "Connector_Generic:Conn_01x10" 0 -600 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 -50 -495 0 -505 1 1 6 N +S -50 -395 0 -405 1 1 6 N +S -50 -295 0 -305 1 1 6 N +S -50 -195 0 -205 1 1 6 N +S -50 -95 0 -105 1 1 6 N +S -50 5 0 -5 1 1 6 N +S -50 105 0 95 1 1 6 N +S -50 205 0 195 1 1 6 N +S -50 305 0 295 1 1 6 N +S -50 405 0 395 1 1 6 N +S -50 450 50 -550 1 1 10 f +X Pin_1 1 -200 400 150 R 50 50 1 1 P +X Pin_10 10 -200 -500 150 R 50 50 1 1 P +X Pin_2 2 -200 300 150 R 50 50 1 1 P +X Pin_3 3 -200 200 150 R 50 50 1 1 P +X Pin_4 4 -200 100 150 R 50 50 1 1 P +X Pin_5 5 -200 0 150 R 50 50 1 1 P +X Pin_6 6 -200 -100 150 R 50 50 1 1 P +X Pin_7 7 -200 -200 150 R 50 50 1 1 P +X Pin_8 8 -200 -300 150 R 50 50 1 1 P +X Pin_9 9 -200 -400 150 R 50 50 1 1 P +ENDDRAW +ENDDEF +# # Device:C_Small # DEF Device:C_Small C 0 10 N N 1 F N @@ -80,73 +115,6 @@ X 2 2 200 0 100 L 50 50 0 1 P ENDDRAW ENDDEF # -# Tomu_FPGA:ICE40UP5K-SG48ITR -# -DEF Tomu_FPGA:ICE40UP5K-SG48ITR U 0 20 Y Y 4 L N -F0 "U" -350 -1150 50 H V C CNN -F1 "Tomu_FPGA:ICE40UP5K-SG48ITR" 0 -1250 50 H V C CNN -F2 "Package_DFN_QFN:QFN-48-1EP_7x7mm_P0.5mm_EP5.6x5.6mm" 0 -1350 50 H I C CNN -F3 "" -400 1000 50 H I C CNN -$FPLIST - QFN*7x7mm*P0.5mm*EP5.6x5.6mm* -$ENDFPLIST -DRAW -S -300 1000 300 -1100 1 1 10 f -S -400 1000 400 -1000 2 1 10 f -S -300 600 300 -600 3 1 10 f -S -200 300 200 -300 4 1 10 f -X IOT_37a 23 -400 500 100 R 50 50 1 1 B -X IOT_36b 25 -400 600 100 R 50 50 1 1 B -X IOT_39a 26 -400 300 100 R 50 50 1 1 B -X IOT_38b 27 -400 400 100 R 50 50 1 1 B -X IOT_41a 28 -400 200 100 R 50 50 1 1 B -X IOT_42b 31 -400 100 100 R 50 50 1 1 B -X IOT_43a 32 -400 0 100 R 50 50 1 1 B -X VCCIO_0 33 0 1100 100 D 50 50 1 1 W -X IOT_44b 34 -400 -100 100 R 50 50 1 1 B -X IOT_46b_G0 35 -400 -300 100 R 50 50 1 1 B -X IOT_48b 36 -400 -400 100 R 50 50 1 1 B -X IOT_45a_G1 37 -400 -200 100 R 50 50 1 1 B -X IOT_50b 38 -400 -600 100 R 50 50 1 1 B -X RGB0 39 -400 -800 100 R 50 50 1 1 C -X RGB1 40 -400 -900 100 R 50 50 1 1 C -X RGB2 41 -400 -1000 100 R 50 50 1 1 C -X IOT_51a 42 -400 -700 100 R 50 50 1 1 B -X IOT_49a 43 -400 -500 100 R 50 50 1 1 B -X IOB_18a 10 -500 200 100 R 50 50 2 1 B -X IOB_20a 11 -500 100 100 R 50 50 2 1 B -X IOB_22b 12 -500 0 100 R 50 50 2 1 B -X IOB_24a 13 -500 -200 100 R 50 50 2 1 B -X IOB_32a_SPI_SO 14 -500 -600 100 R 50 50 2 1 B -X IOB_34a_SPI_SCK 15 -500 -800 100 R 50 50 2 1 B -X IOB_35b_SPI_SS 16 -500 -900 100 R 50 50 2 1 B -X IOB_33b_SPI_SI 17 -500 -700 100 R 50 50 2 1 B -X IOB_31b 18 -500 -500 100 R 50 50 2 1 B -X IOB_29b 19 -500 -400 100 R 50 50 2 1 B -X IOB_25b_G3 20 -500 -300 100 R 50 50 2 1 B -X IOB_23b 21 -500 -100 100 R 50 50 2 1 B -X SPI_VCCIO1 22 0 1100 100 D 50 50 2 1 W -X IOB_13b 6 -500 400 100 R 50 50 2 1 B -X CDONE 7 500 700 100 L 50 50 2 1 C -X ~CRESET 8 -500 700 100 R 50 50 2 1 I -X IOB_16a 9 -500 300 100 R 50 50 2 1 B -X VCCIO_2 1 0 700 100 D 50 50 3 1 W -X IOB_6a 2 -400 -300 100 R 50 50 3 1 B -X IOB_9b 3 -400 -500 100 R 50 50 3 1 B -X IOB_8a 4 -400 -400 100 R 50 50 3 1 B -X IOB_3b_G6 44 -400 0 100 R 50 50 3 1 B -X IOB_5b 45 -400 -200 100 R 50 50 3 1 B -X IOB_0a 46 -400 200 100 R 50 50 3 1 B -X IOB_2a 47 -400 100 100 R 50 50 3 1 B -X IOB_4a 48 -400 -100 100 R 50 50 3 1 B -X VPP_2V5 24 -100 400 100 D 50 50 4 1 W -X VCCPLL 29 100 400 100 D 50 50 4 1 W -X VCC 30 0 400 100 D 50 50 4 1 P N -X GND 49 0 -400 100 U 50 50 4 1 W -X VCC 5 0 400 100 D 50 50 4 1 W -ENDDRAW -ENDDEF -# # power:+1V2 # DEF power:+1V2 #PWR 0 0 Y Y 1 F P @@ -221,6 +189,73 @@ X GND 1 0 0 0 D 50 50 1 1 W N ENDDRAW ENDDEF # +# tomu-fpga:ICE40UP5K-SG48ITR +# +DEF tomu-fpga:ICE40UP5K-SG48ITR U 0 20 Y Y 4 L N +F0 "U" -350 -1150 50 H V C CNN +F1 "tomu-fpga:ICE40UP5K-SG48ITR" 0 -1250 50 H V C CNN +F2 "Package_DFN_QFN:QFN-48-1EP_7x7mm_P0.5mm_EP5.6x5.6mm" 0 -1350 50 H I C CNN +F3 "" -400 1000 50 H I C CNN +$FPLIST + QFN*7x7mm*P0.5mm*EP5.6x5.6mm* +$ENDFPLIST +DRAW +S -300 1000 300 -1100 1 1 10 f +S -400 1000 400 -1000 2 1 10 f +S -300 600 300 -600 3 1 10 f +S -200 300 200 -300 4 1 10 f +X IOT_37a 23 -400 500 100 R 50 50 1 1 B +X IOT_36b 25 -400 600 100 R 50 50 1 1 B +X IOT_39a 26 -400 300 100 R 50 50 1 1 B +X IOT_38b 27 -400 400 100 R 50 50 1 1 B +X IOT_41a 28 -400 200 100 R 50 50 1 1 B +X IOT_42b 31 -400 100 100 R 50 50 1 1 B +X IOT_43a 32 -400 0 100 R 50 50 1 1 B +X VCCIO_0 33 0 1100 100 D 50 50 1 1 W +X IOT_44b 34 -400 -100 100 R 50 50 1 1 B +X IOT_46b_G0 35 -400 -300 100 R 50 50 1 1 B +X IOT_48b 36 -400 -400 100 R 50 50 1 1 B +X IOT_45a_G1 37 -400 -200 100 R 50 50 1 1 B +X IOT_50b 38 -400 -600 100 R 50 50 1 1 B +X RGB0 39 -400 -800 100 R 50 50 1 1 C +X RGB1 40 -400 -900 100 R 50 50 1 1 C +X RGB2 41 -400 -1000 100 R 50 50 1 1 C +X IOT_51a 42 -400 -700 100 R 50 50 1 1 B +X IOT_49a 43 -400 -500 100 R 50 50 1 1 B +X IOB_18a 10 -500 200 100 R 50 50 2 1 B +X IOB_20a 11 -500 100 100 R 50 50 2 1 B +X IOB_22b 12 -500 0 100 R 50 50 2 1 B +X IOB_24a 13 -500 -200 100 R 50 50 2 1 B +X IOB_32a_SPI_SO 14 -500 -600 100 R 50 50 2 1 B +X IOB_34a_SPI_SCK 15 -500 -800 100 R 50 50 2 1 B +X IOB_35b_SPI_SS 16 -500 -900 100 R 50 50 2 1 B +X IOB_33b_SPI_SI 17 -500 -700 100 R 50 50 2 1 B +X IOB_31b 18 -500 -500 100 R 50 50 2 1 B +X IOB_29b 19 -500 -400 100 R 50 50 2 1 B +X IOB_25b_G3 20 -500 -300 100 R 50 50 2 1 B +X IOB_23b 21 -500 -100 100 R 50 50 2 1 B +X SPI_VCCIO1 22 0 1100 100 D 50 50 2 1 W +X IOB_13b 6 -500 400 100 R 50 50 2 1 B +X CDONE 7 500 700 100 L 50 50 2 1 C +X ~CRESET 8 -500 700 100 R 50 50 2 1 I +X IOB_16a 9 -500 300 100 R 50 50 2 1 B +X VCCIO_2 1 0 700 100 D 50 50 3 1 W +X IOB_6a 2 -400 -300 100 R 50 50 3 1 B +X IOB_9b 3 -400 -500 100 R 50 50 3 1 B +X IOB_8a 4 -400 -400 100 R 50 50 3 1 B +X IOB_3b_G6 44 -400 0 100 R 50 50 3 1 B +X IOB_5b 45 -400 -200 100 R 50 50 3 1 B +X IOB_0a 46 -400 200 100 R 50 50 3 1 B +X IOB_2a 47 -400 100 100 R 50 50 3 1 B +X IOB_4a 48 -400 -100 100 R 50 50 3 1 B +X VPP_2V5 24 -100 400 100 D 50 50 4 1 W +X VCCPLL 29 100 400 100 D 50 50 4 1 W +X VCC 30 0 400 100 D 50 50 4 1 P N +X GND 49 0 -400 100 U 50 50 4 1 W +X VCC 5 0 400 100 D 50 50 4 1 W +ENDDRAW +ENDDEF +# # tomu-fpga:LDO-SOT23 # DEF tomu-fpga:LDO-SOT23 U 0 40 Y Y 1 F N diff --git a/hardware/pcb/tomu-fpga.sch b/hardware/pcb/tomu-fpga.sch index 9da90a2..2e79f2a 100644 --- a/hardware/pcb/tomu-fpga.sch +++ b/hardware/pcb/tomu-fpga.sch @@ -15,62 +15,6 @@ Comment3 "" Comment4 "" $EndDescr $Comp -L Tomu_FPGA:ICE40UP5K-SG48ITR U5 -U 1 1 5BD6A4A8 -P 9750 2300 -F 0 "U5" H 9500 1150 50 0000 L CNN -F 1 "ICE40UP5K-SG48I" H 9500 1050 50 0000 L CNN -F 2 "Package_DFN_QFN:QFN-48-1EP_7x7mm_P0.5mm_EP5.6x5.6mm" H 9750 950 50 0001 C CNN -F 3 "http://www.latticesemi.com/Products/FPGAandCPLD/iCE40Ultra" H 9350 3300 50 0001 C CNN -F 4 "ICE40UP5K-SG48I" H 0 0 50 0001 C CNN "MPN" -F 5 "Lattice" H 0 0 50 0001 C CNN "Manufacturer" -F 6 "220-2212-1-ND" H 0 0 50 0001 C CNN "DPN" - 1 9750 2300 - 1 0 0 -1 -$EndComp -$Comp -L Tomu_FPGA:ICE40UP5K-SG48ITR U5 -U 2 1 5BD6A4E1 -P 4200 6050 -F 0 "U5" H 3900 4900 50 0000 C CNN -F 1 "ICE40UP5K-SG48I" H 4200 5000 50 0000 C CNN -F 2 "Package_DFN_QFN:QFN-48-1EP_7x7mm_P0.5mm_EP5.6x5.6mm" H 4200 4700 50 0001 C CNN -F 3 "http://www.latticesemi.com/Products/FPGAandCPLD/iCE40Ultra" H 3800 7050 50 0001 C CNN -F 4 "ICE40UP5K-SG48I" H 0 0 50 0001 C CNN "MPN" -F 5 "Lattice" H 0 0 50 0001 C CNN "Manufacturer" -F 6 "220-2212-1-ND" H 0 0 50 0001 C CNN "DPN" - 2 4200 6050 - 1 0 0 -1 -$EndComp -$Comp -L Tomu_FPGA:ICE40UP5K-SG48ITR U5 -U 3 1 5BD6A51F -P 6050 2650 -F 0 "U5" H 5750 2000 50 0000 L CNN -F 1 "ICE40UP5K-SG48I" H 5750 1900 50 0000 L CNN -F 2 "Package_DFN_QFN:QFN-48-1EP_7x7mm_P0.5mm_EP5.6x5.6mm" H 6050 1300 50 0001 C CNN -F 3 "http://www.latticesemi.com/Products/FPGAandCPLD/iCE40Ultra" H 5650 3650 50 0001 C CNN -F 4 "ICE40UP5K-SG48I" H 6050 2650 50 0001 C CNN "MPN" -F 5 "Lattice" H 6050 2650 50 0001 C CNN "Manufacturer" -F 6 "220-2212-1-ND" H 0 0 50 0001 C CNN "DPN" - 3 6050 2650 - 1 0 0 -1 -$EndComp -$Comp -L Tomu_FPGA:ICE40UP5K-SG48ITR U5 -U 4 1 5BD6A560 -P 9650 5100 -F 0 "U5" V 9400 5300 50 0000 C CNN -F 1 "ICE40UP5K-SG48I" V 9300 5050 50 0000 C CNN -F 2 "Package_DFN_QFN:QFN-48-1EP_7x7mm_P0.5mm_EP5.6x5.6mm" H 9650 3750 50 0001 C CNN -F 3 "http://www.latticesemi.com/Products/FPGAandCPLD/iCE40Ultra" H 9250 6100 50 0001 C CNN -F 4 "ICE40UP5K-SG48I" H 0 0 50 0001 C CNN "MPN" -F 5 "Lattice" H 0 0 50 0001 C CNN "Manufacturer" -F 6 "220-2212-1-ND" H 0 0 50 0001 C CNN "DPN" - 4 9650 5100 - 0 -1 -1 0 -$EndComp -$Comp L tomu-fpga:LDO-SOT23 U2 U 1 1 5BD6EE82 P 1650 2650 @@ -121,10 +65,10 @@ $EndComp Wire Wire Line 1950 3700 2050 3700 $Comp -L power:GND #PWR011 +L power:GND #PWR013 U 1 1 5BD6F362 P 2300 3950 -F 0 "#PWR011" H 2300 3700 50 0001 C CNN +F 0 "#PWR013" H 2300 3700 50 0001 C CNN F 1 "GND" H 2305 3777 50 0000 C CNN F 2 "" H 2300 3950 50 0001 C CNN F 3 "" H 2300 3950 50 0001 C CNN @@ -136,10 +80,10 @@ Wire Wire Line Wire Wire Line 2050 2600 2050 2800 $Comp -L power:GND #PWR010 +L power:GND #PWR012 U 1 1 5BD6F3CD P 2300 2850 -F 0 "#PWR010" H 2300 2600 50 0001 C CNN +F 0 "#PWR012" H 2300 2600 50 0001 C CNN F 1 "GND" H 2305 2677 50 0000 C CNN F 2 "" H 2300 2850 50 0001 C CNN F 3 "" H 2300 2850 50 0001 C CNN @@ -151,10 +95,10 @@ Wire Wire Line Wire Wire Line 2050 1500 2050 1700 $Comp -L power:GND #PWR09 +L power:GND #PWR011 U 1 1 5BD6F47F P 2300 1750 -F 0 "#PWR09" H 2300 1500 50 0001 C CNN +F 0 "#PWR011" H 2300 1500 50 0001 C CNN F 1 "GND" H 2305 1577 50 0000 C CNN F 2 "" H 2300 1750 50 0001 C CNN F 3 "" H 2300 1750 50 0001 C CNN @@ -164,10 +108,10 @@ $EndComp Wire Wire Line 2350 3500 2350 3400 $Comp -L power:+2V5 #PWR014 +L power:+2V5 #PWR016 U 1 1 5BD6F58B P 2350 3400 -F 0 "#PWR014" H 2350 3250 50 0001 C CNN +F 0 "#PWR016" H 2350 3250 50 0001 C CNN F 1 "+2V5" H 2365 3573 50 0000 C CNN F 2 "" H 2350 3400 50 0001 C CNN F 3 "" H 2350 3400 50 0001 C CNN @@ -214,10 +158,10 @@ F 6 "ANY" H 0 0 50 0001 C CNN "Manufacturer" 1 0 0 -1 $EndComp $Comp -L power:+3V3 #PWR013 +L power:+3V3 #PWR015 U 1 1 5BD6FEE3 P 2350 2300 -F 0 "#PWR013" H 2350 2150 50 0001 C CNN +F 0 "#PWR015" H 2350 2150 50 0001 C CNN F 1 "+3V3" H 2365 2473 50 0000 C CNN F 2 "" H 2350 2300 50 0001 C CNN F 3 "" H 2350 2300 50 0001 C CNN @@ -225,10 +169,10 @@ F 3 "" H 2350 2300 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L power:+1V2 #PWR012 +L power:+1V2 #PWR014 U 1 1 5BD6FF3E P 2350 1200 -F 0 "#PWR012" H 2350 1050 50 0001 C CNN +F 0 "#PWR014" H 2350 1050 50 0001 C CNN F 1 "+1V2" H 2365 1373 50 0000 C CNN F 2 "" H 2350 1200 50 0001 C CNN F 3 "" H 2350 1200 50 0001 C CNN @@ -432,10 +376,10 @@ $EndComp Wire Wire Line 8050 1900 8200 1900 $Comp -L power:GND #PWR030 +L power:GND #PWR032 U 1 1 5BD8C8EF P 8200 2100 -F 0 "#PWR030" H 8200 1850 50 0001 C CNN +F 0 "#PWR032" H 8200 1850 50 0001 C CNN F 1 "GND" H 8205 1927 50 0000 C CNN F 2 "" H 8200 2100 50 0001 C CNN F 3 "" H 8200 2100 50 0001 C CNN @@ -443,10 +387,10 @@ F 3 "" H 8200 2100 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L power:+5V #PWR029 +L power:+5V #PWR031 U 1 1 5BD8C948 P 8200 1450 -F 0 "#PWR029" H 8200 1300 50 0001 C CNN +F 0 "#PWR031" H 8200 1300 50 0001 C CNN F 1 "+5V" H 8215 1623 50 0000 C CNN F 2 "" H 8200 1450 50 0001 C CNN F 3 "" H 8200 1450 50 0001 C CNN @@ -471,10 +415,10 @@ Wire Wire Line Wire Wire Line 8150 3100 8150 3000 $Comp -L power:+3V3 #PWR028 +L power:+3V3 #PWR030 U 1 1 5BD9277B P 8150 3000 -F 0 "#PWR028" H 8150 2850 50 0001 C CNN +F 0 "#PWR030" H 8150 2850 50 0001 C CNN F 1 "+3V3" H 8165 3173 50 0000 C CNN F 2 "" H 8150 3000 50 0001 C CNN F 3 "" H 8150 3000 50 0001 C CNN @@ -597,10 +541,10 @@ Wire Wire Line Wire Wire Line 4050 2000 4150 2000 $Comp -L power:+3V3 #PWR018 +L power:+3V3 #PWR020 U 1 1 5BDE59C3 P 4500 1600 -F 0 "#PWR018" H 4500 1450 50 0001 C CNN +F 0 "#PWR020" H 4500 1450 50 0001 C CNN F 1 "+3V3" H 4515 1773 50 0000 C CNN F 2 "" H 4500 1600 50 0001 C CNN F 3 "" H 4500 1600 50 0001 C CNN @@ -634,10 +578,10 @@ Connection ~ 4900 2200 Wire Wire Line 4900 2200 4850 2200 $Comp -L power:GND #PWR019 +L power:GND #PWR021 U 1 1 5BDEBDAC P 4900 2350 -F 0 "#PWR019" H 4900 2100 50 0001 C CNN +F 0 "#PWR021" H 4900 2100 50 0001 C CNN F 1 "GND" H 4905 2177 50 0000 C CNN F 2 "" H 4900 2350 50 0001 C CNN F 3 "" H 4900 2350 50 0001 C CNN @@ -724,12 +668,8 @@ Wire Wire Line 1700 6650 1850 6650 Wire Wire Line 1850 6750 1700 6750 -Wire Wire Line - 1700 6750 1700 7300 Wire Wire Line 1700 7300 2550 7300 -Wire Wire Line - 3700 6250 1800 6250 Wire Wire Line 1800 6250 1800 6850 Wire Wire Line @@ -753,10 +693,10 @@ SPI_IO2 Text Label 2200 6400 0 50 ~ 0 SPI_CS $Comp -L power:+3V3 #PWR024 +L power:+3V3 #PWR026 U 1 1 5BE34C74 P 6550 1450 -F 0 "#PWR024" H 6550 1300 50 0001 C CNN +F 0 "#PWR026" H 6550 1300 50 0001 C CNN F 1 "+3V3" H 6565 1623 50 0000 C CNN F 2 "" H 6550 1450 50 0001 C CNN F 3 "" H 6550 1450 50 0001 C CNN @@ -765,19 +705,6 @@ F 3 "" H 6550 1450 50 0001 C CNN $EndComp Wire Wire Line 6050 1800 6050 1950 -$Comp -L power:+3V3 #PWR037 -U 1 1 5BE38AB4 -P 9450 2750 -F 0 "#PWR037" H 9450 2600 50 0001 C CNN -F 1 "+3V3" H 9465 2923 50 0000 C CNN -F 2 "" H 9450 2750 50 0001 C CNN -F 3 "" H 9450 2750 50 0001 C CNN - 1 9450 2750 - 1 0 0 -1 -$EndComp -Wire Wire Line - 9450 2750 9450 2850 Wire Wire Line 9750 1100 9750 1200 $Comp @@ -804,10 +731,10 @@ Wire Wire Line Wire Wire Line 5650 2850 5500 2850 $Comp -L power:GND #PWR039 +L power:GND #PWR040 U 1 1 5BE564F6 P 10500 5300 -F 0 "#PWR039" H 10500 5050 50 0001 C CNN +F 0 "#PWR040" H 10500 5050 50 0001 C CNN F 1 "GND" H 10505 5127 50 0000 C CNN F 2 "" H 10500 5300 50 0001 C CNN F 3 "" H 10500 5300 50 0001 C CNN @@ -819,10 +746,10 @@ Wire Wire Line Wire Wire Line 10500 5100 10500 5300 $Comp -L power:+1V2 #PWR033 +L power:+1V2 #PWR035 U 1 1 5BE5AB61 P 8800 4250 -F 0 "#PWR033" H 8800 4100 50 0001 C CNN +F 0 "#PWR035" H 8800 4100 50 0001 C CNN F 1 "+1V2" H 8815 4423 50 0000 C CNN F 2 "" H 8800 4250 50 0001 C CNN F 3 "" H 8800 4250 50 0001 C CNN @@ -830,10 +757,10 @@ F 3 "" H 8800 4250 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L power:+1V2 #PWR032 +L power:+1V2 #PWR034 U 1 1 5BE5ABB7 P 8350 5000 -F 0 "#PWR032" H 8350 4850 50 0001 C CNN +F 0 "#PWR034" H 8350 4850 50 0001 C CNN F 1 "+1V2" H 8365 5173 50 0000 C CNN F 2 "" H 8350 5000 50 0001 C CNN F 3 "" H 8350 5000 50 0001 C CNN @@ -841,10 +768,10 @@ F 3 "" H 8350 5000 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L power:+2V5 #PWR034 +L power:+2V5 #PWR036 U 1 1 5BE5AC1B P 8950 5350 -F 0 "#PWR034" H 8950 5200 50 0001 C CNN +F 0 "#PWR036" H 8950 5200 50 0001 C CNN F 1 "+2V5" H 8965 5523 50 0000 C CNN F 2 "" H 8950 5350 50 0001 C CNN F 3 "" H 8950 5350 50 0001 C CNN @@ -1116,12 +1043,12 @@ Connection ~ 3600 6750 Wire Wire Line 3600 6750 3700 6750 $Comp -L Connector_Generic:Conn_01x06 J1 +L Connector_Generic:Conn_01x06 J2 U 1 1 5C15CDE7 P 2550 5400 -F 0 "J1" V 2600 5000 50 0000 R CNN +F 0 "J2" V 2600 5000 50 0000 R CNN F 1 "Debug Header" V 2650 5650 50 0000 R CNN -F 2 "" H 2550 5400 50 0001 C CNN +F 2 "Pin_Headers:Pin_Header_Angled_1x10_Pitch2.54mm" H 2550 5400 50 0001 C CNN F 3 "" H 2550 5400 50 0001 C CNN F 4 "DNP" V 2550 5400 50 0001 C CNN "MPN" F 5 "DNP" V 2550 5400 50 0001 C CNN "Manufacturer" @@ -1202,10 +1129,10 @@ Wire Wire Line Wire Wire Line 7950 2400 7850 2400 $Comp -L power:GND #PWR027 +L power:GND #PWR029 U 1 1 5C20065F P 7400 3000 -F 0 "#PWR027" H 7400 2750 50 0001 C CNN +F 0 "#PWR029" H 7400 2750 50 0001 C CNN F 1 "GND" H 7405 2827 50 0000 C CNN F 2 "" H 7400 3000 50 0001 C CNN F 3 "" H 7400 3000 50 0001 C CNN @@ -1319,10 +1246,10 @@ F 6 "DNP" H 0 0 50 0001 C CNN "Manufacturer" 0 -1 -1 0 $EndComp $Comp -L power:GND #PWR021 +L power:GND #PWR023 U 1 1 5C3C4455 P 5400 7200 -F 0 "#PWR021" H 5400 6950 50 0001 C CNN +F 0 "#PWR023" H 5400 6950 50 0001 C CNN F 1 "GND" H 5405 7027 50 0000 C CNN F 2 "" H 5400 7200 50 0001 C CNN F 3 "" H 5400 7200 50 0001 C CNN @@ -1334,8 +1261,6 @@ Wire Wire Line Connection ~ 3650 6950 Wire Wire Line 3650 6950 3550 6950 -Wire Wire Line - 1700 6400 3550 6400 $Comp L Device:R_Small R6 U 1 1 5C41A61D @@ -1372,10 +1297,10 @@ Wire Wire Line Wire Wire Line 2000 1300 2350 1300 $Comp -L power:+3V3 #PWR020 +L power:+3V3 #PWR022 U 1 1 5C488914 P 5400 6700 -F 0 "#PWR020" H 5400 6550 50 0001 C CNN +F 0 "#PWR022" H 5400 6550 50 0001 C CNN F 1 "+3V3" H 5415 6873 50 0000 C CNN F 2 "" H 5400 6700 50 0001 C CNN F 3 "" H 5400 6700 50 0001 C CNN @@ -1430,10 +1355,10 @@ F 6 "ANY" H 0 150 50 0001 C CNN "Manufacturer" 1 0 0 -1 $EndComp $Comp -L power:GND #PWR031 +L power:GND #PWR033 U 1 1 5C5B4C14 P 8250 5600 -F 0 "#PWR031" H 8250 5350 50 0001 C CNN +F 0 "#PWR033" H 8250 5350 50 0001 C CNN F 1 "GND" H 8255 5427 50 0000 C CNN F 2 "" H 8250 5600 50 0001 C CNN F 3 "" H 8250 5600 50 0001 C CNN @@ -1455,10 +1380,10 @@ F 6 "ANY" H -250 0 50 0001 C CNN "Manufacturer" 1 0 0 -1 $EndComp $Comp -L power:GND #PWR035 +L power:GND #PWR037 U 1 1 5C5F2015 P 9150 6050 -F 0 "#PWR035" H 9150 5800 50 0001 C CNN +F 0 "#PWR037" H 9150 5800 50 0001 C CNN F 1 "GND" H 9155 5877 50 0000 C CNN F 2 "" H 9150 6050 50 0001 C CNN F 3 "" H 9150 6050 50 0001 C CNN @@ -1586,10 +1511,10 @@ Connection ~ 5950 1650 Wire Wire Line 5950 1650 5700 1650 $Comp -L power:GND #PWR022 +L power:GND #PWR024 U 1 1 5C78A49F P 5700 1750 -F 0 "#PWR022" H 5700 1500 50 0001 C CNN +F 0 "#PWR024" H 5700 1500 50 0001 C CNN F 1 "GND" H 5705 1577 50 0000 C CNN F 2 "" H 5700 1750 50 0001 C CNN F 3 "" H 5700 1750 50 0001 C CNN @@ -1603,10 +1528,10 @@ Wire Wire Line 5700 1650 5600 1650 Connection ~ 6550 1450 $Comp -L power:+3V3 #PWR038 +L power:+3V3 #PWR039 U 1 1 5C7EE938 P 10200 750 -F 0 "#PWR038" H 10200 600 50 0001 C CNN +F 0 "#PWR039" H 10200 600 50 0001 C CNN F 1 "+3V3" H 10215 923 50 0000 C CNN F 2 "" H 10200 750 50 0001 C CNN F 3 "" H 10200 750 50 0001 C CNN @@ -1674,10 +1599,10 @@ Wire Wire Line Wire Wire Line 9750 1100 10200 1100 $Comp -L power:GND #PWR036 +L power:GND #PWR038 U 1 1 5C881269 P 9400 1050 -F 0 "#PWR036" H 9400 800 50 0001 C CNN +F 0 "#PWR038" H 9400 800 50 0001 C CNN F 1 "GND" H 9405 877 50 0000 C CNN F 2 "" H 9400 1050 50 0001 C CNN F 3 "" H 9400 1050 50 0001 C CNN @@ -1690,10 +1615,10 @@ Connection ~ 9400 950 Wire Wire Line 9400 950 9250 950 $Comp -L power:+3V3 #PWR017 +L power:+3V3 #PWR019 U 1 1 5C8902A4 P 4250 4250 -F 0 "#PWR017" H 4250 4100 50 0001 C CNN +F 0 "#PWR019" H 4250 4100 50 0001 C CNN F 1 "+3V3" H 4265 4423 50 0000 C CNN F 2 "" H 4250 4250 50 0001 C CNN F 3 "" H 4250 4250 50 0001 C CNN @@ -1751,10 +1676,10 @@ Wire Wire Line 5400 4550 5050 4550 Connection ~ 5050 4550 $Comp -L power:GND #PWR023 +L power:GND #PWR025 U 1 1 5C8902C6 P 5750 4800 -F 0 "#PWR023" H 5750 4550 50 0001 C CNN +F 0 "#PWR025" H 5750 4550 50 0001 C CNN F 1 "GND" H 5755 4627 50 0000 C CNN F 2 "" H 5750 4800 50 0001 C CNN F 3 "" H 5750 4800 50 0001 C CNN @@ -1834,10 +1759,10 @@ F 6 "ANY" H 6300 2050 50 0001 C CNN "MYPN" 1 0 0 -1 $EndComp $Comp -L power:+5V #PWR025 +L power:+5V #PWR027 U 1 1 5BDC817E P 7200 4250 -F 0 "#PWR025" H 7200 4100 50 0001 C CNN +F 0 "#PWR027" H 7200 4100 50 0001 C CNN F 1 "+5V" H 7215 4423 50 0000 C CNN F 2 "" H 7200 4250 50 0001 C CNN F 3 "" H 7200 4250 50 0001 C CNN @@ -1845,10 +1770,10 @@ F 3 "" H 7200 4250 50 0001 C CNN 1 0 0 -1 $EndComp $Comp -L power:GND #PWR026 +L power:GND #PWR028 U 1 1 5BDC8269 P 7200 4900 -F 0 "#PWR026" H 7200 4650 50 0001 C CNN +F 0 "#PWR028" H 7200 4650 50 0001 C CNN F 1 "GND" H 7205 4727 50 0000 C CNN F 2 "" H 7200 4900 50 0001 C CNN F 3 "" H 7200 4900 50 0001 C CNN @@ -1973,10 +1898,10 @@ F 6 "XC2756CT-ND" H 4600 2950 50 0001 C CNN "DPN" -1 0 0 1 $EndComp $Comp -L power:+3V3 #PWR015 +L power:+3V3 #PWR017 U 1 1 5C122FDC P 4000 2950 -F 0 "#PWR015" H 4000 2800 50 0001 C CNN +F 0 "#PWR017" H 4000 2800 50 0001 C CNN F 1 "+3V3" H 4015 3123 50 0000 C CNN F 2 "" H 4000 2950 50 0001 C CNN F 3 "" H 4000 2950 50 0001 C CNN @@ -1990,10 +1915,10 @@ Wire Wire Line Wire Wire Line 4250 3000 4150 3000 $Comp -L power:GND #PWR016 +L power:GND #PWR018 U 1 1 5C14AAB7 P 4050 3350 -F 0 "#PWR016" H 4050 3100 50 0001 C CNN +F 0 "#PWR018" H 4050 3100 50 0001 C CNN F 1 "GND" H 4055 3177 50 0000 C CNN F 2 "" H 4050 3350 50 0001 C CNN F 3 "" H 4050 3350 50 0001 C CNN @@ -2070,4 +1995,143 @@ Wire Wire Line Connection ~ 4150 3200 Wire Wire Line 4150 3200 4250 3200 +Wire Wire Line + 1800 6250 3700 6250 +Wire Wire Line + 1700 6400 3550 6400 +Wire Wire Line + 1700 6750 1700 7300 +Wire Wire Line + 1700 5800 2050 5800 +Text Label 1700 5700 0 50 ~ 0 +SPI_MOSI +Wire Wire Line + 1700 5700 2050 5700 +Wire Wire Line + 1700 5600 2050 5600 +Wire Wire Line + 1700 5500 2050 5500 +Wire Wire Line + 1700 5400 2050 5400 +Wire Wire Line + 1700 5300 2050 5300 +Text Label 3550 5350 1 50 ~ 0 +CRESET +Text Label 1700 5600 0 50 ~ 0 +SPI_MISO +Text Label 1700 5500 0 50 ~ 0 +SPI_CS +Text Label 1700 5400 0 50 ~ 0 +SPI_CLK +Text Label 1700 5000 0 50 ~ 0 +CRESET +$Comp +L Connector_Generic:Conn_01x10 J1 +U 1 1 5BE9A52F +P 1500 5400 +F 0 "J1" H 1420 4675 50 0000 C CNN +F 1 "SPI Header" H 1420 4766 50 0000 C CNN +F 2 "Pin_Headers:Pin_Header_Angled_1x06_Pitch2.54mm" H 1500 5400 50 0001 C CNN +F 3 "~" H 1500 5400 50 0001 C CNN + 1 1500 5400 + -1 0 0 1 +$EndComp +Text Label 1700 5300 0 50 ~ 0 +SPI_IO2 +Text Label 1700 5200 0 50 ~ 0 +SPI_IO3 +Text Label 4750 5350 0 50 ~ 0 +CDONE +Text Label 1700 5100 0 50 ~ 0 +CDONE +$Comp +L power:GND #PWR010 +U 1 1 5BE9B13D +P 2050 5850 +F 0 "#PWR010" H 2050 5600 50 0001 C CNN +F 1 "GND" H 2055 5677 50 0000 C CNN +F 2 "" H 2050 5850 50 0001 C CNN +F 3 "" H 2050 5850 50 0001 C CNN + 1 2050 5850 + 1 0 0 -1 +$EndComp +Wire Wire Line + 2050 5800 2050 5850 +$Comp +L power:+5V #PWR09 +U 1 1 5BEC9BC0 +P 2050 4850 +F 0 "#PWR09" H 2050 4700 50 0001 C CNN +F 1 "+5V" H 2065 5023 50 0000 C CNN +F 2 "" H 2050 4850 50 0001 C CNN +F 3 "" H 2050 4850 50 0001 C CNN + 1 2050 4850 + 1 0 0 -1 +$EndComp +Wire Wire Line + 2050 4850 2050 4900 +Wire Wire Line + 2050 4900 1700 4900 +Wire Wire Line + 1700 5000 2050 5000 +Wire Wire Line + 1700 5200 2050 5200 +Wire Wire Line + 1700 5100 2050 5100 +$Comp +L tomu-fpga:ICE40UP5K-SG48ITR U5 +U 2 1 5C122971 +P 4200 6050 +F 0 "U5" H 3900 5000 50 0000 C CNN +F 1 "ICE40UP5K-SG48I" H 4150 4900 50 0000 C CNN +F 2 "Package_DFN_QFN:QFN-48-1EP_7x7mm_P0.5mm_EP5.6x5.6mm" H 4200 4700 50 0001 C CNN +F 3 "http://www.latticesemi.com/Products/FPGAandCPLD/iCE40Ultra" H 3800 7050 50 0001 C CNN +F 4 "ICE40UP5K-SG48I" H 4200 6050 50 0001 C CNN "MPN" +F 5 "Lattice" H 4200 6050 50 0001 C CNN "Manufacturer" +F 6 "220-2212-1-ND" H 4200 6050 50 0001 C CNN "DPN" + 2 4200 6050 + 1 0 0 -1 +$EndComp +$Comp +L tomu-fpga:ICE40UP5K-SG48ITR U5 +U 3 1 5C122A3A +P 6050 2650 +F 0 "U5" H 5750 2000 50 0000 L CNN +F 1 "ICE40UP5K-SG48I" H 5750 1900 50 0000 L CNN +F 2 "Package_DFN_QFN:QFN-48-1EP_7x7mm_P0.5mm_EP5.6x5.6mm" H 6050 1300 50 0001 C CNN +F 3 "http://www.latticesemi.com/Products/FPGAandCPLD/iCE40Ultra" H 5650 3650 50 0001 C CNN +F 4 "ICE40UP5K-SG48I" H 0 0 50 0001 C CNN "MPN" +F 5 "220-2212-1-ND" H 0 0 50 0001 C CNN "DPN" +F 6 "Lattice" H 0 0 50 0001 C CNN "Manufacturer" + 3 6050 2650 + 1 0 0 -1 +$EndComp +$Comp +L tomu-fpga:ICE40UP5K-SG48ITR U5 +U 4 1 5C122B60 +P 9650 5100 +F 0 "U5" V 9500 4700 50 0000 C CNN +F 1 "ICE40UP5K-SG48I" V 9400 5050 50 0000 C CNN +F 2 "Package_DFN_QFN:QFN-48-1EP_7x7mm_P0.5mm_EP5.6x5.6mm" H 9650 3750 50 0001 C CNN +F 3 "http://www.latticesemi.com/Products/FPGAandCPLD/iCE40Ultra" H 9250 6100 50 0001 C CNN +F 4 "ICE40UP5K-SG48I" H 0 0 50 0001 C CNN "MPN" +F 5 "220-2212-1-ND" H 0 0 50 0001 C CNN "DPN" +F 6 "Lattice" H 0 0 50 0001 C CNN "Manufacturer" + 4 9650 5100 + 0 -1 -1 0 +$EndComp +$Comp +L tomu-fpga:ICE40UP5K-SG48ITR U5 +U 1 1 5C1225F9 +P 9750 2300 +F 0 "U5" H 9450 1150 50 0000 L CNN +F 1 "ICE40UP5K-SG48I" H 9450 1050 50 0000 L CNN +F 2 "Package_DFN_QFN:QFN-48-1EP_7x7mm_P0.5mm_EP5.6x5.6mm" H 9750 950 50 0001 C CNN +F 3 "http://www.latticesemi.com/Products/FPGAandCPLD/iCE40Ultra" H 9350 3300 50 0001 C CNN +F 4 "ICE40UP5K-SG48I" H 0 0 50 0001 C CNN "MPN" +F 5 "220-2212-1-ND" H 0 0 50 0001 C CNN "DPN" +F 6 "Lattice" H 0 0 50 0001 C CNN "Manufacturer" + 1 9750 2300 + 1 0 0 -1 +$EndComp $EndSCHEMATC