How to clear the data in the IN endpoint?

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

cross mob
Anonymous
Not applicable

Hi all,  I cannot find the effective way to flush the data in the IN endpoint of Cy68013a.

   

I set the EP2IN: bulk mode, 512byte x 4. Everytime I want to read the incoming data, I have to read out the remain 2k byte data in the endpoint first. Is there any to flush the remain data?  So I can get the data I want without reading the first 2k byte data.

0 Likes
1 Reply