2 Replies Latest reply on Jul 7, 2014 1:23 PM by shopitham.ram

    end point not transferring data

    prakhar.kumar

       Hi guys,

         

      I am using an adc and USBFS (not USBUART) in a project. The adc output is being displayed on the lcd and simultaneously also being loaded into the endpoint of usb. I have configured usbfs for bulk transfer with endpoint 1 set for IN mode.

         

      However on execution, the transfer is not taking place and the program gets stuck at this command:

         

      while(USBFS_GetEPState(IN_EP)!=USBFS_IN_BUFFER_EMPTY);

         

      I have attached my project file under the folder name "proj3".

         

      I would be grateful for any suggestions quickly.