How to setting FX3 to Full Speed | Cypress Semiconductor
How to setting FX3 to Full Speed
I find a API
CyBool_t enable /**< Whether to enable/disable the forced full speed operation. */
in cyu3usb.h and how to use that (how to build the code) !?
the description :
/** \brief Function to send a DEV_NOTIFICATION Transaction Packet to the host.
This API allows the user to send DEV_NOTIFICATION Transaction packets to the USB 3.0 host.
The Notification Type and Notification Type Specific fields are accepted as parameters. None
of the parameters are validated by the API, so the caller needs to ensure validity of these
This API has to be called by the user after ensuring that the link is in U0 state. If the
link is in U1/U2 and a TP has to be sent, the CyU3PUsbSetLinkPowerState API should be called
first to trigger a recovery to U0.
* CY_U3P_SUCCESS - if the DEV_NOTIFICATION TP was successfully send to the host.\n
* CY_U3P_ERROR_NOT_STARTED - if the USB driver has not been started.\n
* CY_U3P_ERROR_OPERN_DISABLED - if the USB connection is not in Super Speed mode or if the link is not in U0 state.