Hi, I found the solution:
nRF24L01 | NanoPi NEO Air
_________|________________
VCC -------| OUT 3.3V
GND -------| GND
CSN ------- | PC3 (SPI0-CS)
CE --------- | PA1 (UART2-RX)
MOSI ------ | PC0 (SPI-MOSI)
SCK --------| PC2 (SPI-CLK)
MISO -------| PC1 (SPI-MISO)
Changes in gettingstarted.cpp:
diff --git a/examples_linux/gettingstarted.cpp b/examples_linux/gettingstarted.cpp
index d25155e..278c3fe 100644
--- a/examples_linux/gettingstarted.cpp
+++ b/examples_linux/gettingstarted.cpp
@@ -46,7 +46,7 @@ using namespace std;
//RF24 radio(RPI_V2_GPIO_P1_15, RPI_V2_GPIO_P1_24, BCM2835_SPI_SPEED_8MHZ);
// RPi generic:
-RF24 radio(22,0);
+//RF24 radio(22,0);
/*** RPi Alternate ***/
//Note: Specify SPI BUS 0 or 1 instead of CS pin number.
@@ -66,7 +66,7 @@ RF24 radio(22,0);
// See https://www.kernel.org/doc/Documentation/spi/spidev for more information on SPIDEV
// Setup for ARM(Linux) devices like BBB using spidev (default is "/dev/spidev1.0" )
-//RF24 radio(115,0);
+RF24 radio(1,0);
//BBB Alternate, with mraa
// CE pin = (Header P9, Pin 13) = 59 = 13 + 46