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

nRF52 USB instability with USB CDC and USB MSC instantiated

Hello,

I'm working with nRF52840 and SDK v15.2.

I implemented an USB layer with CDC and MSC classes based on nRF examples. All seems to work fine. The USB Serial port is available and I can send/receive data from it. The MSC drive is also properly mounted and I can access it.

But after receiving / sending data over USB serial port for 3, 10 or 15 minutes (it's random), I can't receive data anymore.

Looking at the USB event, I don't receive APP_USBD_CDC_ACM_USER_EVT_RX_DONE event reported from cdc_acm_user_ev_handler. But I noticed I receive APP_USBD_EVT_DRV_RESET event from USBD User defined event processor handler. 

The issue doesn't appear if USB MSC class is not instantiated.

Do you have any idea how to solve this issue ?

Best regards,

Aurélie

Parents Reply Children
Related