How to set the associated registers of nRF52840 for Ble_LR125Kbit and Ble_LR500Kbit modes. The following configuration did not lead to successful communication. Please help me to find the reason. Is there any example program available somewhere provided by NORDIC?Thanks!
NRF_RADIO->CRCCNF = (RADIO_CRCCNF_LEN_Three << RADIO_CRCCNF_LEN_Pos);
NRF_RADIO->CRCINIT = 0xFFFFFFUL; // Initial value
NRF_RADIO->CRCPOLY = 0x100065BUL;
NRF_RADIO->PCNF0 = (0UL << RADIO_PCNF0_S1LEN_Pos) |
(0UL << RADIO_PCNF0_S0LEN_Pos) |
(8UL << RADIO_PCNF0_LFLEN_Pos) |
(0UL << RADIO_PCNF0_CILEN_Pos) | //CI
(1UL << RADIO_PCNF0_TERMLEN_Pos) | //TERM
(3UL << RADIO_PCNF0_PLEN_Pos); //for Ble_LR500Kbit AND 125Kbit
NRF_RADIO->MODE =(RADIO_MODE_MODE_Ieee802154_250Kbit << RADIO_MODE_MODE_Pos);