Using radio_test sample on custom board.

Hi,

I want to run the radio_test sample on a custom board, how do I go about doing this?

The custom board uses a UBLOX NINA B401- which utilises the nRF52833 chip. Do you have any examples available for the UBLOX NINA B401 chip, including how to set up a dts for custom boards etc. 

I have the radio test sample running successfully using two nRF52840-DK boards, using nRF connect SDK on Visual Studio.

  • Hi,

    I have set  ONFIG_RADIO_TEST_POWER_CONTROL_AUTOMATIC=n so now I should be able to get 8dBm from nrf52833 chip on my custom board but now also able to set the nrf21540 FEM output power using fem tx_power_control command. So, to confirm the total output power will be that from out_power command (max 8dBm) plus power set from fem tx_power_control.

    Could you explain the rx and tx sweep functions too and what to be expected to see. Also is it possible to connect the custom board to the RSSI viewer to get a visual representation of the sweep, as currently it says 'no device set up found'

    Also, can you confirm difference in commands start_tx_carrier and  start_tx_modulated_carrier

  • Hi,

    nicoled123 said:
    Could you explain the rx and tx sweep functions too and what to be expected to see

    For both tx and rx sweep you specify the start and end channel using start_channel and end_channel. Then start the sweep. The time spent on each channel is also configurable by the time_on_channel command.

    nicoled123 said:
    Also is it possible to connect the custom board to the RSSI viewer to get a visual representation of the sweep, as currently it says 'no device set up found'

    Note that you would need a separate device for the RSSI viewer. This is then in Tx and is scanning the frequency band (channel by channel) to show the activity. This should work with any nRF52 series DK, but may not work on custom board, and not boards without DCDC and 32.768 kHz oscillator as it programs the device with a pre-compiled hex file that is needed.

    nicoled123 said:
    Also, can you confirm difference in commands start_tx_carrier and  start_tx_modulated_carrier

    start_tx_carrier will output a clen carrier wave, without any modulated signal. start_tx_modulated_carrier on the other hand will output a modulated signal with a random payload.

  • Thanks for your help!

    Could you aslo provide the answer for: 

    'I have set  CONFIG_RADIO_TEST_POWER_CONTROL_AUTOMATIC=n so now I should be able to get 8dBm from nrf52833 chip on my custom board but now also able to set the nrf21540 FEM output power using fem tx_power_control command. So, to confirm the total output power will be that from out_power command (max 8dBm) plus power set from fem tx_power_control'

    Thanks,

    Nicole

  • Hi Nicole,

    You are right. If using SDK 2.7 or newer, you use "fem tx_power_control" to set the gain of the FEM when you have set CONFIG_RADIO_TEST_POWER_CONTROL_AUTOMATIC=n. With this, the output power will essentially be the output power of the nRF5 in dBm plus the configured gain of the FEM in dB. (some deviation in output power is expected with different frequency, supply voltage and temperature).

    Br,

    Einar

Related