Conflict between app_usbd_init(&usbd_config) and app_error_check ().

https://devzone.nordicsemi.com/f/nordic-q-a/69596/device-initialization-problems/285611#285611

had gone through above thread.

I am struck exactly at this point.

i am trying to combine USBD and USBD_Audio wth nrf52840 DK, SDK 17.1.0.

/* USB work starts right here */
ret = nrf_drv_usbd_init(usbd_event_handler);
APP_ERROR_CHECK(ret);

NRF_LOG_INFO("USBD audio example started.");

ret = app_usbd_init(&usbd_config);

APP_ERROR_CHECK(ret);

when execution comes to app_usbd_init(&usbd_config) it goes to app_error_check () loop infinitely.

now, how to merge these two events under one usbd _initialization.

looking forward for your suggestion.

Thank you

Deep

Parents Reply Children
No Data
Related