This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C1294NCPDT: Tivaware usblib CDC Host

Part Number: TM4C1294NCPDT

Dear TI support

I am currently working on implementing USBLib CDC host functionality, but I am facing difficulties in getting it to work as expected. 

Issue: 

I was able to initialize the cdc host and a connected serial device gets detected successfully. Sending data is working.
My Problem is, that when trying to receive data the driver does not work properly. I tried it according to the usb_host_serial example project provided by TI.
I've tried different things, but it is still not working stable.

Current status is, I'm getting USB_EVENT_RX_AVAILABLE event, but the data is not always there. In some cases, I'm getting valid data, in some cases, there is no data available, even the event has occured correctly.
In the end my Goal is to have it working non-blocking (currently the implementation in the usblib is blocking)

I saw several posts in this forum already, but unfortunately I did't not found a working solution for me.

Request:

I kindly request your guidance and assistance in resolving this issue. Any insights, code snippets, or troubleshooting tips would be immensely helpful.

Details:

  • No operating system
  • USBLib Version: 2.1.4.178

Thank you for your prompt attention. I appreciate your help in advance.

Best regards,

Sandro