- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I read several posts about FX3 programmatically switch to different speed modes, let's say we have a FX3 dev board that plugs into a xHCI port (support super speed).
Here, what we want is to have FX3 dev board switched to three different speed modes ( plug into xHCI port), from one of the post I know that it can be switch between HS and SS, but not FS, can Cypress fix this?
Thanks,
Henry
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Edited:
The SDK has an API function to prevent FX3 from connecting as a High-Speed device as follows.
NOTE: Call this API before ConnectState API.
Example Code:
/* Make USB Full Speed Connection. */
apiRetStatus = CyU3PUsbForceFullSpeed(CyTrue);
if (apiRetStatus != CY_U3P_SUCCESS)
{
CyU3PDebugPrint (4, "Full Speed Conn Failed, Error code = %d\n", apiRetStatus);
CyFxAppErrorHandler(apiRetStatus);
}
/* Connect the USB Pins with super speed operation DISABLED. */
apiRetStatus = CyU3PConnectState(CyTrue, CyFalse);
if (apiRetStatus != CY_U3P_SUCCESS)
{
CyU3PDebugPrint (4, "USB Connect failed, Error code = %d\n", apiRetStatus);
CyFxAppErrorHandler(apiRetStatus);
}
Regards,
Noriaki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please let me know the use case of your requirement.
Regards,
sai krishna.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Edited:
The SDK has an API function to prevent FX3 from connecting as a High-Speed device as follows.
NOTE: Call this API before ConnectState API.
Example Code:
/* Make USB Full Speed Connection. */
apiRetStatus = CyU3PUsbForceFullSpeed(CyTrue);
if (apiRetStatus != CY_U3P_SUCCESS)
{
CyU3PDebugPrint (4, "Full Speed Conn Failed, Error code = %d\n", apiRetStatus);
CyFxAppErrorHandler(apiRetStatus);
}
/* Connect the USB Pins with super speed operation DISABLED. */
apiRetStatus = CyU3PConnectState(CyTrue, CyFalse);
if (apiRetStatus != CY_U3P_SUCCESS)
{
CyU3PDebugPrint (4, "USB Connect failed, Error code = %d\n", apiRetStatus);
CyFxAppErrorHandler(apiRetStatus);
}
Regards,
Noriaki