fjr
Posts: 102
Joined: Thu Aug 15, 2013 8:18 pm

is it correct the raspberry pi 0 has no spi headers?

Sat Jun 23, 2018 3:42 pm

Raspberry pi 0

It has no spi headers and therefore not able to flash roms using the flashrom software? Thanks.

User avatar
rpdom
Posts: 17542
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: is it correct the raspberry pi 0 has no spi headers?

Sat Jun 23, 2018 3:50 pm

The header pins are not fitted as standard on the Pi 0/0W. The holes are there if you want to solder your own on. They are fitted on the Pi 0WH.

User avatar
B.Goode
Posts: 10539
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: is it correct the raspberry pi 0 has no spi headers?

Sat Jun 23, 2018 3:52 pm

Raspberry pi 0

It has no spi headers


I don't know any reason to think that statement is true.

This documentation for the 40-way header on the RPi board makes no mention of an RPi Zero being different to other models in this respect. https://pinout.xyz/pinout/spi


Do you have reliable documentation that states differently?


Edit: follow up having seen the response from @rpdom - Yes, if that is what you mean an original RPiZero/W has no pins whatever fitted to the 40-way header zone on the board. In that respect the SPI function is affected no more and no less than any other interface option made available via that part of the board.
Last edited by B.Goode on Sat Jun 23, 2018 6:00 pm, edited 1 time in total.

gkaiseril
Posts: 679
Joined: Mon Aug 08, 2016 9:27 pm
Location: Chicago, IL

Re: is it correct the raspberry pi 0 has no spi headers?

Sat Jun 23, 2018 5:04 pm

If one looks at the mechanical drawings for the various Pis, one will note that there is no "z" height for the 40 pin GPIO location for the Pi Zero.

Pi 3B
Pi B+
Pi Zero (v1.2)
f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng.

User avatar
Gavinmc42
Posts: 4602
Joined: Wed Aug 28, 2013 3:31 am

Re: is it correct the raspberry pi 0 has no spi headers?

Sun Jun 24, 2018 4:09 am

Any of the Pi's work with flashrom.
I have soldered wires to the header holes, with a socket on the end of the 2" long wires.
You have two SPI ports and 5 CE's on the header.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

fjr
Posts: 102
Joined: Thu Aug 15, 2013 8:18 pm

Re: is it correct the raspberry pi 0 has no spi headers?

Sun Jun 24, 2018 12:46 pm

Thank you.
To clarify it is not about if there are pin headers on the rp 0. I have put them on the rp 0.
It is about if the gpios are the same as them on the rp 2 and 3?

I am asking because I want to install libreboot.org on a notebook. I asked
minifree.org about how the wiring is done.
The answer I got was the rp 0 has no spi headers.
I do not know what spi headers are. Is spidev software
present in the newest version of raspbian for the
rp 0?

DirkS
Posts: 10414
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: is it correct the raspberry pi 0 has no spi headers?

Sun Jun 24, 2018 2:07 pm

SPI on the Zero is the same as on all the other Pi (2/3/etc)

https://pinout.xyz/pinout/spi

User avatar
joan
Posts: 15038
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: is it correct the raspberry pi 0 has no spi headers?

Sun Jun 24, 2018 2:08 pm

Yes, all Pis have at least one accessible SPI bus. The 40 pin Pis have two accessible SPI buses.

User avatar
DougieLawson
Posts: 39787
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: is it correct the raspberry pi 0 has no spi headers?

Sun Jun 24, 2018 2:09 pm

You been the victim of fake news. The zeros have EXACTLY the same GPIOs as every other 40-pin Raspberry and the first 26 pins are IDENTICAL to every Raspberry since 2013.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All fake doctors are on my foes list.

User avatar
B.Goode
Posts: 10539
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: is it correct the raspberry pi 0 has no spi headers?

Sun Jun 24, 2018 2:11 pm

fjr wrote:
Sun Jun 24, 2018 12:46 pm

To clarify it is not about if there are pin headers on the rp 0. I have put them on the rp 0.
It is about if the gpios are the same as them on the rp 2 and 3?


So my first instinct was correct. There should be no significant difference between the gpio functions presented at the 40-way header on any current model of RPi as documented by the pinout web service or the pinout command at a shell prompt.

The answer I got was the rp 0 has no spi headers.
I do not know what spi headers are. Is spidev software
present in the newest version of raspbian for the
rp 0?


There is no version of Raspbian specifically for an RPiZero: the current/latest release of Raspbian always runs on all hardware available at the time the Operating System was released.


Only your other correspondent can clarify. Did they mean the absence of factory-fitted pins? Or do they mean there is development library support ( .h header files ) missing for some unspecified programming language?

Return to “Beginners”