1

Closed

ChipSelect on SPI bus

description

There seem to be some confusion to module makers about CS pin on SPI. The specs has CS signal on pin #6 but this pin is simply a GPIO. Makers are assuming this is automatically handled.

The pin can be changed to GPIO or add a note maybe like "recommended for CS"

Thanks

Gus - GHI Electronics
Closed Apr 19, 2013 at 9:39 PM by JanKuceraMSFT
CS pin removed from the specification.

comments

errolt wrote Feb 9, 2013 at 7:09 PM

Or change the first initializer from this:
public SPI(Socket socket, Configuration spiConfiguration, Sharing sharingMode, Module module)
: this(socket, spiConfiguration, sharingMode, Socket.UnspecifiedPin, module)
To something like this:
public SPI(Socket socket, Configuration spiConfiguration, Sharing sharingMode, Module module)
: this(socket, spiConfiguration, sharingMode, socket.ReservePin(Socket.Pin.Six, module), module)

wrote Feb 22, 2013 at 12:45 AM

wrote Apr 19, 2013 at 9:39 PM

wrote May 16, 2013 at 12:26 PM