What does the define CONFIG_NRF_802154_TEMPERATURE_UPDATE do?

I started a project from an example and see that this constant is defined =n in the prj.conf. I am wondering what effect this define has? I can't find any definition with a Google search other than a description that mirrors the define. Is it something to do with calibrating the radio over temperature? If so, why wouldn't I want it defined as "y"?

Parents
  • Hi Simon,

    You can find its usage in zephyr\modules\hal_nordic\nrf_802154\sl_opensource\platform\nrf_802154_temperature_zephyr.c and it finally go to the following function.

    /**
     * @brief Adjusts the CCA ED threshold value using a temperature correction factor.
     *
     * @param[in]  cca_ed  Value representing the CCA ED threshold to be corrected.
     *
     * @returns CCA ED threshold value corrected by a temperature factor.
     */
    uint8_t nrf_802154_rssi_cca_ed_threshold_corrected_get(uint8_t cca_ed);
    You can definitely enable this function, but this will consume more CPU resource and power. It may not make big difference if your device running under room temperature. You can evaluate the difference when you are running your application at a specific environment.
     
    Best regards,
    Charlie
Reply
  • Hi Simon,

    You can find its usage in zephyr\modules\hal_nordic\nrf_802154\sl_opensource\platform\nrf_802154_temperature_zephyr.c and it finally go to the following function.

    /**
     * @brief Adjusts the CCA ED threshold value using a temperature correction factor.
     *
     * @param[in]  cca_ed  Value representing the CCA ED threshold to be corrected.
     *
     * @returns CCA ED threshold value corrected by a temperature factor.
     */
    uint8_t nrf_802154_rssi_cca_ed_threshold_corrected_get(uint8_t cca_ed);
    You can definitely enable this function, but this will consume more CPU resource and power. It may not make big difference if your device running under room temperature. You can evaluate the difference when you are running your application at a specific environment.
     
    Best regards,
    Charlie
Children
No Data
Related