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

USB nRF52840 Dongle functionality

Hi All.

I am aware that the USB nRF52840 Dongle does not support debugging but, can this device issue AT commands to a remote nRF52840 module in order to check the value of different variables or even set them with different values? Thanks so much for your time.

  • Hi,

    I'm not sure I understand completely what you are asking. Do you want to send AT commands from a nRF52840 Dongle to another nRF52840 module? On what media do you want to send the commands (UART, USB, Bluetooth)?

    Best regards,
    Jørgen

  • Hi Jørgen.
     
    I have an uBlox module with Nordic's nRF52840 chip integrated on it. More precisely a NINA-B312 module, and all I want is to use the USB nRF52840 to interact by Bluetooth 5.0 with it, read the value of several variables and set them at my which. For instance the Tx conducted power, set the PHY modulation to Coded PHY, customize the Name of the module, define the NINA roll (Central, Peripheral etc) in case I build a one to one connection between two NINA modules, or measure the real range one NINA-B3 module really can achieve in coded PHY mode.
    I understand that AT commands is a fair method to do all this and my question again would be: is your USB Dongle able (off course with the proper Windows sw you may suggest me) to transmit these commands? or a nRF52840 DK would be mandatory in this case?
     
    Thanks so much.
  • We do not have any AT command examples. The closest would be a CLI example that can be used to interact with the IC over USB interface. 

    The BLE Interactive Command Line Interface Example seems to do most of what you are requesting. It does not have a project for PCA10059 (nRF52840 Dongle), and it is not configured for using the USB port as backend for the CLI library (only RTT and UART), but both these things should be quite simple to modify.

    Have a look at the Command Line Interface library documentation, and my comments in this thread.

  • Hi Jorgen. Thanks for your answer and let me ask you. Apart from the commands described in the BLE Interactive CLI  Example, where could I find --if there is any-- a complete list of  CLI commands I could issue in a nFR5 SDK  v15.2.0 environment?

    Like for instance:

    Command Argument Description
    cancel Cancel the sweep or the carrier.
    data_rate <sub_cmd> Set the data rate.
    end_channel <channel> End the channel for the sweep.
    output_power <sub_cmd> Output power set.
    parameters_print Print current delay, channel, and other parameters.
    print_rx Print the received RX payload.
    start_channel <channel> Start the channel for the sweep or the channel for the constant carrier.
    start_duty_cycle_modulated_tx <duty_cycle> Duty cycle in percent (two decimal digits, between 01 and 99).
    start_rx Start RX.
    start_rx_sweep Start the RX sweep.
    start_tx_carrier Start the TX carrier.
    start_tx_modulated_carrier Start the modulated TX carrier.
    start_tx_sweep Start the TX sweep.
    time_on_channel <time> Time on each channel (between 1 ms and 99 ms).
    toggle_dcdc_state <state> Toggle DC/DC converter state.
    transmit_pattern <sub_cmd> Set transmission pattern.

    if you want to test the radio.

    Thanks so much.

Related