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

applying radio override values

Do we need to explicitly set the ENABLE field (Bit31) of RADIO->OVERRIDE4 when applying the override values from FICR->BLE_1MBIT[n]?

From the few samples I've checked, the MSB of FICR->BLE_1MBIT[4] is already set.

thank you Jing

Parents
  • Hi, this is already handled by the softdevice and direct_test_mode example in the SDK. There is no need to do anything except what is already done in the direct_test_mode example:

    if ( ((NRF_FICR->OVERRIDEEN) & FICR_OVERRIDEEN_BLE_1MBIT_Msk) == FICR_OVERRIDEEN_BLE_1MBIT_Override)
    {
        NRF_RADIO->OVERRIDE0 = NRF_FICR->BLE_1MBIT[0];
        NRF_RADIO->OVERRIDE1 = NRF_FICR->BLE_1MBIT[1];
        NRF_RADIO->OVERRIDE2 = NRF_FICR->BLE_1MBIT[2];
        NRF_RADIO->OVERRIDE3 = NRF_FICR->BLE_1MBIT[3];
        NRF_RADIO->OVERRIDE4 = NRF_FICR->BLE_1MBIT[4];
    }
    
Reply
  • Hi, this is already handled by the softdevice and direct_test_mode example in the SDK. There is no need to do anything except what is already done in the direct_test_mode example:

    if ( ((NRF_FICR->OVERRIDEEN) & FICR_OVERRIDEEN_BLE_1MBIT_Msk) == FICR_OVERRIDEEN_BLE_1MBIT_Override)
    {
        NRF_RADIO->OVERRIDE0 = NRF_FICR->BLE_1MBIT[0];
        NRF_RADIO->OVERRIDE1 = NRF_FICR->BLE_1MBIT[1];
        NRF_RADIO->OVERRIDE2 = NRF_FICR->BLE_1MBIT[2];
        NRF_RADIO->OVERRIDE3 = NRF_FICR->BLE_1MBIT[3];
        NRF_RADIO->OVERRIDE4 = NRF_FICR->BLE_1MBIT[4];
    }
    
Children
No Data
Related