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

nRF Radio default values on the uart example

Hi all,

I wanted to know the default values for the different NRF Radio paramateres in the ble_uart example.

I want to make some tests but not sure what is set as default on the FREQUENCY, TXPOWER and MODE of the NRF_RADIO_Type.

  • Hello Jorge

    Under the radio section in the product specification you find the registers subsection. As an example the registers subsection of the nRF52832 product specification begins on page 213, section 23.14. If you go to the detailed explanation of the different registers you will see the reset value at the top. This is the default value for the register on reset.

    For the nRF52832 you will find the default values are

    FREQUENCY: 2402MHz, TXPOWER: 0dBm, MODE: Nrf_1Mbit
    

    Please note that you cannot manipulate these registers directly when using the SoftDevice, as it will take control of the radio hardware registers, see the resource requirements for the SoftDevice you are using in the SoftDevice specification.

    To change these parameters when using the SoftDevice you will need to use the SoftDevice API. You can find API information on the infocenter under each SoftDevice. For an example on the use of this API and changing modes you can look at the mtu throughput examples, which are located in the ble_central_and_peripheral examples folder.

    Best regards

    Jørn Frøysa

  • Hi Jorn,

    I am using the chip nRF51422, and on it product specification it doesn't have that values. I have the PS V3.2 of the nRF51422, I can see some explanations on the radio but not the register values. Or maybe I am not searching on the correct place.

    Another question, Do you know the width of each advertising pulse envelope, so the time from the start of the advertising packet to the end? Or the information to calculate it?

  • For the nRF51 series you have a separate reference manual in which the registers are listed. You will find the radio registers on page 90.

    The timing is dependent on certain settings and your payload size, you can use the Online Power Profiler tool to see approximate values based on measurements, there is also a link there to a blog post explaining how the measurements were done.

Related