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

Software example for USB communication with a PC

Hi,

looking for some examples I found this ticket but links inside seem not working.
https://devzone.nordicsemi.com/f/nordic-q-a/146/example-software-for-usb-communication-of-nrf24lu1p


I was looking for some example on how to interface a PC software with the USB dongle nRF24LU1P.
I'm trying to interface using winusbnet on a WPF application.
Thanks.

  • Hi Torbjørn,

    thanks for your support.

    As you probably know I opened another case on a similar topic. We found that there is a way where Windows can automatically install Winusb driver for a device relying on descriptors that are provided by the device. We prefer to choose that way instead of dealing with driver signature and installation. The link you provided can be useful anyway.

    Best regards.

  • Hi Alessio

    Thanks for the information, I must admit I was not aware of this. 

    After getting USB support back in the nRF52 series (the nRF51 series did not support it) most of the examples have been based on the CDC class, since this USB class doesn't require manual driver installation on most platforms, and provides functionality very similar to Winusb. Also, since a CDC device looks like a normal comport on the host side it is often easier to integrate with it from an application developer point of view (most development environments have some kind of serial class). 

    Best regards
    Torbjørn

  • Hi Torbjørn,

    we've finally implemented USB descriptors on the device so it is recognized as a WINUSB compatible device and driver is automatically provided by Microsoft.

    Regarding new devices of the nRF52 series are they going to replace the nRF24? The new devices can be used to obtain the same features of nRF24 with "static pairing" between multiple transmitters and a receiver with USB interface?

    Thanks

  • Hi Alessio

    Good to hear you found a solution. 

    The nRF52 series is definitely considered a replacement of the nRF24L series, yes. It supports most features of the nRF24L series, and a host of new features. 

    When you refer to "static pairing" do you mean static pairing of devices over ESB or Gazell?

    Best regards
    Torbjørn

  • Hi Torbjørn,

    for static pairing, yes, it's over ESB or Gazell in a manner that there are up to 3-4 transmission device sending data to an USB receiver that is plug and play, without configuration. Addresses should be stored in the uC of the receiver and in the uC of each device.

    You said "It supports most features of the nRF24L series", is there a list of which features are supported and which are dropped?

    Best regards,

    Alessio

Related