hello, I'm trying to read the status register but all I am receiving is 1111 1111, I tried to change the code to read RX_ADDR_P0, but I also receive 1111 1111. can you tell e what I am doing wrong or provide me with pseudo code telling me the steps I need to take to read/write to the nrf24l01? for now int terms of setup I'm only configuring register 0. here is how I'm trying to read status:
void STATUS(){
digitalWrite(CSN, LOW);
SPI.transfer(0x07);
SPI.transfer(0b00000000);
data = SPI.transfer(0xff); //NOP
digitalWrite(CSN, HIGH);
Serial.println(data, BIN);
}