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

nrf52840 stops working in USB CDC ACM example

Hi,

I'm trying to run the usbd_cdc_acm example from SDK 15.3.0 on the nRF52840 Preview DK. While debugging, the code was running fine until I connect the nRF USB, at this point it keeps running for some short time and then the code just gets stuck on the function nrfx_systick_delay_ticks because the internal clock seems to have stopped working (the function nrf_systick_val_get only returns 0 at that point). Before the program gets stuck, the board never pops up as a USB device either.

I'm using Segger Embedded Studio. Also, nrfx_usbd_errata_187() returns false.

Thanks in advance!

Related