APP_USBD_HID_USER_EVT_OUT_REPORT_READY trigger only one time with USB OTG

Hello,

I'm having a weird problem while doing a communication between nRF52840( perpherial device ) with USB OTG ( STM32 ).

I'm trying send out the data from USB OTG -> nRF52840 via HID OUT endpoint.

I only get the event APP_USBD_HID_USER_EVT_OUT_REPORT_READY one time and get the data by API app_usbd_hid_generic_out_report_get

From second time, I can't get APP_USBD_HID_USER_EVT_OUT_REPORT_READY  any more?

Any require ment to clear the buffer?

I know that I have to call 

while(1)
{
app_usbd_event_queue_process();

}

but it doesn't work

Any idea?

Related