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.

USB bulk transfer and ULPI

Hello everyone, I have made an adquisition device using the TM4C129 achieving 5.3 Mbps , but for more speed, I need to use an external PHY device, I will use the USB3300.

My adquisition device was made using the usb bulk example from tiva ware.

I dont know if the bulk transfer will work only by enabling the ULPI pins and features, or something else should be done? maybe in the drivers or in the bulk libraries from the TivaWare.

Thanks in advance

  • Hello Josue

    There are some minor software changes that need to be done in the application layer when starting the USB stack.

    In the existing software examples in TivaWare the following line is used.

    SysCtlVCOGet(SYSCTL_XTAL_25MHZ, &ui32PLLRate);
    USBDCDFeatureSet(0, USBLIB_FEATURE_CPUCLK, &ui32SysClock);
    USBDCDFeatureSet(0, USBLIB_FEATURE_USBPLL, &ui32PLLRate);

    You need to add the following lines after the above mentioned lines

    uint32_t ui32ULPI = USBLIB_FEATURE_ULPI_HS;
    USBDCDFeatureSet(0, USBLIB_FEATURE_USBULPI, &ui32ULPI);

    before calling

    USBStackModeSet(0, eUSBModeForceDevice, 0);
    USBDBulkInit(0, &g_sBulkDevice);

    A TI design based on USB3300 is going to be launched in November with software example.
  • Amit, Thanks for your prompt response, those lines should be added after the pin configuration? also that TI design based on USB3300 will be a board with the TM4C129 and the USB3300 chip on it?? (by the way, that is a really good new to hear)
  • Hello Josue

    Yes, the above lines should be added after the pin configuration is done.

    The TI design is a single board solution.