Working software spi library

I am trying to use a Nano ENC28J60 ethernet shield with an nRF24L01+ transceiver. When the ethernet shield is on the SPI bus no other device will work.

I have been trying to find a software SPI solution, but I have not been able to get any of the libraries to work.

It has been a very frustrating couple of days. Is there a software SPI library that I use with put my having any problems using?

What SPI software have you tried, and what are the problems?

The RadioHead libraries has one: RadioHead: RHGenericSPI Class Reference

I've used it for testing only and was OK, you might need to adapt it for you case.

But, is there no way to make both running on the hardware SPI? Having troubles with CS/INTs? One thing might help is to always pull-up the CS lines, as well make sure you code use ATOMIC SPI transactions (basically disable the IRQs before talking with an SPI device).

Here a good reference: Better SPI Bus Design in 3 Steps

Cheers,
Mike M.

First, to Mike, I'll look at the link.

I have tried some hardware experiments. If the SPI lines are connected to both the nano shield and anything else, only the shield works. If I remove both the power and the ground wires from the shield, several other devices can coexist. Even adding the ground ire to the shield disables the SPI bus. Somebody is not playing by the rules.

As for what I have tried, it's these:

https://github.com/madsci1016/Sparkfun-MP3-Player-Shield-Arduino-Library/blob/master/SdFat/utility/SoftSPI.h
doesn't compile

There seems to be a syntax error that I can't find

compiles, but I can't get it to work

http://chipkit.net/started/learn-basics/chipkit-compatible-libraries/standard-library-dspi/standard-library-softspi/
doesn't compile

There almost always seems to be something missing that provokes a compiler error.

ash