This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

USBD CDC establishing connection has huge latency

Hi, 

I have implemented the USBD CDC ACM driver into my firmware. What stands out is the latency as soon as the event 

APP_USBD_CDC_ACM_USER_EVT_PORT_OPEN 

triggers, my terminal emulator takes some time to actually establish the connection (i.e. until the communication channel can actually be used)

This must be related to the firmware since this happens on a macOS Terminal emulator as much as on a Windows emulator.

What's happening in the background here?

BR
Parents
  • Hello, 

    From your previous ticket no 281204

    Which version of the nRF Connect SDK are you using?

    Have you checked out the standard cdc_acm sample in Zephyr?

    If you look at the project configuration file and the main file you can usually get a good overview of which configuration settings and init code you need to use a specific feature, and you can copy paste it into your own project. 

    Just be aware that some of the config might be set already, and you should avoid duplication. 

    Kind regards,
    Øyvind

Reply
  • Hello, 

    From your previous ticket no 281204

    Which version of the nRF Connect SDK are you using?

    Have you checked out the standard cdc_acm sample in Zephyr?

    If you look at the project configuration file and the main file you can usually get a good overview of which configuration settings and init code you need to use a specific feature, and you can copy paste it into your own project. 

    Just be aware that some of the config might be set already, and you should avoid duplication. 

    Kind regards,
    Øyvind

Children
Related