To disable the SuperSpeed operation of FX3, the CyU3PConnectState() API should be called with its second parameter set to CyFalse.
Hi! I think you might have misunderstood me, or I was unclear.
I want to disable all other usb configurations other than Usb3, I need it to stop working if it's not connected to superspeed.
Just if I don't formulate myself well, I only want usb3
Sorry for the misunderstanding. Please use the below code after the CyU3PConnectState() API call to disconnect the FX3 device in case it is not operating at Super Speed.
CyU3PUSBSpeed_t usbSpeed = CyU3PUsbGetSpeed();
if(usbSpeed != CY_U3P_SUPER_SPEED)