We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello!
I'm currently trying to implement a simple USB CDC Host. I used the following thread as reference: http://www.keil.com/forum/20569/ by Tsuneo Chinzei! It works well so far, I could enumerate my device and successfully used USBH_BulkSendData() to communicate with the OUT-Endpoint. But when I use the USBH_BulkReceiveData() function the STM32 always goes into an USB-interrupt loop. Do I have to poll (HCD_GetURB_State(pdev , MSC_Machine.hc_num_in) == URB_DONE) first or maybe send an IN-Token first (if yes, which function is that?)?