diff --git a/blinkey.bak b/blinkey.bak index c5da785..2bff2d0 100644 --- a/blinkey.bak +++ b/blinkey.bak @@ -632,8 +632,8 @@ Text Label 4750 3950 0 60 ~ 0 ALED7 Text Notes 4600 4300 0 60 ~ 0 LEDs connected to\nBANK7 on "gpio" sheet -Text Notes 2900 4300 0 60 ~ 0 -Buttons connected to\nBANK8 on "flash" sheet +Text Notes 2100 4400 0 60 ~ 0 +BTN_U,R to BANK2,3 on "ram" sheet\nBTN_F1,F2,D,L to BANK8 on "flash" sheet $Comp L DIL8 SW1 U 1 1 595B94DC diff --git a/blinkey.sch b/blinkey.sch index c5da785..399b6f1 100644 --- a/blinkey.sch +++ b/blinkey.sch @@ -632,8 +632,8 @@ Text Label 4750 3950 0 60 ~ 0 ALED7 Text Notes 4600 4300 0 60 ~ 0 LEDs connected to\nBANK7 on "gpio" sheet -Text Notes 2900 4300 0 60 ~ 0 -Buttons connected to\nBANK8 on "flash" sheet +Text Notes 2100 4400 0 60 ~ 0 +BTN_R,U to BANK2,3 on "ram" sheet\nBTN_F1,F2,D,L to BANK8 on "flash" sheet $Comp L DIL8 SW1 U 1 1 595B94DC diff --git a/flash.bak b/flash.bak index bde2da9..0948197 100644 --- a/flash.bak +++ b/flash.bak @@ -117,177 +117,177 @@ FLASH_MISO Text Label 3250 2700 0 60 ~ 0 FLASH_MOSI Wire Wire Line - 4800 2450 5650 2450 -Text Label 4850 2450 0 60 ~ 0 + 4650 2450 5650 2450 +Text Label 4700 2450 0 60 ~ 0 FLASH_MISO Wire Wire Line 7150 2450 8150 2450 Text Label 7550 2450 0 60 ~ 0 FLASH_MOSI Wire Wire Line - 5650 2650 4800 2650 -Text Label 4850 2650 0 60 ~ 0 + 5650 2650 4650 2650 +Text Label 4700 2650 0 60 ~ 0 FLASH_nCS $Comp L R R27 U 1 1 58EC0EFE -P 3950 1400 -F 0 "R27" V 4030 1400 50 0000 C CNN -F 1 "10k" V 3950 1400 50 0000 C CNN -F 2 "Resistors_SMD:R_0603_HandSoldering" V 3880 1400 50 0001 C CNN -F 3 "" H 3950 1400 50 0000 C CNN - 1 3950 1400 +P 2700 1250 +F 0 "R27" V 2780 1250 50 0000 C CNN +F 1 "10k" V 2700 1250 50 0000 C CNN +F 2 "Resistors_SMD:R_0603_HandSoldering" V 2630 1250 50 0001 C CNN +F 3 "" H 2700 1250 50 0000 C CNN + 1 2700 1250 1 0 0 -1 $EndComp Wire Wire Line - 3950 1550 3950 2250 -Text Label 3950 2200 1 60 ~ 0 + 2700 1400 2700 2100 +Text Label 2700 2050 1 60 ~ 0 FLASH_MOSI $Comp L +3V3 #PWR0125 U 1 1 58EC0F61 -P 3950 1250 -F 0 "#PWR0125" H 3950 1100 50 0001 C CNN -F 1 "+3V3" H 3950 1390 50 0000 C CNN -F 2 "" H 3950 1250 50 0000 C CNN -F 3 "" H 3950 1250 50 0000 C CNN - 1 3950 1250 +P 2700 1100 +F 0 "#PWR0125" H 2700 950 50 0001 C CNN +F 1 "+3V3" H 2700 1240 50 0000 C CNN +F 2 "" H 2700 1100 50 0000 C CNN +F 3 "" H 2700 1100 50 0000 C CNN + 1 2700 1100 1 0 0 -1 $EndComp $Comp L R R28 U 1 1 58EC0F8E -P 4150 1400 -F 0 "R28" V 4230 1400 50 0000 C CNN -F 1 "10k" V 4150 1400 50 0000 C CNN -F 2 "Resistors_SMD:R_0603_HandSoldering" V 4080 1400 50 0001 C CNN -F 3 "" H 4150 1400 50 0000 C CNN - 1 4150 1400 +P 2900 1250 +F 0 "R28" V 2980 1250 50 0000 C CNN +F 1 "10k" V 2900 1250 50 0000 C CNN +F 2 "Resistors_SMD:R_0603_HandSoldering" V 2830 1250 50 0001 C CNN +F 3 "" H 2900 1250 50 0000 C CNN + 1 2900 1250 1 0 0 -1 $EndComp Wire Wire Line - 4150 1550 4150 2250 -Text Label 4150 2200 1 60 ~ 0 + 2900 1400 2900 2100 +Text Label 2900 2050 1 60 ~ 0 FLASH_MISO $Comp L +3V3 #PWR0126 U 1 1 58EC0F96 -P 4150 1250 -F 0 "#PWR0126" H 4150 1100 50 0001 C CNN -F 1 "+3V3" H 4150 1390 50 0000 C CNN -F 2 "" H 4150 1250 50 0000 C CNN -F 3 "" H 4150 1250 50 0000 C CNN - 1 4150 1250 +P 2900 1100 +F 0 "#PWR0126" H 2900 950 50 0001 C CNN +F 1 "+3V3" H 2900 1240 50 0000 C CNN +F 2 "" H 2900 1100 50 0000 C CNN +F 3 "" H 2900 1100 50 0000 C CNN + 1 2900 1100 1 0 0 -1 $EndComp $Comp L R R29 U 1 1 58EC15E1 -P 4350 1400 -F 0 "R29" V 4430 1400 50 0000 C CNN -F 1 "1k" V 4350 1400 50 0000 C CNN -F 2 "Resistors_SMD:R_0603_HandSoldering" V 4280 1400 50 0001 C CNN -F 3 "" H 4350 1400 50 0000 C CNN - 1 4350 1400 +P 3100 1250 +F 0 "R29" V 3180 1250 50 0000 C CNN +F 1 "1k" V 3100 1250 50 0000 C CNN +F 2 "Resistors_SMD:R_0603_HandSoldering" V 3030 1250 50 0001 C CNN +F 3 "" H 3100 1250 50 0000 C CNN + 1 3100 1250 1 0 0 -1 $EndComp Wire Wire Line - 4350 1550 4350 2250 -Text Label 4350 2200 1 60 ~ 0 + 3100 1400 3100 2100 +Text Label 3100 2050 1 60 ~ 0 FLASH_SCK $Comp L +3V3 #PWR0127 U 1 1 58EC15E9 -P 4350 1250 -F 0 "#PWR0127" H 4350 1100 50 0001 C CNN -F 1 "+3V3" H 4350 1390 50 0000 C CNN -F 2 "" H 4350 1250 50 0000 C CNN -F 3 "" H 4350 1250 50 0000 C CNN - 1 4350 1250 +P 3100 1100 +F 0 "#PWR0127" H 3100 950 50 0001 C CNN +F 1 "+3V3" H 3100 1240 50 0000 C CNN +F 2 "" H 3100 1100 50 0000 C CNN +F 3 "" H 3100 1100 50 0000 C CNN + 1 3100 1100 1 0 0 -1 $EndComp Wire Wire Line - 4800 3050 5650 3050 -Text Label 4850 3050 0 60 ~ 0 + 4650 3050 5650 3050 +Text Label 4700 3050 0 60 ~ 0 FLASH_SCK $Comp L R R30 U 1 1 58EC1C84 -P 4550 1400 -F 0 "R30" V 4630 1400 50 0000 C CNN -F 1 "4.7k" V 4550 1400 50 0000 C CNN -F 2 "Resistors_SMD:R_0603_HandSoldering" V 4480 1400 50 0001 C CNN -F 3 "" H 4550 1400 50 0000 C CNN - 1 4550 1400 +P 3300 1250 +F 0 "R30" V 3380 1250 50 0000 C CNN +F 1 "4.7k" V 3300 1250 50 0000 C CNN +F 2 "Resistors_SMD:R_0603_HandSoldering" V 3230 1250 50 0001 C CNN +F 3 "" H 3300 1250 50 0000 C CNN + 1 3300 1250 1 0 0 -1 $EndComp Wire Wire Line - 4550 1550 4550 2250 -Text Label 4550 2200 1 60 ~ 0 + 3300 1400 3300 2100 +Text Label 3300 2050 1 60 ~ 0 FLASH_nCS $Comp L +3V3 #PWR0128 U 1 1 58EC1C8C -P 4550 1250 -F 0 "#PWR0128" H 4550 1100 50 0001 C CNN -F 1 "+3V3" H 4550 1390 50 0000 C CNN -F 2 "" H 4550 1250 50 0000 C CNN -F 3 "" H 4550 1250 50 0000 C CNN - 1 4550 1250 +P 3300 1100 +F 0 "#PWR0128" H 3300 950 50 0001 C CNN +F 1 "+3V3" H 3300 1240 50 0000 C CNN +F 2 "" H 3300 1100 50 0000 C CNN +F 3 "" H 3300 1100 50 0000 C CNN + 1 3300 1100 1 0 0 -1 $EndComp -Text Notes 3800 950 0 60 ~ 0 +Text Notes 1850 850 0 60 ~ 0 pullups for Master SPI (MSPI) required by\nTN1260: lattice ECP5 sysCONFIG guide p.6 $Comp L R R11 U 1 1 58EC4E77 -P 1150 1350 -F 0 "R11" V 1230 1350 50 0000 C CNN -F 1 "10k" V 1150 1350 50 0000 C CNN -F 2 "Resistors_SMD:R_0603_HandSoldering" V 1080 1350 50 0001 C CNN -F 3 "" H 1150 1350 50 0000 C CNN - 1 1150 1350 +P 2300 1250 +F 0 "R11" V 2380 1250 50 0000 C CNN +F 1 "10k" V 2300 1250 50 0000 C CNN +F 2 "Resistors_SMD:R_0603_HandSoldering" V 2230 1250 50 0001 C CNN +F 3 "" H 2300 1250 50 0000 C CNN + 1 2300 1250 1 0 0 -1 $EndComp Wire Wire Line - 1150 1500 1150 2200 -Text Label 1150 2150 1 60 ~ 0 + 2300 1400 2300 2100 +Text Label 2300 2050 1 60 ~ 0 FLASH_nWP $Comp L +3V3 #PWR0129 U 1 1 58EC4E7F -P 1150 1200 -F 0 "#PWR0129" H 1150 1050 50 0001 C CNN -F 1 "+3V3" H 1150 1340 50 0000 C CNN -F 2 "" H 1150 1200 50 0000 C CNN -F 3 "" H 1150 1200 50 0000 C CNN - 1 1150 1200 +P 2300 1100 +F 0 "#PWR0129" H 2300 950 50 0001 C CNN +F 1 "+3V3" H 2300 1240 50 0000 C CNN +F 2 "" H 2300 1100 50 0000 C CNN +F 3 "" H 2300 1100 50 0000 C CNN + 1 2300 1100 1 0 0 -1 $EndComp $Comp L R R12 U 1 1 58EC4E85 -P 1350 1350 -F 0 "R12" V 1430 1350 50 0000 C CNN -F 1 "10k" V 1350 1350 50 0000 C CNN -F 2 "Resistors_SMD:R_0603_HandSoldering" V 1280 1350 50 0001 C CNN -F 3 "" H 1350 1350 50 0000 C CNN - 1 1350 1350 +P 2500 1250 +F 0 "R12" V 2580 1250 50 0000 C CNN +F 1 "10k" V 2500 1250 50 0000 C CNN +F 2 "Resistors_SMD:R_0603_HandSoldering" V 2430 1250 50 0001 C CNN +F 3 "" H 2500 1250 50 0000 C CNN + 1 2500 1250 1 0 0 -1 $EndComp Wire Wire Line - 1350 1500 1350 2200 -Text Label 1350 2150 1 60 ~ 0 + 2500 1400 2500 2100 +Text Label 2500 2050 1 60 ~ 0 FLASH_nHOLD $Comp L +3V3 #PWR0130 U 1 1 58EC4E8D -P 1350 1200 -F 0 "#PWR0130" H 1350 1050 50 0001 C CNN -F 1 "+3V3" H 1350 1340 50 0000 C CNN -F 2 "" H 1350 1200 50 0000 C CNN -F 3 "" H 1350 1200 50 0000 C CNN - 1 1350 1200 +P 2500 1100 +F 0 "#PWR0130" H 2500 950 50 0001 C CNN +F 1 "+3V3" H 2500 1240 50 0000 C CNN +F 2 "" H 2500 1100 50 0000 C CNN +F 3 "" H 2500 1100 50 0000 C CNN + 1 2500 1100 1 0 0 -1 $EndComp $Comp @@ -328,12 +328,12 @@ Wire Wire Line Text Notes 3750 3650 0 60 ~ 0 CFG select Master SPI (MSPI)\nTN1260: lattice ECP5 sysCONFIG guide p.17 Wire Wire Line - 4800 3150 5650 3150 + 4650 3150 5650 3150 Wire Wire Line - 5650 2850 4800 2850 -Text Label 4850 2850 0 60 ~ 0 + 5650 2850 4650 2850 +Text Label 4700 2850 0 60 ~ 0 FPGA_PROGRAMN -Text Label 4850 3150 0 60 ~ 0 +Text Label 4700 3150 0 60 ~ 0 FPGA_DONE $Comp L R R31 @@ -388,8 +388,8 @@ F 3 "" H 9050 2550 50 0000 C CNN 1 0 0 -1 $EndComp Wire Wire Line - 4800 2750 5650 2750 -Text Label 4850 2750 0 60 ~ 0 + 4650 2750 5650 2750 +Text Label 4700 2750 0 60 ~ 0 FPGA_INITN $Comp L R R33 @@ -454,28 +454,24 @@ Text GLabel 5650 2150 0 60 Input ~ 0 BTN_F1 Text GLabel 7150 2150 2 60 Input ~ 0 BTN_F2 -Text GLabel 5650 2350 0 60 Input ~ 0 -BTN_U Text GLabel 7150 2250 2 60 Input ~ 0 BTN_D Text GLabel 5650 2250 0 60 Input ~ 0 BTN_L -Text GLabel 7150 2350 2 60 Input ~ 0 -BTN_R Text Notes 8350 2300 0 60 ~ 0 pullups to allow entering USER mode\nTN1260: lattice ECP5 sysCONFIG guide p.6, p.8, p.13 $Comp L R R55 U 1 1 59DEB568 -P 4650 3150 -F 0 "R55" V 4730 3150 50 0000 C CNN -F 1 "15k" V 4650 3150 50 0000 C CNN -F 2 "Resistors_SMD:R_0603_HandSoldering" V 4580 3150 50 0001 C CNN -F 3 "" H 4650 3150 50 0000 C CNN - 1 4650 3150 +P 4500 3150 +F 0 "R55" V 4580 3150 50 0000 C CNN +F 1 "15k" V 4500 3150 50 0000 C CNN +F 2 "Resistors_SMD:R_0603_HandSoldering" V 4430 3150 50 0001 C CNN +F 3 "" H 4500 3150 50 0000 C CNN + 1 4500 3150 0 1 1 0 $EndComp -Text GLabel 4500 3150 0 60 Input ~ 0 +Text GLabel 4350 3150 0 60 Input ~ 0 PROG_DONE $Comp L LFE5U-45F-6BG381C-RESCUE-ulx3s U1 @@ -491,4 +487,14 @@ F 4 "www.mouser.com" H 6400 2850 60 0001 C CNN "Distributor1_URL" $EndComp Text Notes 1500 3500 0 60 ~ 0 For programming Flash thru JTAG see\nLattice FPGA-TN-02050 +Text Notes 8600 2400 0 60 ~ 0 +WPn +Wire Wire Line + 7150 2350 8150 2350 +Wire Wire Line + 5650 2350 4650 2350 +Text Label 4700 2350 0 60 ~ 0 +FLASH_nHOLD +Text Label 7550 2350 0 60 ~ 0 +FLASH_nWP $EndSCHEMATC diff --git a/flash.sch b/flash.sch index bde2da9..0948197 100644 --- a/flash.sch +++ b/flash.sch @@ -117,177 +117,177 @@ FLASH_MISO Text Label 3250 2700 0 60 ~ 0 FLASH_MOSI Wire Wire Line - 4800 2450 5650 2450 -Text Label 4850 2450 0 60 ~ 0 + 4650 2450 5650 2450 +Text Label 4700 2450 0 60 ~ 0 FLASH_MISO Wire Wire Line 7150 2450 8150 2450 Text Label 7550 2450 0 60 ~ 0 FLASH_MOSI Wire Wire Line - 5650 2650 4800 2650 -Text Label 4850 2650 0 60 ~ 0 + 5650 2650 4650 2650 +Text Label 4700 2650 0 60 ~ 0 FLASH_nCS $Comp L R R27 U 1 1 58EC0EFE -P 3950 1400 -F 0 "R27" V 4030 1400 50 0000 C CNN -F 1 "10k" V 3950 1400 50 0000 C CNN -F 2 "Resistors_SMD:R_0603_HandSoldering" V 3880 1400 50 0001 C CNN -F 3 "" H 3950 1400 50 0000 C CNN - 1 3950 1400 +P 2700 1250 +F 0 "R27" V 2780 1250 50 0000 C CNN +F 1 "10k" V 2700 1250 50 0000 C CNN +F 2 "Resistors_SMD:R_0603_HandSoldering" V 2630 1250 50 0001 C CNN +F 3 "" H 2700 1250 50 0000 C CNN + 1 2700 1250 1 0 0 -1 $EndComp Wire Wire Line - 3950 1550 3950 2250 -Text Label 3950 2200 1 60 ~ 0 + 2700 1400 2700 2100 +Text Label 2700 2050 1 60 ~ 0 FLASH_MOSI $Comp L +3V3 #PWR0125 U 1 1 58EC0F61 -P 3950 1250 -F 0 "#PWR0125" H 3950 1100 50 0001 C CNN -F 1 "+3V3" H 3950 1390 50 0000 C CNN -F 2 "" H 3950 1250 50 0000 C CNN -F 3 "" H 3950 1250 50 0000 C CNN - 1 3950 1250 +P 2700 1100 +F 0 "#PWR0125" H 2700 950 50 0001 C CNN +F 1 "+3V3" H 2700 1240 50 0000 C CNN +F 2 "" H 2700 1100 50 0000 C CNN +F 3 "" H 2700 1100 50 0000 C CNN + 1 2700 1100 1 0 0 -1 $EndComp $Comp L R R28 U 1 1 58EC0F8E -P 4150 1400 -F 0 "R28" V 4230 1400 50 0000 C CNN -F 1 "10k" V 4150 1400 50 0000 C CNN -F 2 "Resistors_SMD:R_0603_HandSoldering" V 4080 1400 50 0001 C CNN -F 3 "" H 4150 1400 50 0000 C CNN - 1 4150 1400 +P 2900 1250 +F 0 "R28" V 2980 1250 50 0000 C CNN +F 1 "10k" V 2900 1250 50 0000 C CNN +F 2 "Resistors_SMD:R_0603_HandSoldering" V 2830 1250 50 0001 C CNN +F 3 "" H 2900 1250 50 0000 C CNN + 1 2900 1250 1 0 0 -1 $EndComp Wire Wire Line - 4150 1550 4150 2250 -Text Label 4150 2200 1 60 ~ 0 + 2900 1400 2900 2100 +Text Label 2900 2050 1 60 ~ 0 FLASH_MISO $Comp L +3V3 #PWR0126 U 1 1 58EC0F96 -P 4150 1250 -F 0 "#PWR0126" H 4150 1100 50 0001 C CNN -F 1 "+3V3" H 4150 1390 50 0000 C CNN -F 2 "" H 4150 1250 50 0000 C CNN -F 3 "" H 4150 1250 50 0000 C CNN - 1 4150 1250 +P 2900 1100 +F 0 "#PWR0126" H 2900 950 50 0001 C CNN +F 1 "+3V3" H 2900 1240 50 0000 C CNN +F 2 "" H 2900 1100 50 0000 C CNN +F 3 "" H 2900 1100 50 0000 C CNN + 1 2900 1100 1 0 0 -1 $EndComp $Comp L R R29 U 1 1 58EC15E1 -P 4350 1400 -F 0 "R29" V 4430 1400 50 0000 C CNN -F 1 "1k" V 4350 1400 50 0000 C CNN -F 2 "Resistors_SMD:R_0603_HandSoldering" V 4280 1400 50 0001 C CNN -F 3 "" H 4350 1400 50 0000 C CNN - 1 4350 1400 +P 3100 1250 +F 0 "R29" V 3180 1250 50 0000 C CNN +F 1 "1k" V 3100 1250 50 0000 C CNN +F 2 "Resistors_SMD:R_0603_HandSoldering" V 3030 1250 50 0001 C CNN +F 3 "" H 3100 1250 50 0000 C CNN + 1 3100 1250 1 0 0 -1 $EndComp Wire Wire Line - 4350 1550 4350 2250 -Text Label 4350 2200 1 60 ~ 0 + 3100 1400 3100 2100 +Text Label 3100 2050 1 60 ~ 0 FLASH_SCK $Comp L +3V3 #PWR0127 U 1 1 58EC15E9 -P 4350 1250 -F 0 "#PWR0127" H 4350 1100 50 0001 C CNN -F 1 "+3V3" H 4350 1390 50 0000 C CNN -F 2 "" H 4350 1250 50 0000 C CNN -F 3 "" H 4350 1250 50 0000 C CNN - 1 4350 1250 +P 3100 1100 +F 0 "#PWR0127" H 3100 950 50 0001 C CNN +F 1 "+3V3" H 3100 1240 50 0000 C CNN +F 2 "" H 3100 1100 50 0000 C CNN +F 3 "" H 3100 1100 50 0000 C CNN + 1 3100 1100 1 0 0 -1 $EndComp Wire Wire Line - 4800 3050 5650 3050 -Text Label 4850 3050 0 60 ~ 0 + 4650 3050 5650 3050 +Text Label 4700 3050 0 60 ~ 0 FLASH_SCK $Comp L R R30 U 1 1 58EC1C84 -P 4550 1400 -F 0 "R30" V 4630 1400 50 0000 C CNN -F 1 "4.7k" V 4550 1400 50 0000 C CNN -F 2 "Resistors_SMD:R_0603_HandSoldering" V 4480 1400 50 0001 C CNN -F 3 "" H 4550 1400 50 0000 C CNN - 1 4550 1400 +P 3300 1250 +F 0 "R30" V 3380 1250 50 0000 C CNN +F 1 "4.7k" V 3300 1250 50 0000 C CNN +F 2 "Resistors_SMD:R_0603_HandSoldering" V 3230 1250 50 0001 C CNN +F 3 "" H 3300 1250 50 0000 C CNN + 1 3300 1250 1 0 0 -1 $EndComp Wire Wire Line - 4550 1550 4550 2250 -Text Label 4550 2200 1 60 ~ 0 + 3300 1400 3300 2100 +Text Label 3300 2050 1 60 ~ 0 FLASH_nCS $Comp L +3V3 #PWR0128 U 1 1 58EC1C8C -P 4550 1250 -F 0 "#PWR0128" H 4550 1100 50 0001 C CNN -F 1 "+3V3" H 4550 1390 50 0000 C CNN -F 2 "" H 4550 1250 50 0000 C CNN -F 3 "" H 4550 1250 50 0000 C CNN - 1 4550 1250 +P 3300 1100 +F 0 "#PWR0128" H 3300 950 50 0001 C CNN +F 1 "+3V3" H 3300 1240 50 0000 C CNN +F 2 "" H 3300 1100 50 0000 C CNN +F 3 "" H 3300 1100 50 0000 C CNN + 1 3300 1100 1 0 0 -1 $EndComp -Text Notes 3800 950 0 60 ~ 0 +Text Notes 1850 850 0 60 ~ 0 pullups for Master SPI (MSPI) required by\nTN1260: lattice ECP5 sysCONFIG guide p.6 $Comp L R R11 U 1 1 58EC4E77 -P 1150 1350 -F 0 "R11" V 1230 1350 50 0000 C CNN -F 1 "10k" V 1150 1350 50 0000 C CNN -F 2 "Resistors_SMD:R_0603_HandSoldering" V 1080 1350 50 0001 C CNN -F 3 "" H 1150 1350 50 0000 C CNN - 1 1150 1350 +P 2300 1250 +F 0 "R11" V 2380 1250 50 0000 C CNN +F 1 "10k" V 2300 1250 50 0000 C CNN +F 2 "Resistors_SMD:R_0603_HandSoldering" V 2230 1250 50 0001 C CNN +F 3 "" H 2300 1250 50 0000 C CNN + 1 2300 1250 1 0 0 -1 $EndComp Wire Wire Line - 1150 1500 1150 2200 -Text Label 1150 2150 1 60 ~ 0 + 2300 1400 2300 2100 +Text Label 2300 2050 1 60 ~ 0 FLASH_nWP $Comp L +3V3 #PWR0129 U 1 1 58EC4E7F -P 1150 1200 -F 0 "#PWR0129" H 1150 1050 50 0001 C CNN -F 1 "+3V3" H 1150 1340 50 0000 C CNN -F 2 "" H 1150 1200 50 0000 C CNN -F 3 "" H 1150 1200 50 0000 C CNN - 1 1150 1200 +P 2300 1100 +F 0 "#PWR0129" H 2300 950 50 0001 C CNN +F 1 "+3V3" H 2300 1240 50 0000 C CNN +F 2 "" H 2300 1100 50 0000 C CNN +F 3 "" H 2300 1100 50 0000 C CNN + 1 2300 1100 1 0 0 -1 $EndComp $Comp L R R12 U 1 1 58EC4E85 -P 1350 1350 -F 0 "R12" V 1430 1350 50 0000 C CNN -F 1 "10k" V 1350 1350 50 0000 C CNN -F 2 "Resistors_SMD:R_0603_HandSoldering" V 1280 1350 50 0001 C CNN -F 3 "" H 1350 1350 50 0000 C CNN - 1 1350 1350 +P 2500 1250 +F 0 "R12" V 2580 1250 50 0000 C CNN +F 1 "10k" V 2500 1250 50 0000 C CNN +F 2 "Resistors_SMD:R_0603_HandSoldering" V 2430 1250 50 0001 C CNN +F 3 "" H 2500 1250 50 0000 C CNN + 1 2500 1250 1 0 0 -1 $EndComp Wire Wire Line - 1350 1500 1350 2200 -Text Label 1350 2150 1 60 ~ 0 + 2500 1400 2500 2100 +Text Label 2500 2050 1 60 ~ 0 FLASH_nHOLD $Comp L +3V3 #PWR0130 U 1 1 58EC4E8D -P 1350 1200 -F 0 "#PWR0130" H 1350 1050 50 0001 C CNN -F 1 "+3V3" H 1350 1340 50 0000 C CNN -F 2 "" H 1350 1200 50 0000 C CNN -F 3 "" H 1350 1200 50 0000 C CNN - 1 1350 1200 +P 2500 1100 +F 0 "#PWR0130" H 2500 950 50 0001 C CNN +F 1 "+3V3" H 2500 1240 50 0000 C CNN +F 2 "" H 2500 1100 50 0000 C CNN +F 3 "" H 2500 1100 50 0000 C CNN + 1 2500 1100 1 0 0 -1 $EndComp $Comp @@ -328,12 +328,12 @@ Wire Wire Line Text Notes 3750 3650 0 60 ~ 0 CFG select Master SPI (MSPI)\nTN1260: lattice ECP5 sysCONFIG guide p.17 Wire Wire Line - 4800 3150 5650 3150 + 4650 3150 5650 3150 Wire Wire Line - 5650 2850 4800 2850 -Text Label 4850 2850 0 60 ~ 0 + 5650 2850 4650 2850 +Text Label 4700 2850 0 60 ~ 0 FPGA_PROGRAMN -Text Label 4850 3150 0 60 ~ 0 +Text Label 4700 3150 0 60 ~ 0 FPGA_DONE $Comp L R R31 @@ -388,8 +388,8 @@ F 3 "" H 9050 2550 50 0000 C CNN 1 0 0 -1 $EndComp Wire Wire Line - 4800 2750 5650 2750 -Text Label 4850 2750 0 60 ~ 0 + 4650 2750 5650 2750 +Text Label 4700 2750 0 60 ~ 0 FPGA_INITN $Comp L R R33 @@ -454,28 +454,24 @@ Text GLabel 5650 2150 0 60 Input ~ 0 BTN_F1 Text GLabel 7150 2150 2 60 Input ~ 0 BTN_F2 -Text GLabel 5650 2350 0 60 Input ~ 0 -BTN_U Text GLabel 7150 2250 2 60 Input ~ 0 BTN_D Text GLabel 5650 2250 0 60 Input ~ 0 BTN_L -Text GLabel 7150 2350 2 60 Input ~ 0 -BTN_R Text Notes 8350 2300 0 60 ~ 0 pullups to allow entering USER mode\nTN1260: lattice ECP5 sysCONFIG guide p.6, p.8, p.13 $Comp L R R55 U 1 1 59DEB568 -P 4650 3150 -F 0 "R55" V 4730 3150 50 0000 C CNN -F 1 "15k" V 4650 3150 50 0000 C CNN -F 2 "Resistors_SMD:R_0603_HandSoldering" V 4580 3150 50 0001 C CNN -F 3 "" H 4650 3150 50 0000 C CNN - 1 4650 3150 +P 4500 3150 +F 0 "R55" V 4580 3150 50 0000 C CNN +F 1 "15k" V 4500 3150 50 0000 C CNN +F 2 "Resistors_SMD:R_0603_HandSoldering" V 4430 3150 50 0001 C CNN +F 3 "" H 4500 3150 50 0000 C CNN + 1 4500 3150 0 1 1 0 $EndComp -Text GLabel 4500 3150 0 60 Input ~ 0 +Text GLabel 4350 3150 0 60 Input ~ 0 PROG_DONE $Comp L LFE5U-45F-6BG381C-RESCUE-ulx3s U1 @@ -491,4 +487,14 @@ F 4 "www.mouser.com" H 6400 2850 60 0001 C CNN "Distributor1_URL" $EndComp Text Notes 1500 3500 0 60 ~ 0 For programming Flash thru JTAG see\nLattice FPGA-TN-02050 +Text Notes 8600 2400 0 60 ~ 0 +WPn +Wire Wire Line + 7150 2350 8150 2350 +Wire Wire Line + 5650 2350 4650 2350 +Text Label 4700 2350 0 60 ~ 0 +FLASH_nHOLD +Text Label 7550 2350 0 60 ~ 0 +FLASH_nWP $EndSCHEMATC diff --git a/gpio.bak b/gpio.bak index 6dc7229..df48767 100644 --- a/gpio.bak +++ b/gpio.bak @@ -470,7 +470,7 @@ GP12 Text GLabel 1600 5200 0 60 Input ~ 0 GN13 Text GLabel 2100 5200 2 60 Input ~ 0 -GN13 +GP13 Text GLabel 8650 3650 2 60 Input ~ 0 GP14 Text GLabel 8650 3750 2 60 Input ~ 0 diff --git a/ram.bak b/ram.bak index f646e74..fc31dbc 100644 --- a/ram.bak +++ b/ram.bak @@ -417,4 +417,8 @@ F 4 "www.mouser.com" H 9300 5250 60 0001 C CNN "Distributor1_URL" $EndComp Text GLabel 8550 3450 0 60 Input ~ 0 SHUTDOWN +Text GLabel 10050 4850 2 60 Input ~ 0 +BTN_U +Text GLabel 10050 3450 2 60 Input ~ 0 +BTN_R $EndSCHEMATC diff --git a/ram.sch b/ram.sch index f646e74..fc31dbc 100644 --- a/ram.sch +++ b/ram.sch @@ -417,4 +417,8 @@ F 4 "www.mouser.com" H 9300 5250 60 0001 C CNN "Distributor1_URL" $EndComp Text GLabel 8550 3450 0 60 Input ~ 0 SHUTDOWN +Text GLabel 10050 4850 2 60 Input ~ 0 +BTN_U +Text GLabel 10050 3450 2 60 Input ~ 0 +BTN_R $EndSCHEMATC