Data mixing with CDC ACM & CLI

Hello,

I have a problem when I send data with CDC ACM and using CLI interface my data is mixing. If I put a delay between sending data I have no problem but this solution is not very clean. 

Have you got an idea of why I can fix this problem?

Thank You,

Téo 

Parents
  • Hi Téo

    Can you share some additional information regarding your application/project? What SDK and SDK version are you using? How exactly is your data mixing, do the bytes/logging info weave together in-between each other or do you get any errors of some kind?

    It should be possible to have several USB classes on the same USB peripheral, as long as you initialize them before enabling USB. Have you done any debugging to see if the application throws any errors that might give us an idea of what's going wrong here. It might be some issues with the two creating a race condition of some kind if they have the same interrupt priority for example.

    Best regards,

    Simon

  • I try to use APP_USBD_CDC_ACM_USER_EVT_TX_DONE but it 's always at 1 the transmission is always finish. I find this strange 

Reply Children
No Data
Related