GPIO pins for input
GPIO pins for input
Are there any limitations on the actual pin numbers we can use with a common ground board, obviously 5V, 3.3V and Ground cant be used (so that's physical pin 1 2 4 6 9 14 17 20 25 30 34 and 39) but I see ones labeled SDA, SDL, GPCLK, etc I assume if configured with Retrogame to use those pins those functions wouldn't be used (so as long as it's not something I need - for audio or safe shutdown) I'm free to use whichever pins I want or will I run into conflicts?
- rodocop
- Posts: 1723
- Joined: Mon Aug 22, 2016 3:14 pm
- Location: Saskatchewan
- Has thanked: 606 times
- Been thanked: 608 times
Re: GPIO pins for input
Skip pwm0 or pwm1 (18 and 13) if you plan to do pwm audio. Skip the spi pins too. If you don't plan to use an spi screen you can probably use those too.
https://i.imgur.com/dh9kiPi.jpg
I always just use the pins in this guide:
https://sudomod.com/forum/viewtopic.php?t=57
https://i.imgur.com/dh9kiPi.jpg
I always just use the pins in this guide:
https://sudomod.com/forum/viewtopic.php?t=57
_____________________________________________________
My Minty Pi builds:
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3628
My GBZ builds:
http://www.sudomod.com/forum/viewtopic. ... 813#p50813
My modded DMG-01's:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2696
My NESpi:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2941
My Gaboze Pocaio's
https://sudomod.com/forum/viewtopic.php?f=13&t=6063
My Minty Pi builds:
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3628
My GBZ builds:
http://www.sudomod.com/forum/viewtopic. ... 813#p50813
My modded DMG-01's:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2696
My NESpi:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2941
My Gaboze Pocaio's
https://sudomod.com/forum/viewtopic.php?f=13&t=6063
Re: GPIO pins for input
Thank you, I normally use I2S for audio, so that excludes 18, 19 and 21. I did do some searching and looks like they are all fair game unless you are actively using them for something else (audio, screen, serial connection) or power/ground. Just trying to find about 11 pins that run just about in order from physical pin 6 or so. Looks like I should just about be able to do that if I jump back and forth between the 3.3 and 5V columns as I work my way down/over.
Thanks for the help.
Thanks for the help.
- rodocop
- Posts: 1723
- Joined: Mon Aug 22, 2016 3:14 pm
- Location: Saskatchewan
- Has thanked: 606 times
- Been thanked: 608 times
Re: GPIO pins for input
Ah. I've never used I2S audio, didn't think about Those. Regardless, lots of pins to choose from!
_____________________________________________________
My Minty Pi builds:
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3628
My GBZ builds:
http://www.sudomod.com/forum/viewtopic. ... 813#p50813
My modded DMG-01's:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2696
My NESpi:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2941
My Gaboze Pocaio's
https://sudomod.com/forum/viewtopic.php?f=13&t=6063
My Minty Pi builds:
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3628
My GBZ builds:
http://www.sudomod.com/forum/viewtopic. ... 813#p50813
My modded DMG-01's:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2696
My NESpi:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2941
My Gaboze Pocaio's
https://sudomod.com/forum/viewtopic.php?f=13&t=6063
Who is online
Users browsing this forum: No registered users and 1 guest