Page 1 of 1

Pin layout for GPIO1

Posted: Wed Oct 27, 2021 10:45 am
by lomdar67
Hello,

I was wondering if there is a complete pin layout for the GPIO1? What I found out so far:

11-5v
12-Ground
13-OSD
15-User
17-Reset
29-3.3v

Especially interesting would be the pins for the leds

Best regards,
Michael

Re: Pin layout for GPIO1

Posted: Wed Oct 27, 2021 12:18 pm
by darksakul
Here your LED and User Button wire guide

viewtopic.php?p=364#p364

Re: Pin layout for GPIO1

Posted: Wed Oct 27, 2021 12:38 pm
by N.Master
I think lomdar67 was looking for the pinout directly from the DE10-nano, not on the I/O board

Re: Pin layout for GPIO1

Posted: Wed Oct 27, 2021 4:08 pm
by Raul3D
The GPIO pins are listed in the DE10 Nano manual on page 30:
https://www.intel.com/content/www/us/en ... anual.html

Re: Pin layout for GPIO1

Posted: Thu Oct 28, 2021 8:38 am
by lomdar67
Thanks for the help so far.

I don't have (and need) an analog or digital I/O board, but I wan't to connect the three buttons and LEDs from my casing to the DE10-nano. As the I/O boards are connected to the GPIO I thought that would be possible directly with the pin header.

I was studying the D-10 nano manual, but to be honest I can't really get the information how to connect the three LEDs out of the manual.
For example it says that pin 17 is PIN_AG23, but where is the information that PIN_AG23 is the reset button?

So let me rephrase my question. Can anyone explain to me how to connect the three LEDs directly to the GPIO 1 header?

Best regards,
Michael

Re: Pin layout for GPIO1

Posted: Thu Oct 28, 2021 4:24 pm
by Raul3D
You can check the semantics of the IO Board to see how the LEDs and buttons are connected to the GPIO pins:
https://github.com/MiSTer-devel/Hardwar ... r/releases

Re: Pin layout for GPIO1

Posted: Fri Oct 29, 2021 1:35 pm
by player2
lomdar67 wrote: Thu Oct 28, 2021 8:38 am I don't have (and need) an analog or digital I/O board, but I wan't to connect the three buttons and LEDs from my casing to the DE10-nano. As the I/O boards are connected to the GPIO I thought that would be possible directly with the pin header.
Hi Michael, I was in a similar boat. I think the I/O board would have marginal usage for me, but in my case it was just useful enough that I ordered one and I'm waiting for it to be delivered.

In the meantime I've been looking at the schematics on github, they should be the same one's Raul3D linked to. I've made the following list, but I don't know if it's accurate, and I can only try to check once I have my board.

Code: Select all

		LED3 User	1	2	Analog Audio Left / I2S
		LED2 Disk	3	4	MicroSD DAT2
		LED1 Power	5	6	MicroSD DAT3
Analog Audio Right / I2S	7	8	MicroSD CMD
		SPDIF / I2S	9	10	(pulled to GND on I/O board)
			5V	11	12	GND
		Button OSD	13	14	MicroSD CLK
		Button User	15	16	MicroSD DAT0
		Button Reset	17	18	MicroSD DAT1
		VGA Vsync	19	20	VGA Hsync
		VGA Blue ???	21	22	VGA Blue ???
		VGA Blue ???	23	24	VGA Blue ???
		VGA Blue ???	25	26	VGA Blue ???
		VGA Green ???	27	28	VGA Red ???
			3.3V	29	30	GND
		VGA Green ???	31	32	VGA Red ???
		VGA Green ???	33	34	VGA Red ???
		VGA Green ???	35	36	VGA Red ???
		VGA Green ???	37	38	VGA Red ???
		VGA Green ???	39	40	VGA Red ???
Again, I have to emphasize that I am not 100% sure of these connections. Also I'm not clear on how the R-2R ladders for the Red/Green/Blue are wired up exactly. There's also a "SOG" line that is related to the VGA and is wired to P7, together with the user port. I have no idea what that does.

If I'm reading the schematic right, the LED pins on GPIO1 are tied to the LED anodes, and the LED cathodes are tied to 3.3V via 560r resistors. It would be best if someone could cross check all this. :)

Re: Pin layout for GPIO1

Posted: Fri Oct 29, 2021 1:42 pm
by jca
SOG = Sync On Green