How do I communicate between FX3 and Host PC in the UVC by using vendor command interface?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

How do I communicate between FX3 and Host PC in the UVC by using vendor command interface?

   

Hi. 

I'd like to vendor command command communication between FX3 and Host PC in the UVC. 

When I used the below host application code, the FX3 does not response. 

   

USBDevice = new CCyUSBDevice(NULL); // Create an instance of CCyUSBDevice 

How do I communicate between FX3 and Host PC in the UVC by using vendor command interface?

0 Likes
2 Replies
Anonymous
Not applicable

     USBDevice = new CCyUSBDevice(m_hWnd);//MFC

   

unsigned char buf[] = {0x55,0x01,0x02,0x03,0x04,0x05,0xFF,0xFE,0xFD,0xFC,0xAA};
    LONG length = 11;
    if (USBDevice->BulkOutEndPt)
        USBDevice->BulkOutEndPt->XferData(buf, length);

   

   sdk has samples for it.

0 Likes
Anonymous
Not applicable

Would you let me know exactly the path where I can find that information as below
 

   

     USBDevice = new CCyUSBDevice(m_hWnd);//MFC

   

unsigned char buf[] = {0x55,0x01,0x02,0x03,0x04,0x05,0xFF,0xFE,0xFD,0xFC,0xAA};
    LONG length = 11;
    if (USBDevice->BulkOutEndPt)
        USBDevice->BulkOutEndPt->XferData(buf, length);

   

 

   

 I'm using C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3

   

0 Likes