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

gazell anomaly 107 in nRF52840

To the kind attention of the Nordic support team,

Hi to you all, I have got legacy gazell code running on nRF24. In old code the following instructions was used:

hal_nrf_set_address(HAL_NRF_PIPE0, arrayX) being arrayX = { 0, 0, 0, 0, 0}.

I tried to do the same thing when setting a gazell host using nRF52840:

nrf_gzll_set_base_address_0(0x00000000);

nrf_gzll_set_address_prefix_byte(0, 0x0);

but it does seem that those instructions trigger a fault and the firmware doesn't work anymore.

I imagine that it is due to the gazell anomaly 107 as you kindly specify in your own documentation

https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v14.0.0%2Fgroup__gzll__02__api.html

(Software Development Kit à nRF5 SDK v15.3.0 à Api reference à Proprietary stacks à Gazell Link Layer)

I'd like to have a confirmation from you, if possible, and ask if you will solve this anomaly in the foreseeable future.

Thanks for paying attention and for your work.

Cheers

  • Hi

    In general using an address consisting entirely of zeroes is not a good idea, and will lead to increased packet loss on any of our radios. 

    The nRF52 series behaves even worse in this regard, and devices affected by anomaly 107 will not get any packets through.

    While anomaly 107 is fixed in later revisions of the nRF52832, I don't think this will help for an address with only zeroes, as this address is affected by a slightly different issue. Essentially 0x0000000000 is the reset value of the internal address compare register, and if you set the RF address to the same value then you will get an immediate address match once you enable the radio. 

    In the nRF24L documentation we used to have the following recommendation regarding addresses:

    "Note: Addresses where the level shifts only one time (that is, 000FFFFFFF) can often be detected in
    noise and can give a false detection, which may give a raised Packet Error Rate. Addresses
    as a continuation of the preamble (hi-low toggling) also raises the Packet Error Rate."

    I would strongly suggest using an address following this recommendation, to avoid issues with RF communication, and if you do you should also be able to configure the Gazell library accordingly for the nRF52840. 

    Best regards
    Torbjørn

Related