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

Register RPD in NRF24LE1

Im try to read the RPD register, but always get the same value RPD=0

uint8_t channel=0;
int index;
hal_nrf_set_operation_mode(HAL_NRF_PRX);
hal_nrf_set_power_mode(HAL_NRF_PWR_UP);
CE_HIGH();
for( index = 0; index<126; index++)´
{
   hal_nrf_set_rf_channel(channel);
   if(hal_nrf_get_carrier_detect())
      {putstring("Channel Busy");}
    else { putstring("Channel Free");  }
    channel++;
 }

The output is all channels are free. How could I can read correctly the RPD?

Regards¡

Related