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

nrf52840

In USB HID Generic Example  implemented mouse example. I need simple hid device for data exchange.Is it possible?

Parents Reply
  • I am sorry if my previous comment was unclear in any way - what I meant to say is that the BLE peripheral HID example that I referenced is available for both the nRF52840 Development Kit and the nRF52 Development Kit ( which indeed features the nRF52832 SoC ). Therefore, if the example is programmed on either the nRF52840 DK or the nRF52 DK there will not be necessary to make any changes to the supplied code / project files for the example to function as described in the example documentation.

    I concur that you would want the USBD controller peripheral when developing a HID device that might find itself connected through either USB or BLE. However, if the HID device is not intended for use with a wired connection then developing on either the nRF52 DK or nRF52840 DK is fine.

    In essence, what @awneil is saying is correct; The nRF52840 and nRF52833 SoC's both have the USBD peripheral, which is what you will need when developing a USB HID Generic Device, @alebo62. The HID USB Generic example is available for both the nRF52840 DK and the nRF52833 DK in nRF5 SDK v.17.

    Thank you for pointing out my mistake, awneil!


    Best regards,
    Karl

    EDIT: My mistake; I see now that the original ticket specifically requested only USB functionality, without BLE - as I thought I had read. I will update the answer to reflect this.

Children
Related