Visual Basic coding to have USB communication with CY8CKIT-001 (PSoC 5)

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

cross mob
vinaym_06
Employee
Employee
Welcome! 5 questions asked First like received

Hi,

   

 

   

I am developing a setup using PSoC 5 and KIT-001. i want to control the activity from my system. so i initiated the USB communication using CYUSB in my VB. using this i can successfully ,communicate to the KIT and i am able to read also.

   

i need to know how can i read the data whenever the bulkIN is not empty. that means, whenever i want to send some data to my PC, my tool in PC must be able t o detect it display that.

   

 

   

Thanks

   

Vinay

0 Likes
2 Replies
himam_31
Employee
Employee
50 likes received 25 likes received 10 likes received

 Hello Vinay,

   

 

   

USB is always a host initiated communication. So the device cannot notify the host saying that the IN EP is full. So the only method for the host is to poll the device continouosly for IN data.

   

 

   

Thanks,

   

Hima

0 Likes
vinaym_06
Employee
Employee
Welcome! 5 questions asked First like received

Thanks HIMA.

0 Likes