Cannot get USB frame count value

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

cross mob
PeWo_291316
Level 1
Level 1

Anytime I call "CyU3PUsbGetDevProperty(CY_U3P_USB_PROP_FRAMECNT,&Frame);" I get "CY_U3P_ERROR_BAD_ARGUMENT" returned. I am succesfully firing a USB event callback on each SOF and I then need to detect the '0' frames whilst still in the event callback. I am using 1.2.3 libraries. How do I make this work?

0 Likes
1 Reply
Anonymous
Not applicable

Hi,

   

You can get the framecount value only if your device connection is in USB 2.0 mode.

   

Based on the output that you are seeing, I am assuming that your device connection is in SuperSpeed.

   

Please confirm this.

   

Thanks,

   

Sai Krishna.

0 Likes