Skip to contentSkip to conversation

Using spidev driver for spi over gpio-device?

DISCUSSION Orjan Friberg 2 participants 3 messages Aug 12, 2010 2 messages not in the archive SPI

lore
Share & tools
lore
#0 lore raw

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 

A message that is not in the archive (sent off-list or not yet received): 4C63B034.1000007-Gxjboj7dVqxWk0Htik3J/[email protected]

#2 lore raw
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

A message that is not in the archive (sent off-list or not yet received): 556655.15797.qm-g47maUHHHF8HBU+L9ui1Svu2YVrzzGjVVpNB7YpNyf8@public.gmane.org

#4 lore raw
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