I'm using the TMC4129x as a bulk USB device. DFU works, USB works, the only problem I have is there is a 5 second delay between calling USBDBulkInit() and the device completing enumeration (Windows, multiple different PCs have the same delay).
uint32_t ui32PLLRate;SysCtlVCOGet(ui32Crystal, &ui32PLLRate);USBDCDFeatureSet(0, USBLIB_FEATURE_CPUCLK, &SystemCoreClock);USBDCDFeatureSet(0, USBLIB_FEATURE_USBPLL, &ui32PLLRate); USBDevice = USBDBulkInit(0, &USBDeviceInfo);USBModeConfig(USB0_BASE, USB_GPCS_DEVMOD_DEVVBUS); // ignore USB0ID pin osThreadId_t t_usb;t_usb = osThreadNew(USB_Task, NULL, &usb_task_attr);
In my receive event handler I get a USB_EVENT_SUSPEND almost immediately and then 5 seconds later USB_EVENT_CONNECTED.
I'm working on getting an enumeration trace.