This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

proptietary RF

I use the following settings to communicate with the nRF24L. But there is no connection. What's wrong?

NRF_RADIO->TXPOWER = (RADIO_TXPOWER_TXPOWER_0dBm << RADIO_TXPOWER_TXPOWER_Pos);
NRF_RADIO->MODE = (RADIO_MODE_MODE_Nrf_2Mbit << RADIO_MODE_MODE_Pos);
NRF_RADIO->FREQUENCY = 2U;
NRF_RADIO->BASE0 = 0xE7E7E7E7;
NRF_RADIO->PREFIX0 = 0xE7;
NRF_RADIO->TXADDRESS = 0;
NRF_RADIO->PCNF0 = (6UL << LFLEN) | (0UL << S0LEN) | (3U << S1LEN);
NRF_RADIO->PCNF1 = (32UL << MAXLEN) | (4UL << BALEN) | (1UL << ENDIAN);
NRF_RADIO->CRCCNF = (2UL << 0);
NRF_RADIO->CRCINIT = 0xFFFFUL;
NRF_RADIO->CRCPOLY = 0x11021UL;
NRF_RADIO->TIFS = 250UL;
NRF_RADIO->PACKETPTR = (uint32_t)payload;
Related