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

About nrf 52840 dongle

hi, i am using nrf 52840 dongle , is there any support of AT commands to communicate with dongle .i want to communicate without using ui only by sending commands.
if not any cli commands to advertise ,scan and connect .

Parents Reply
  • Hi, 

    shivaraj said:
    can i use USB port( UART )to send and receive data for the above mentioned example.

    The nRF52840 dongle there is no UART connected to the PC, other than the virtual COM port that is used for programming via Serial DFU (USB).

    You should consider the nRF52840 DK instead if you want to develop firmware for the nRF52840. The nRF52840 dongle is primarily intended to be used together with nRF Connect for desktop and is not well suitable as a development board. This is primarily because it lacks an onboard debugger. 

     

    shivaraj said:
    if not, how can i use with nrf52840 dongle ?   

     It depends on what pins you use for the UART. You can see what pins that are available on the dongle by looking at the edges. The UART is not connected to the USB port. 

    So if you want to do this via the dongle, you need to either:

    1: connect something that can communicate via UART to the pins on the Dongle

    2: Port the UART part to USB on the dongle, and then write a script that does what nrfutil does. 

    Please also see Andreas's explanation in this post

    So, it is possible, but it is a bit of work. If what you imagined was using the Dongle as a DK (just plug in the usb and communicate over UART), then this is not possible. When you use UART over USB on a DK, it is actually the Segger chip on the DK that translates from UART to USB. 

    -Amanda H.

Children
Related