Product ID

Associated descriptor field: idProduct (in the Device Descriptor)

The PID is a 16-bit value assigned by the entity that owns the Vendor ID (VID). Enter the value in the format 0xnnnn, where nnnn is a four-digit hex number.

If your company already has a VID, then someone in the company likely maintains a list of valid PIDs within that VID space.

When shipping your device as a product, be sure the PID is unique; the host will use the VID/PID combination to identify this product from all other USB products it may encounter. Specifically, it may cache information from the device's USB descriptors, indexed by VID/PID. If distributing a USB product to end users, a non-unique VID/PID can lead to driver conflicts on their PC's.

Even in your own development, you need to be aware of this. If you enumerate a USB device, change its descriptors without changing the VID/PID, and then re-enumerate the device on the same USB host, the host may get confused.

TI-MSP430 has allocated a range of PIDs within its own VID space (0x2047), that you can use during development or for experimentation:   VID: 0x2047  PID: somewhere in the range of 0x03DF-0x03FD.