Part Number: TUSB8044
Hi sir,
Do you have TUSB8044AIRGCR eye diagram testing method and command under Linux?
Thanks a lot!
HI,
You can try the following command:
/* Send Endpoint Reflector control transfer */
int ret = libusb_control_transfer(handle, bmRequestType, bRequest, wValue, wIndex, NULL, 0, 5000);
// for usb2
uint8_t bmRequestType = 0x23;
uint8_t bRequest = 0x03;// set feature
uint16_t wValue = 0x0015;
uint16_t wIndex = 0x040x;// 4 is test package. x is port
unsigned char *data = 0;
uint16_t wLength = 0x0000;
unsigned int timeout_ = 50000000;
// for usb3
uint8_t bmRequestType = 0x23;
uint8_t bRequest = 0x03;// set feature
uint16_t wValue = 0x0005;
uint16_t wIndex = 0x0A0x;// x is port number
unsigned char *data = 0;
uint16_t wLength = 0x0000;
unsigned int timeout_ = 50000000;