Page 1 of 1

Re: SPI on final PCB

Posted: Sun Nov 27, 2011 9:03 pm
by nghia
Hello R-PI team,

Could you confirm that SPI is available on the expansion header on the final PCB?
If so, is a SPI driver plan for the first release?

Thanks

Nghia.

Re: SPI on final PCB

Posted: Sun Nov 27, 2011 9:05 pm
by liz
A driver is not planned for the first release (we hope the community might write one), but yes, SPI is available on the header.

Re: SPI on final PCB

Posted: Mon Nov 28, 2011 3:48 pm
by trogper
what about just GPIO driver?
will it be available?

Re: SPI on final PCB

Posted: Mon Nov 28, 2011 4:26 pm
by abishur
I believe the answer to that one is that the standard linux interface for GPIO should be sufficient. Otherwise see liz's post above except replace SPI with GPIO :P

Re: SPI on final PCB

Posted: Mon Nov 28, 2011 4:52 pm
by mahadevan
Till R-pi team gives SPI-drivers in future editions, one can use SPI over GPIO using bit-banging.

Some working SPI/I2C drivers in linux are vailable in OpenWRT/DD-WRT projects .

Re: SPI on final PCB

Posted: Tue Nov 29, 2011 9:17 pm
by nghia
Hi Liz,

In order to enable one to develop a SPI driver, would you release the required information on the SPI block of the Broadcom SoC? If yes, when could you release such info?

Thanks

Re: SPI on final PCB

Posted: Tue Nov 29, 2011 9:20 pm
by tntexplosivesltd
From memory, it has been stated that we will be provided with full documentation

Re: SPI on final PCB

Posted: Wed Nov 30, 2011 7:10 pm
by Warringer
In the meantime it should be possible to bit-bang the SPI with the GPIO.

Re: SPI on final PCB

Posted: Sat Dec 31, 2011 11:26 pm
by vacoloco
Is this still the case? I mean, that initially SPI won't be supported in the kernel build?

For me, this is a key feature as I want to interface to an FPGA and some SPI DACs.

Re: SPI on final PCB

Posted: Sun Jan 01, 2012 1:22 pm
by Michael
Yes, this is still the case.  There is no appropriate SPI driver in the upstream so it'll have to be written and the Raspberry Pi team are far too busy getting the board out of the door and all the other tasks such as getting an office set up, geting cases designed, getting documentation in place and getting legals sorted, to be writing SPI drivers any time soon.  Its simply too far down in their list of priorities.

Writing an SPI driver would seem, on the face of it, exactly the kind of task of which the community would be capable.  I'm sure that such a driver would emerge in the months after the boards start getting into the hands of the enthusiasts.

Re: SPI on final PCB

Posted: Sun Jan 01, 2012 7:18 pm
by jwatte

Writing an SPI driver would seem, on the face of it, exactly the kind of task of which the community would be capable.  I'm sure that such a driver would emerge in the months after the boards start getting into the hands of the enthusiasts.


Send me a board and the register description and I'll write you a driver right away

Re: SPI on final PCB

Posted: Tue Jan 03, 2012 2:00 pm
by David Calvo
See

http://www.raspberrypi.org/for.....ing/page-2

I do not think drivers are a problem