CDC ACM usb problem.

Hello all,

I have 2 problem that I can not understand why.

1) Now cdc_acm isn't working anymore, but until 2 days ago it was working perfectly. I didn't change nothing. When I plug the USB cable to NRF52833DK in the NRF teminal I have the following message "usb_cdc_acm: Device Suspended" -> "usb_cdc_acmDevice Resumed" -> "usb_cdc_acmDevice Suspended", and Windows show me alert "Unknown device, descriptor request failed, error code 43. I have already tried with different USB cable, in different USB port, on second PC, in second DK (52840) and I have always the same result.

2) The second problem is the following:
I have second project on cdc_acm and when all worked goods, my purpose it was to pass "NRF USB" serial data to "UART_0" and viceversa (pass"UART_0" serial data to "NRF USB").
Everything it was good if I serial data gone from UART_0 to NRF USB. If the direction was the opposit (NRF USB to UART_0) i can see only the 32 byte and i can not understand why. I tried to change ring buffer size but without any result. My targhet is pass 128 byte in both direction.

Thanks to anyone that can help me
Best regards

Parents
  • Hi,

     

    1) Now cdc_acm isn't working anymore, but until 2 days ago it was working perfectly. I didn't change nothing. When I plug the USB cable to NRF52833DK in the NRF teminal I have the following message "usb_cdc_acm: Device Suspended" -> "usb_cdc_acmDevice Resumed" -> "usb_cdc_acmDevice Suspended", and Windows show me alert "Unknown device, descriptor request failed, error code 43. I have already tried with different USB cable, in different USB port, on second PC, in second DK (52840) and I have always the same result.

    Which version of ncs are you using? Have you tried using the stock (ie. unchanged) example and see if that works?

    2) The second problem is the following:
    I have second project on cdc_acm and when all worked goods, my purpose it was to pass "NRF USB" serial data to "UART_0" and viceversa (pass"UART_0" serial data to "NRF USB").
    Everything it was good if I serial data gone from UART_0 to NRF USB. If the direction was the opposit (NRF USB to UART_0) i can see only the 32 byte and i can not understand why. I tried to change ring buffer size but without any result. My targhet is pass 128 byte in both direction.

    Which example is this? Are you using the connectivity_bridge example (https://github.com/nrfconnect/sdk-nrf/tree/main/applications/connectivity_bridge)? 

     

    Kind regards,

    Håkon

Reply
  • Hi,

     

    1) Now cdc_acm isn't working anymore, but until 2 days ago it was working perfectly. I didn't change nothing. When I plug the USB cable to NRF52833DK in the NRF teminal I have the following message "usb_cdc_acm: Device Suspended" -> "usb_cdc_acmDevice Resumed" -> "usb_cdc_acmDevice Suspended", and Windows show me alert "Unknown device, descriptor request failed, error code 43. I have already tried with different USB cable, in different USB port, on second PC, in second DK (52840) and I have always the same result.

    Which version of ncs are you using? Have you tried using the stock (ie. unchanged) example and see if that works?

    2) The second problem is the following:
    I have second project on cdc_acm and when all worked goods, my purpose it was to pass "NRF USB" serial data to "UART_0" and viceversa (pass"UART_0" serial data to "NRF USB").
    Everything it was good if I serial data gone from UART_0 to NRF USB. If the direction was the opposit (NRF USB to UART_0) i can see only the 32 byte and i can not understand why. I tried to change ring buffer size but without any result. My targhet is pass 128 byte in both direction.

    Which example is this? Are you using the connectivity_bridge example (https://github.com/nrfconnect/sdk-nrf/tree/main/applications/connectivity_bridge)? 

     

    Kind regards,

    Håkon

Children
Related