Anonymous
Not applicable
May 13, 2015
07:09 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 13, 2015
07:09 PM
Is it possible to set USB endpoint interval (1-255ms) from the program to dynamically change the update rate. I understand that host is using this parameter and renegotiation of the connection might be needed.
Labels
- Labels:
-
PSoC 5LP
2 Replies
May 15, 2015
03:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 15, 2015
03:38 AM
Hi,
It is not possible to change the interval dynamically as this is part of the endpoint descriptor. You can have different interavl set for the same endpoint and have it in different alternate settings. I'm not sure if this solution is feasible for you.
Thanks,
Hima
May 18, 2015
04:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 18, 2015
04:39 AM
Hi,
If you are okay with re-enumerating the device with new descriptor, then it is possible. You can have multiple sets of device descriptor in USBFS component configuration Window. Now based on some condition you can select the device descriptor using the API USBFS_Start(); The first argument in this API stands for which device descriptor needs to be used.Based on your requirement you can call this API with first argument 0,1,2... etc.
Thanks,
Hima