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¡

Parents
  • You would probably have to do a long series of measurements, and add some filtering to your data, to get a more realistic estimate of channel occupancy. The problem is that interferers in the area like WiFi or Bluetooth devices might send data at a very random and unpredictable rate, making it hard to predict which channels might be occupied in the future.

    Best regards

Reply
  • You would probably have to do a long series of measurements, and add some filtering to your data, to get a more realistic estimate of channel occupancy. The problem is that interferers in the area like WiFi or Bluetooth devices might send data at a very random and unpredictable rate, making it hard to predict which channels might be occupied in the future.

    Best regards

Children
No Data
Related