Differences in RADIO register sets between nRF52 and nRF54

I want to control RADIO using the TimeSlot API of nRF54L15.
I have already created the code for nRF52.
However, it seems that RADIO control of nRF54L15 is slightly different from nRF52.
Please tell me how to migrate. (DirectionFinding/ChannelSounding related settings are not required.)

Parents Reply
  • Thanks.

    In addition, the whitning register (DATAWHITE) also seems to be different.
    Also, nrf_radio_datawhiteiv_set() in nrf_radio.h is implemented as follows.

    NRF_STATIC_INLINE void nrf_radio_datawhiteiv_set(NRF_RADIO_Type * p_reg, uint8_t datawhiteiv)
    {
    #if defined(RADIO_DATAWHITEIV_DATAWHITEIV_Msk)
        p_reg->DATAWHITEIV = (((uint32_t)datawhiteiv) & RADIO_DATAWHITEIV_DATAWHITEIV_Msk);
    #else
        p_reg->DATAWHITE &= ~RADIO_DATAWHITE_IV_Msk | (((uint32_t)datawhiteiv << RADIO_DATAWHITE_IV_Pos)
                                                       & RADIO_DATAWHITE_IV_Msk);
    #endif
    }
    

    It seems that this implementation does not set DATAWHITE correctly.

Children
No Data
Related