end point not transferring data

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

 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.

0 Likes
2 Replies
ShopithamR_26
Employee
Employee
25 replies posted 10 replies posted 5 replies posted

 Hi,

   

The project is not attached . Please use IE or Firefox to attach the project .

   

Regards,
sobi

0 Likes
ShopithamR_26
Employee
Employee
25 replies posted 10 replies posted 5 replies posted

 Hi,

   

Did your device enumerate correctly ? Please try the Bulk loop example projects that comes along with the Creator to understand how to use the USBFS components .  To find the example project please follow the steps in the given link 

   

http://www.cypress.com/?rID=94637

   

-Sobi

0 Likes