Using an nRF24L01 with an Adafruit Wav Sheild

Hello all,

I'm trying to make my project wireless, I'm using and I have some questions about the SPI interfaces. The nRF24L01 has the following pinout:

with
1 - GND
2 - VCC 3.3V
3 - CE to Arduino pin 8
4 - CSN to Arduino pin 53 (using a mega)
5 - SCK to Arduino pin 52
6 - MOSI to Arduino pin 51
7 - MISO to Arduino pin 50
8 - UNUSED

The problem is that the adafruit shield uses the same 50-53 pins for its SPI interface, I don't think it uses pin 8 though.

I've read that you can just share the SCK, MOSI and MISO lines across 2 SPI devices, but what about CSN or CE, what are CSN and CE and can I connect them to these Pins? One of the libraries for the reciever says CSN and CE are configurable, but I'm not sure how to do this, I'm using the RF24 library from GitHub - maniacbug/RF24: Arduino driver for nRF24L01

Thanks

The SPI interface is a bus so it's no problem to have multiple devices connected to it. Just take care that hey have different pins for the CS signal. As the Adafruit WAV shield must be configured anyway just configure it to not interfere with the nRF24L01.

so I can connect the MOSI, MISO, SCK, and CSN to the same as the wav shield? or does the CSN need to be different? how do I configure the transciever or shield to use a specified pin?

or does the CSN need to be different?

The chip select pin needs to be different.

how do I configure the transciever or shield to use a specified pin?

Ideally, both would take an argument that defined the chip select pin for the device. The wav shield possibly hardwired the chip select pin, so you may not be able to change it, but the radio certainly would not have.