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

usbd_cdc_acm example recognized by PC but cdc_acm_user_ev_handler never called

From the latest Nordic SDK 15.2, I'm running the usbd_cdc_acm example on an NRF52840 connected to a PC using USB. The firmware correctly executes the USBD_POWER_DETECTION code path, usbd_user_ev_handler events notify correctly and the PC lists the device's COM port in device manager. Nice!

My simple PC program that opens a serial port and writes characters down the wire works fine over any Arduino device, is able to connect to the 52840 COM port listed in device manager, even the writes are successful, however the firmware never receives events of any kind in the cdc_acm_user_ev_handler callback, no connection event, not RX events, nothing.

Any ideas? Thanks!

Parents Reply Children
No Data
Related