Hello,
Like in the description, I dont get this to work. Im trying to get The nRF24L01+ connected to a PIC16LF18345. I did Some Pictures of the SPI logic and Here is a Part of the Code Ive written of the configuration for carrier Signal like described in the datasheet.
while(1) { if(PORTCbits.RC4 == 0) //Startswitch { __delay_ms (2500); spi_start(); spi_rx(0b00100000); //W + Reg CONFIG spi_rx(0x02); //PWR UP spi_stop(); __delay_us(1700); spi_start(); spi_rx(0b00100110); //W + Reg RF_SETUP spi_rx(0b10010110); spi_stop(); spi_start(); spi_rx(0b00100101); //W + Reg RF_CH spi_rx(0x22); spi_stop(); while(1){ PORTCbits.RC7 = 1; //CE } } }
I have tried almost everything and so now im here and ask for help :)