Part Number: TMS320F28377D
Other Parts Discussed in Thread: C2000WARE,
I am working on a self-powered USB device based on F28377D. When I connect the device via USB, Windows can see that the device shows itself on the bus, but then it gets an error and shows as an “Unknown USB Device” in the device manager. This is on both Windows 7 and 10.
Digging a bit deeper, it seems that the device strings are not being received by Windows, so Windows can’t identify it. I don’t know if this is because (1) the request for the strings from Windows is not received by the unit, (2) the strings are not being sent from the unit, or (3) the strings are not coming across correctly.
Right now, we’re basically using a modified version of the USB example 1 code provided by TI, which is the virtual COM port example. This is on a TMS320F28377D using C2000Ware v3.04.00.00 on CCS 10.4 using the TI compiler.
The steps we’re taking in the code right now are pretty simple. We do the device and board init, then the following:
SysCtl_setAuxClock(DEVICE_AUXSETCLOCK_CFG_USB);
Interrupt_initModule();
Interrupt_initVectorTable();
USBGPIOEnable();
Interrupt_register(INT_USBA, &f28x_USB0DeviceIntHandler);
g_bUSBConfigured = false;
USBBufferInit(&g_sTxBuffer);
USBBufferInit(&g_sRxBuffer);
USBStackModeSet(0, eUSBModeForceDevice, 0);
USBDCDCInit(0, &g_sCDCDevice);
Interrupt_enableMaster();
Beyond that, we let the interrupts handle the rest. I’m not sure what other information you need, just figured I’d send that as a starting point to see if there were any immediate red flags.
Regards,
Bernd