EESchema Schematic File Version 2 LIBS:ulx3s-rescue LIBS:power LIBS:device LIBS:transistors LIBS:conn LIBS:linear LIBS:regul LIBS:74xx LIBS:cmos4000 LIBS:adc-dac LIBS:memory LIBS:xilinx LIBS:microcontrollers LIBS:dsp LIBS:microchip LIBS:analog_switches LIBS:motorola LIBS:texas LIBS:intel LIBS:audio LIBS:interface LIBS:digital-audio LIBS:philips LIBS:display LIBS:cypress LIBS:siliconi LIBS:opto LIBS:atmel LIBS:contrib LIBS:valves LIBS:ESP8266 LIBS:lfe5bg381 LIBS:micro-hdmi-d LIBS:ap3429a LIBS:ft2232 LIBS:ESP32 LIBS:ssd_13xx LIBS:ftdi LIBS:max1112x LIBS:micro_sd_card_cd LIBS:mt48lc16m16a2tg LIBS:usb_otg LIBS:ulx3s-cache EELAYER 25 0 EELAYER END $Descr A4 11693 8268 encoding utf-8 Sheet 11 11 Title "" Date "" Rev "" Comp "" Comment1 "" Comment2 "" Comment3 "" Comment4 "" $EndDescr $Comp L MB85RS16 U10 U 1 1 58D913F5 P 3650 4350 F 0 "U10" H 3350 4600 50 0000 L CNN F 1 "IS25LP032D-JNLE-TR" H 3700 4600 50 0000 L CNN F 2 "SOA008-150mil:SOA008-150mil" H 3300 4300 50 0001 C CNN F 3 "http://www.issi.com/WW/pdf/25LP-WP032D.pdf" H 3300 4300 50 0001 C CNN F 4 "www.issi.com" H 3650 4350 60 0001 C CNN "MFG_URL" F 5 "IS25LP032D-JNLE-TR" H 3650 4350 60 0001 C CNN "MFG_PN" F 6 "www.mouser.com" H 3650 4350 60 0001 C CNN "Distributor1_URL" F 7 "870-IS25LP032DJNLETR" H 3650 4350 60 0001 C CNN "Distributor1_PN" 1 3650 4350 1 0 0 -1 $EndComp $Comp L +3V3 #PWR147 U 1 1 58D9149E P 3650 4050 F 0 "#PWR147" H 3650 3900 50 0001 C CNN F 1 "+3V3" H 3650 4190 50 0000 C CNN F 2 "" H 3650 4050 50 0000 C CNN F 3 "" H 3650 4050 50 0000 C CNN 1 3650 4050 1 0 0 -1 $EndComp $Comp L GND #PWR148 U 1 1 58D914B4 P 3650 4650 F 0 "#PWR148" H 3650 4400 50 0001 C CNN F 1 "GND" H 3650 4500 50 0000 C CNN F 2 "" H 3650 4650 50 0000 C CNN F 3 "" H 3650 4650 50 0000 C CNN 1 3650 4650 1 0 0 -1 $EndComp Wire Wire Line 4050 4250 4650 4250 Wire Wire Line 4050 4350 4650 4350 Wire Wire Line 4050 4450 4650 4450 Wire Wire Line 3250 4450 2550 4450 Wire Wire Line 3250 4350 2550 4350 Wire Wire Line 3250 4250 2550 4250 Text Label 2600 4250 0 60 ~ 0 FLASH_nWP Text Label 2600 4350 0 60 ~ 0 FLASH_nHOLD Text Label 2600 4450 0 60 ~ 0 FLASH_nCS Text Label 4100 4250 0 60 ~ 0 FLASH_SCK Text Label 4100 4450 0 60 ~ 0 FLASH_MISO Text Label 4100 4350 0 60 ~ 0 FLASH_MOSI Wire Wire Line 5500 4100 6500 4100 Text Label 5550 4100 0 60 ~ 0 FLASH_MISO Wire Wire Line 8000 4100 9000 4100 Text Label 8400 4100 0 60 ~ 0 FLASH_MOSI Wire Wire Line 6500 4300 5500 4300 Text Label 5550 4300 0 60 ~ 0 FLASH_nCS $Comp L R R27 U 1 1 58EC0EFE P 3450 2350 F 0 "R27" V 3530 2350 50 0000 C CNN F 1 "10k" V 3450 2350 50 0000 C CNN F 2 "Resistors_SMD:R_0603_HandSoldering" V 3380 2350 50 0001 C CNN F 3 "" H 3450 2350 50 0000 C CNN 1 3450 2350 1 0 0 -1 $EndComp Wire Wire Line 3450 2500 3450 3200 Text Label 3450 3150 1 60 ~ 0 FLASH_MOSI $Comp L +3V3 #PWR145 U 1 1 58EC0F61 P 3450 2200 F 0 "#PWR145" H 3450 2050 50 0001 C CNN F 1 "+3V3" H 3450 2340 50 0000 C CNN F 2 "" H 3450 2200 50 0000 C CNN F 3 "" H 3450 2200 50 0000 C CNN 1 3450 2200 1 0 0 -1 $EndComp $Comp L R R28 U 1 1 58EC0F8E P 3650 2350 F 0 "R28" V 3730 2350 50 0000 C CNN F 1 "10k" V 3650 2350 50 0000 C CNN F 2 "Resistors_SMD:R_0603_HandSoldering" V 3580 2350 50 0001 C CNN F 3 "" H 3650 2350 50 0000 C CNN 1 3650 2350 1 0 0 -1 $EndComp Wire Wire Line 3650 2500 3650 3200 Text Label 3650 3150 1 60 ~ 0 FLASH_MISO $Comp L +3V3 #PWR146 U 1 1 58EC0F96 P 3650 2200 F 0 "#PWR146" H 3650 2050 50 0001 C CNN F 1 "+3V3" H 3650 2340 50 0000 C CNN F 2 "" H 3650 2200 50 0000 C CNN F 3 "" H 3650 2200 50 0000 C CNN 1 3650 2200 1 0 0 -1 $EndComp $Comp L R R29 U 1 1 58EC15E1 P 3850 2350 F 0 "R29" V 3930 2350 50 0000 C CNN F 1 "1k" V 3850 2350 50 0000 C CNN F 2 "Resistors_SMD:R_0603_HandSoldering" V 3780 2350 50 0001 C CNN F 3 "" H 3850 2350 50 0000 C CNN 1 3850 2350 1 0 0 -1 $EndComp Wire Wire Line 3850 2500 3850 3200 Text Label 3850 3150 1 60 ~ 0 FLASH_SCK $Comp L +3V3 #PWR149 U 1 1 58EC15E9 P 3850 2200 F 0 "#PWR149" H 3850 2050 50 0001 C CNN F 1 "+3V3" H 3850 2340 50 0000 C CNN F 2 "" H 3850 2200 50 0000 C CNN F 3 "" H 3850 2200 50 0000 C CNN 1 3850 2200 1 0 0 -1 $EndComp Wire Wire Line 5500 4700 6500 4700 Text Label 5550 4700 0 60 ~ 0 FLASH_SCK $Comp L R R30 U 1 1 58EC1C84 P 4050 2350 F 0 "R30" V 4130 2350 50 0000 C CNN F 1 "4.7k" V 4050 2350 50 0000 C CNN F 2 "Resistors_SMD:R_0603_HandSoldering" V 3980 2350 50 0001 C CNN F 3 "" H 4050 2350 50 0000 C CNN 1 4050 2350 1 0 0 -1 $EndComp Wire Wire Line 4050 2500 4050 3200 Text Label 4050 3150 1 60 ~ 0 FLASH_nCS $Comp L +3V3 #PWR150 U 1 1 58EC1C8C P 4050 2200 F 0 "#PWR150" H 4050 2050 50 0001 C CNN F 1 "+3V3" H 4050 2340 50 0000 C CNN F 2 "" H 4050 2200 50 0000 C CNN F 3 "" H 4050 2200 50 0000 C CNN 1 4050 2200 1 0 0 -1 $EndComp Text Notes 2600 1950 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 3050 2350 F 0 "R11" V 3130 2350 50 0000 C CNN F 1 "10k" V 3050 2350 50 0000 C CNN F 2 "Resistors_SMD:R_0603_HandSoldering" V 2980 2350 50 0001 C CNN F 3 "" H 3050 2350 50 0000 C CNN 1 3050 2350 1 0 0 -1 $EndComp Wire Wire Line 3050 2500 3050 3200 Text Label 3050 3150 1 60 ~ 0 FLASH_nWP $Comp L +3V3 #PWR143 U 1 1 58EC4E7F P 3050 2200 F 0 "#PWR143" H 3050 2050 50 0001 C CNN F 1 "+3V3" H 3050 2340 50 0000 C CNN F 2 "" H 3050 2200 50 0000 C CNN F 3 "" H 3050 2200 50 0000 C CNN 1 3050 2200 1 0 0 -1 $EndComp $Comp L R R12 U 1 1 58EC4E85 P 3250 2350 F 0 "R12" V 3330 2350 50 0000 C CNN F 1 "10k" V 3250 2350 50 0000 C CNN F 2 "Resistors_SMD:R_0603_HandSoldering" V 3180 2350 50 0001 C CNN F 3 "" H 3250 2350 50 0000 C CNN 1 3250 2350 1 0 0 -1 $EndComp Wire Wire Line 3250 2500 3250 3200 Text Label 3250 3150 1 60 ~ 0 FLASH_nHOLD $Comp L +3V3 #PWR144 U 1 1 58EC4E8D P 3250 2200 F 0 "#PWR144" H 3250 2050 50 0001 C CNN F 1 "+3V3" H 3250 2340 50 0000 C CNN F 2 "" H 3250 2200 50 0000 C CNN F 3 "" H 3250 2200 50 0000 C CNN 1 3250 2200 1 0 0 -1 $EndComp $Comp L +3V3 #PWR154 U 1 1 58EC58A7 P 6300 5000 F 0 "#PWR154" H 6300 4850 50 0001 C CNN F 1 "+3V3" H 6300 5140 50 0000 C CNN F 2 "" H 6300 5000 50 0000 C CNN F 3 "" H 6300 5000 50 0000 C CNN 1 6300 5000 0 -1 -1 0 $EndComp $Comp L GND #PWR158 U 1 1 58EC58CB P 6500 5100 F 0 "#PWR158" H 6500 4850 50 0001 C CNN F 1 "GND" H 6500 4950 50 0000 C CNN F 2 "" H 6500 5100 50 0000 C CNN F 3 "" H 6500 5100 50 0000 C CNN 1 6500 5100 0 1 1 0 $EndComp $Comp L GND #PWR157 U 1 1 58EC58EF P 6500 4900 F 0 "#PWR157" H 6500 4650 50 0001 C CNN F 1 "GND" H 6500 4750 50 0000 C CNN F 2 "" H 6500 4900 50 0000 C CNN F 3 "" H 6500 4900 50 0000 C CNN 1 6500 4900 0 1 1 0 $EndComp Wire Wire Line 6300 5000 6500 5000 Text Notes 4600 5300 0 60 ~ 0 CFG select Master SPI (MSPI)\nTN1260: lattice ECP5 sysCONFIG guide p.17 Wire Wire Line 5500 4800 6500 4800 Wire Wire Line 6500 4500 5500 4500 Text Label 5550 4500 0 60 ~ 0 FPGA_PROGRAMN Text Label 5550 4800 0 60 ~ 0 FPGA_DONE $Comp L R R31 U 1 1 58EC68DC P 5200 2350 F 0 "R31" V 5280 2350 50 0000 C CNN F 1 "10k" V 5200 2350 50 0000 C CNN F 2 "Resistors_SMD:R_0603_HandSoldering" V 5130 2350 50 0001 C CNN F 3 "" H 5200 2350 50 0000 C CNN 1 5200 2350 1 0 0 -1 $EndComp Wire Wire Line 5200 2500 5200 3350 Text Label 5200 3300 1 60 ~ 0 FPGA_PROGRAMN $Comp L +3V3 #PWR151 U 1 1 58EC68E4 P 5200 2200 F 0 "#PWR151" H 5200 2050 50 0001 C CNN F 1 "+3V3" H 5200 2340 50 0000 C CNN F 2 "" H 5200 2200 50 0000 C CNN F 3 "" H 5200 2200 50 0000 C CNN 1 5200 2200 1 0 0 -1 $EndComp $Comp L R R32 U 1 1 58EC68EA P 5400 2350 F 0 "R32" V 5480 2350 50 0000 C CNN F 1 "10k" V 5400 2350 50 0000 C CNN F 2 "Resistors_SMD:R_0603_HandSoldering" V 5330 2350 50 0001 C CNN F 3 "" H 5400 2350 50 0000 C CNN 1 5400 2350 1 0 0 -1 $EndComp Wire Wire Line 5400 2500 5400 3350 Text Label 5400 3300 1 60 ~ 0 FPGA_DONE $Comp L +3V3 #PWR152 U 1 1 58EC68F2 P 5400 2200 F 0 "#PWR152" H 5400 2050 50 0001 C CNN F 1 "+3V3" H 5400 2340 50 0000 C CNN F 2 "" H 5400 2200 50 0000 C CNN F 3 "" H 5400 2200 50 0000 C CNN 1 5400 2200 1 0 0 -1 $EndComp Wire Wire Line 5500 4400 6500 4400 Text Label 5550 4400 0 60 ~ 0 FPGA_INITN $Comp L R R33 U 1 1 58EC72FD P 5600 2350 F 0 "R33" V 5680 2350 50 0000 C CNN F 1 "10k" V 5600 2350 50 0000 C CNN F 2 "Resistors_SMD:R_0603_HandSoldering" V 5530 2350 50 0001 C CNN F 3 "" H 5600 2350 50 0000 C CNN 1 5600 2350 1 0 0 -1 $EndComp Wire Wire Line 5600 2500 5600 3350 Text Label 5600 3300 1 60 ~ 0 FPGA_INITN $Comp L +3V3 #PWR153 U 1 1 58EC7305 P 5600 2200 F 0 "#PWR153" H 5600 2050 50 0001 C CNN F 1 "+3V3" H 5600 2340 50 0000 C CNN F 2 "" H 5600 2200 50 0000 C CNN F 3 "" H 5600 2200 50 0000 C CNN 1 5600 2200 1 0 0 -1 $EndComp $Comp L +3V3 #PWR156 U 1 1 58EC879F P 6500 4600 F 0 "#PWR156" H 6500 4450 50 0001 C CNN F 1 "+3V3" H 6500 4740 50 0000 C CNN F 2 "" H 6500 4600 50 0000 C CNN F 3 "" H 6500 4600 50 0000 C CNN 1 6500 4600 0 -1 -1 0 $EndComp $Comp L +3V3 #PWR155 U 1 1 58EC8800 P 6500 4200 F 0 "#PWR155" H 6500 4050 50 0001 C CNN F 1 "+3V3" H 6500 4340 50 0000 C CNN F 2 "" H 6500 4200 50 0000 C CNN F 3 "" H 6500 4200 50 0000 C CNN 1 6500 4200 0 -1 -1 0 $EndComp $Comp L +3V3 #PWR159 U 1 1 58EC882A P 8000 4200 F 0 "#PWR159" H 8000 4050 50 0001 C CNN F 1 "+3V3" H 8000 4340 50 0000 C CNN F 2 "" H 8000 4200 50 0000 C CNN F 3 "" H 8000 4200 50 0000 C CNN 1 8000 4200 0 1 1 0 $EndComp Text GLabel 6500 3800 0 60 Input ~ 0 BTN_F1 Text GLabel 8000 3800 2 60 Input ~ 0 BTN_F2 Text GLabel 8000 3900 2 60 Input ~ 0 BTN_D Text GLabel 6500 3900 0 60 Input ~ 0 BTN_L Text Notes 4700 1950 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 5350 4800 F 0 "R55" V 5430 4800 50 0000 C CNN F 1 "15k" V 5350 4800 50 0000 C CNN F 2 "Resistors_SMD:R_0603_HandSoldering" V 5280 4800 50 0001 C CNN F 3 "" H 5350 4800 50 0000 C CNN 1 5350 4800 0 1 1 0 $EndComp Text GLabel 5200 4800 0 60 Input ~ 0 PROG_DONE $Comp L LFE5U-45F-6BG381C U1 U 7 1 5A07BEF6 P 7250 4500 AR Path="/5A07BEF6" Ref="U1" Part="7" AR Path="/58D913EC/5A07BEF6" Ref="U1" Part="7" F 0 "U1" H 7250 5450 60 0000 C CNN F 1 "LFE5U-45F-6BG381C" H 7250 5350 60 0000 C CNN F 2 "lfe5bg381:BGA-381_pitch0.8mm_dia0.4mm" H 6200 5450 60 0001 C CNN F 3 "http://www.latticesemi.com/~/media/LatticeSemi/Documents/ApplicationNotes/EH/TN1260.pdf" H 6200 5450 60 0001 C CNN F 4 "LFE5U-45F-6BG381C" H 7250 4500 60 0001 C CNN "MFG_PN" F 5 "www.mouser.com" H 7250 4500 60 0001 C CNN "Distributor1_URL" F 6 "842-LFE5U45F6BG381C" H 7250 4500 60 0001 C CNN "Distributor1_PN" 7 7250 4500 1 0 0 -1 $EndComp Text Notes 2350 5150 0 60 ~ 0 For programming Flash thru JTAG see\nLattice FPGA-TN-02050 Wire Wire Line 8000 4000 9000 4000 Wire Wire Line 6500 4000 5500 4000 Text Label 5550 4000 0 60 ~ 0 FLASH_nHOLD Text Label 8400 4000 0 60 ~ 0 FLASH_nWP Text Notes 4950 4000 0 60 ~ 0 BTN_U v1.7 Text Notes 9050 4000 0 60 ~ 0 BTN_R v1.7 $EndSCHEMATC