This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

VID/PID USB

I am using TIVA on my device and I have received the VID/PID from TI. The VID is the same n. I had for the Launchpad...the PID is new/ Where should I update these two  numbers in my SW application?

  • Hello Gianluca,

    It has to be put in the structure pointed to the control channel endpoint. As an example for Serial COM port it is defined in the structure tUSBDCDCDevice in the file usblib/device/usbdcdc.h

    Regards
    Amit
  • thanks Amit,
    I was asking because i found this:
    tUSBDBulkDevice g_sBulkDevice =
    {
    USB_VID_TI_1CBE,
    USB_PID_BULK,
    500,
    USB_CONF_ATTR_SELF_PWR,
    USBBufferEventCallback,
    (void *)&g_sRxBuffer,
    USBBufferEventCallback,
    (void *)&g_sTxBuffer,
    g_pStringDescriptors,
    NUM_STRING_DESCRIPTORS,
    };

    but, the USB_PID_BULK is for the bulk...should I ad my PID in the enum and use it like... "USB_PID_XXXX" in this structure?
  • Hello Gianluca,

    Yes. Add it to the define and then use it.

    Regards
    Amit