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.
I will desing USB Composite Device for TM4C1299x. Now, I have DK-1294xl board.
1. The TM4C1299x support max device is 4 ?
//*****************************************************************************
//
// This is the maximum number of devices we can support when in host mode and
// using a hub. By default, we support up to 4 devices (plus 1 internally for
// the hub itself).
//
//*****************************************************************************
#ifndef MAX_USB_DEVICES
#define MAX_USB_DEVICES 5
#endif
2. I need first sample for CDC*2 and bulk*2,
How can I study it?
3. Do you have CDC*2 and bulk*2 Composite Device sample for 129x ?
thank you,
Hi Ralph,
I will change usb_dev_cserial example to CDC and HID.
In ~ /usblib/usb-ids.h isn't Product IDs for CDC and HID.
1. What's CDC and HID product ID?
The Composite CDC ID is #define USB_PID_COMP_SERIAL 0x0007
2. I will support CDC*3 and Bulk.
What's 4 devices product ID?
3. Where can I search ID define ?
4. When I change product ID then I modify code for usblib?
//*****************************************************************************
//
// Product IDs.
//
//*****************************************************************************
#define USB_PID_MOUSE 0x0000
#define USB_PID_KEYBOARD 0x0001
#define USB_PID_SERIAL 0x0002
#define USB_PID_BULK 0x0003
#define USB_PID_SCOPE 0x0004
#define USB_PID_MSC 0x0005
#define USB_PID_AUDIO 0x0006
#define USB_PID_COMP_SERIAL 0x0007
#define USB_PID_COMP_AUDIO_HID 0x0008
#define USB_PID_COMP_HID_SER 0x0009
#define USB_PID_COMP_HID_DFU 0x000A
#define USB_PID_DATA_LOGGER 0x000B
#define USB_PID_COMP_HID_HID 0x000D
#define USB_PID_GAMEPAD 0x000F
#define USB_PID_LP_CGAMEPAD 0x0010
#define USB_PID_DFU 0x00FF
#endif /* __USBIDS_H__ */
thanks.
Hello JK Wolf,
CDC PID is USB_PID_SERIAL or you can use USB_PID_COMP_SERIAL.
HID PID includes items like:
For composite you may want to use:
You should be able to re-use the same product ID for multiple devices, our cserial example already does this.
If you change the product ID's you don't need to change usblib, but rather you'd need to update the Windows USB drivers so the device will properly enumerate.