Hi.
I am developing using nRF52820 with SDK 17.0.0 .
I test the USBD using the example code(\nRF5_SDK_17.0.0_9d13099\examples\peripheral\usbd_hid_generic), but the problem occurs in the part below.
nrfx_usbd_enable cannot be done.
nrf_usbd_enable(); /* Waiting for peripheral to enable, this should take a few us */ while (0 == (NRF_USBD_EVENTCAUSE_READY_MASK & nrf_usbd_eventcause_get())) { /* Empty loop */ }
HID is normally operated in Hex file included in SDK, but in dubug using IAR, a problem occurs in this part.
I use segger J-link.