User avatar
liz
Raspberry Pi Foundation Employee & Forum Moderator
Raspberry Pi Foundation Employee & Forum Moderator
Posts: 5212
Joined: Thu Jul 28, 2011 7:22 pm
Contact: Website

Re: GPIO pinouts confirmed

Mon Nov 28, 2011 12:19 am

A bit of a treat for Monday morning (very early Monday morning - as far as I\'m concerned, it\'s still morally Sunday). The pinouts for the Raspberry Pi are now on the main page.
Director of Communications, Raspberry Pi

radu
Posts: 110
Joined: Mon Nov 21, 2011 8:19 pm

Re: GPIO pinouts confirmed

Mon Nov 28, 2011 2:53 am

Any API to access the GPIO pins?
Can they be accessed by MMIO or something?

tntexplosivesltd
Posts: 72
Joined: Fri Sep 30, 2011 8:08 am
Contact: Website

Re: GPIO pinouts confirmed

Mon Nov 28, 2011 3:29 am

We (the community) have to write our own drivers iirc. Same for SPI and I2C

zerth
Posts: 8
Joined: Fri Oct 21, 2011 3:13 pm

Re: GPIO pinouts confirmed

Mon Nov 28, 2011 4:32 am

Are the DNC pins completely unavailable, or can we possibly access them elsewhere on the board with an exacto knife and some wire? :)

User avatar
abishur
Posts: 4477
Joined: Thu Jul 28, 2011 4:10 am
Location: USA
Contact: Website

Re: GPIO pinouts confirmed

Mon Nov 28, 2011 5:39 am

Considering the over all size of the r-pi itself and the layered board aspect I\'m gonna guess no :P A cut with the exacto knife can take out a lot more than just the top layer (assuming, of course, that the correct lines are actually on the top PCB layer itself.)
Dear forum: Play nice ;-)

ansbaradigeidfran
Posts: 7
Joined: Tue Nov 01, 2011 7:40 am

Re: GPIO pinouts confirmed

Mon Nov 28, 2011 7:15 am

[quote]Quote from liz on November 28, 2011, 00:19
A bit of a treat for Monday morning (very early Monday morning - as far as I\'m concerned, it\'s still morally Sunday).[/quote]

Posting GPIO pinouts on the Sabbath? :P

zerth
Posts: 8
Joined: Fri Oct 21, 2011 3:13 pm

Re: GPIO pinouts confirmed

Mon Nov 28, 2011 7:42 am

[quote]Quote from abishur on November 28, 2011, 05:39
Considering the over all size of the r-pi itself and the layered board aspect I\'m gonna guess no :P A cut with the exacto knife can take out a lot more than just the top layer (assuming, of course, that the correct lines are actually on the top PCB layer itself.)[/quote]

I was thinking more of using it to scrape the mask off a pad or trace so I could solder a connection, not cut one. :)

dpawson
Posts: 129
Joined: Mon Nov 14, 2011 5:05 pm
Contact: Website

Re: GPIO pinouts confirmed

Mon Nov 28, 2011 8:20 am

\"We will not be making the boards with pins in place, in order to shave some cost off the build; you’ll have to solder them on yourself.\"

With what sized holes? Judging by the board design not very big? What pins will fit? Source?
With your intended audience has the layering been thermally guarded to account for hamfisted soldering in this area?

I wonder just how much has been saved by this bit of ... thinking, if that\'s not too kind a word.

IMHO a bad decision that will come back to bite you guys.
A wonderful beancounterlike decision?
Or the first reason to doubt the rpi?

Dave

jacklang
Posts: 166
Joined: Thu Aug 04, 2011 10:59 am

Re: GPIO pinouts confirmed

Mon Nov 28, 2011 8:34 am

As I said in the main post:
Its not primarily cost saving, but a request from the community.
Some wanted the pins on top of the board, others underneath. Some wanted straight pins, others right angled, and a few want to solder wire direct to the board. The holes are through hole plated for easier soldering.

The pins are at 2.54mm/0.1inch spacing

User avatar
Jongoleur
Posts: 1179
Joined: Thu Aug 11, 2011 12:47 pm
Location: O'erlooking the sea, and all those effin windfarms...

Re: GPIO pinouts confirmed

Mon Nov 28, 2011 8:43 am

There are far too many B-Ark candidates here.... :-)
I'm just a bouncer, splatterers do it with more force.....

NoSuchNick
Posts: 42
Joined: Tue Sep 20, 2011 1:38 pm

Re: GPIO pinouts confirmed

Mon Nov 28, 2011 9:36 am

Thank you for the pinout liz, there goes my productivity for the day ;)
Just to add to all the other questions:
Can we use the 5V pin to power the r-pi or are there diodes or something similiar that would prevent that?

carlosfm
Posts: 132
Joined: Fri Oct 21, 2011 3:23 pm
Location: Lisbon, Portugal

Re: GPIO pinouts confirmed

Mon Nov 28, 2011 9:38 am

As I suspected, there\'s no digital audio. No I2S...
Do you Pi?

User avatar
FeersumEndjinn
Posts: 148
Joined: Mon Nov 21, 2011 4:02 pm

Re: GPIO pinouts confirmed

Mon Nov 28, 2011 10:48 am

The GPIO can be accessed in the standard linux way - by reading/writing text files in /sys/class/gpio.

http://www.mjmwired.net/kernel/Documentation/gpio.txt
Morrolan / FeersumEndjinn

"And the lord God said unto John, 'Come forth and receive eternal life', but John came fifth and won a toaster."

Sylvain
Posts: 26
Joined: Wed Nov 23, 2011 12:54 pm

Re: GPIO pinouts confirmed

Mon Nov 28, 2011 11:00 am

FeersumEnd-jinn >> Won\'t it need a driver anyway ?

User avatar
FeersumEndjinn
Posts: 148
Joined: Mon Nov 21, 2011 4:02 pm

Re: GPIO pinouts confirmed

Mon Nov 28, 2011 11:24 am

From what I have read, yes a driver is still required, even if it is purely to monitor the correct lines for I2C, SCA/SCL etc. but as there are so many drivers already out there, it should be more a case of porting a driver rather than creating one from scratch. The Fedora guys might even end up doing that, so until the R-Pi is released I think we\'re a little in the dark - the GPIO drivers aren\'t listed on the WIki page of stuff that needs working on by the community.
Morrolan / FeersumEndjinn

"And the lord God said unto John, 'Come forth and receive eternal life', but John came fifth and won a toaster."

gimliflea
Posts: 76
Joined: Fri Nov 18, 2011 4:14 pm

Re: GPIO pinouts confirmed

Mon Nov 28, 2011 11:28 am

Can anyone confirm if the JTAG connector will still have pins.
I really would not let myself near this board with a soldering iron.

User avatar
abishur
Posts: 4477
Joined: Thu Jul 28, 2011 4:10 am
Location: USA
Contact: Website

Re: GPIO pinouts confirmed

Mon Nov 28, 2011 1:43 pm

[quote]Quote from carlosfm on November 28, 2011, 09:38
As I suspected, there\'s no digital audio. No I2S...[/quote]

I don\'t remember i2s ever being mentioned as a contender on the board. Besides it still has HDMI if you want digital audio, and a high quality 3.5mm analog audio jack. You\'ll be just fine. As my wife would say, \"Ah the troubles one must bare in a first world country!\" :P
Dear forum: Play nice ;-)

User avatar
liz
Raspberry Pi Foundation Employee & Forum Moderator
Raspberry Pi Foundation Employee & Forum Moderator
Posts: 5212
Joined: Thu Jul 28, 2011 7:22 pm
Contact: Website

Re: GPIO pinouts confirmed

Mon Nov 28, 2011 1:49 pm

[quote]Quote from gimliflea on November 28, 2011, 11:28
Can anyone confirm if the JTAG connector will still have pins.
I really would not let myself near this board with a soldering iron.[/quote]

\'Fraid not - and I suspect it\'s not the JTAG you think it is, either (i.e. it\'s not ARM JTAG). ARM JTAG will be available will be available via a reconfiguration of the GPIO pins.

I am legendarily cack-handed, and even I can solder this stuff, by the way. No reason at all you shouldn\'t be able to (and it\'s fantastic for the self-esteem)!
Director of Communications, Raspberry Pi

hippy
Posts: 7124
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: GPIO pinouts confirmed

Mon Nov 28, 2011 2:07 pm

[quote]Quote from dpawson on November 28, 2011, 08:20
\"We will not be making the boards with pins in place, in order to shave some cost off the build; you’ll have to solder them on yourself.\" ...

IMHO a bad decision that will come back to bite you guys.
[/quote]

I think it\'s a good decision; as well as saving costs it allows much more flexibility for those wanting GPIO access. It will inconvenience some but overall I\'d say it\'s more gain than loss.

Those who are looking at hardware interfacing will likely have the knowledge, skills and tools to undertake soldering and it is far easier to add headers than remove them. With 0.1\" pitch headers there shouldn\'t be any greater difficulties with an R-Pi board than any other.

Most hardware interfacing will involve some circuit construction and soldering anyway but it is possible to have non-soldered interfacing and the decision may present difficulties for some. I expect the issue will be resolved at some time in the future - most likely when the foundation release official add-on boards for the R-Pi - otherwise people will have to learn soldering or find someone to do that for them. If there is the demand I would expect others to offer such a service and that could perhaps be done by resellers or those providing add-on hardware.

GPIO hardware interfacing isn\'t an essential for \'learning to program\' and there are other means to provide hardware interfacing via USB, though that will often simply move the difficulty of soldering the R-Pi to soldering to those interfaces.

User avatar
liz
Raspberry Pi Foundation Employee & Forum Moderator
Raspberry Pi Foundation Employee & Forum Moderator
Posts: 5212
Joined: Thu Jul 28, 2011 7:22 pm
Contact: Website

Re: GPIO pinouts confirmed

Mon Nov 28, 2011 2:12 pm

Couldn\'t have put it better myself, Hippy - that was exactly our reasoning.
Director of Communications, Raspberry Pi

User avatar
ukscone
Forum Moderator
Forum Moderator
Posts: 4214
Joined: Fri Jul 29, 2011 2:51 pm
Contact: Website

Re: GPIO pinouts confirmed

Mon Nov 28, 2011 2:14 pm

I actually thought the real reason was that it would draw blood if you stepped on a raspi and that \'elf and safety would get a tad annoyed

User avatar
Gert van Loo
Posts: 2487
Joined: Tue Aug 02, 2011 7:27 am
Contact: Website

Re: GPIO pinouts confirmed

Mon Nov 28, 2011 3:47 pm

On I2S: Yes it has I2S (and PCM)
The number of different things the GPIOs can do is larger then specified in Liz\' list.
If Liz would have written the complete list down 95% of the readers would not have understood it and the number of emails would have gone up exponentially. Also we will not have Linux drivers yet for a lot of these special I/O modes . So for now we KISS (Keep It Simple, Stupid). To use two well known phrases:
+ Watch this space.
+ But don\'t hold your breath.

User avatar
Burngate
Posts: 6253
Joined: Thu Sep 29, 2011 4:34 pm
Location: Berkshire UK Tralfamadore
Contact: Website

Re: GPIO pinouts confirmed

Mon Nov 28, 2011 5:20 pm

I put this on the front-page replies-list but here might also be useful
[img]https://sites.google.com/site/burngateh ... /GPIOs.gif[/img]

User avatar
abishur
Posts: 4477
Joined: Thu Jul 28, 2011 4:10 am
Location: USA
Contact: Website

Re: GPIO pinouts confirmed

Mon Nov 28, 2011 5:29 pm

nice burngate!
Dear forum: Play nice ;-)

carlosfm
Posts: 132
Joined: Fri Oct 21, 2011 3:23 pm
Location: Lisbon, Portugal

Re: GPIO pinouts confirmed

Mon Nov 28, 2011 5:57 pm

[quote]Quote from abishur on November 28, 2011, 13:43
[quote]Quote from carlosfm on November 28, 2011, 09:38
As I suspected, there\'s no digital audio. No I2S...[/quote]

I don\'t remember i2s ever being mentioned as a contender on the board. Besides it still has HDMI if you want digital audio, and a high quality 3.5mm analog audio jack. You\'ll be just fine. As my wife would say, \"Ah the troubles one must bare in a first world country!\" :P[/quote]

If you want to interface directly to an audio dac chip, you need PCM and HDMI is useless. Don\'t even mention it.
Audio in HDMI is mixed with video. You need an AV amp to extract the digital audio and deal with HDCP, if present.

I\'ll check the audio quality on the analog audio jack too, but I doubt on the \"high quality\" on a portable device, don\'t get me wrong.
I\'m an audiophile, who usually builds and/or mods his own audio gear.

[quote]Quote from Gert van Loo on November 28, 2011, 15:47
On I2S: Yes it has I2S (and PCM)
The number of different things the GPIOs can do is larger then specified in Liz\' list.
If Liz would have written the complete list down 95% of the readers would not have understood it and the number of emails would have gone up exponentially. Also we will not have Linux drivers yet for a lot of these special I/O modes . So for now we KISS (Keep It Simple, Stupid). To use two well known phrases:
+ Watch this space.
+ But don\'t hold your breath.
[/quote]

Ah, there is hope, then.
Thanks for confirming, Gert.
Do you Pi?

Return to “General discussion”