Using spidev driver for spi over gpio-device?
Hi,
Is a SPI device as bitbanged over GPIO enough of a "real" SPI device that the spidev can be used for it? I'm having trouble getting the interfaces to line up.
Thanks,
Orjan
Signature · 9 lines
Orjan Friberg FlatFrog Laboratories AB ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev
Quoted 3 lines
Is a SPI device as bitbanged over GPIO enough of
a "real" SPI device
that the spidev can be used for it?
Yes -- modulo bugs. The bitbanging would be via the SPI master controller, and that's written to be fairly close to a reference implementation.
and spidev is just one possible client.
I'm having
Quoted 3 lines
trouble getting the
interfaces to line up.
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
Quoted 9 lines · David Brownell
Quoted 3 lines
Is a SPI device as bitbanged over GPIO enough of
a "real" SPI device
that the spidev can be used for it?Yes -- modulo bugs. The bitbanging would be via
the SPI master controller, and that's written to
be fairly close to a reference implementation.and spidev is just one possible client.
Great, thanks.
Signature · 9 lines
Orjan Friberg FlatFrog Laboratories AB ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev