Part Number: TM4C1233H6PGE
Dear Guys,
I am trying to use USB2517+ Ti TM4C1233H6PGE to develop a control system.
The hardware connection is USB2517 downstream port-6 connected to TM4C1233H6PGE usb , namely connected to TM4C1233H6PGE GPIOL pin6 and pin7. To my idea TM4C1233H6PGE will work as a CDC device of HUB USB2517. USB2517 used default configuration mode.
I used below firmware to configure and initialize the USB. The USB device discriptors followed the TI example and without any modification. However, I can't see it enumerate on PC. Make sure the hardware works well.
void USBInit(void)
{
g_ui32Flags = 0;
g_bUSBConfigured = false;
// Set the clocking to run from the PLL at 50MHz
SysCtlClockSet(SYSCTL_SYSDIV_4 | SYSCTL_USE_PLL | SYSCTL_OSC_MAIN | SYSCTL_XTAL_16MHZ);
SysCtlPeripheralEnable(SYSCTL_PERIPH_USB0);
SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOL);
GPIOPinTypeUSBAnalog(GPIO_PORTL_BASE, GPIO_PIN_6 | GPIO_PIN_7);
// Initialize the transmit and receive buffers.
USBBufferInit(&TxBuffer);
USBBufferInit(&RxBuffer);
// Set the USB stack mode to Device mode without VBUS monitoring.
USBStackModeSet(0, eUSBModeForceDevice, 0);
// Pass our device information to the USB library and place the device on the bus.
USBDCDCInit(0, &g_sCDCDevice);
}
What should be the reason?
Many thanks!
John