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.

SW-EK-TM4C1294XL: Code change needed for recent usblib, circa 2.1.2 to 2.1.3 upgrade

Part Number: SW-EK-TM4C1294XL

This is not a question, but a comment that might help some developers. If you started USB Host firmware with release 2.1.2 or earlier, and are now trying to get your code to work with 2.1.3 or 2.1.4, then you might want to note the new API (mentioned in the Release Notes) that is necessary to call if you want operations to function.

The previous setup code from 2.1.2 and earlier includes the following subset:

    uint32_t ui32PLLRate = 480000000;
    USBHCDFeatureSet(0, USBLIB_FEATURE_USBPLL, &ui32PLLRate);

For release 2.13 and 2.1.4, the code should be changed as follows:

    uint32_t ui32PLLRate;
    SysCtlVCOGet(SYSCTL_XTAL_25MHZ, &ui32PLLRate);
    USBHCDFeatureSet(0, USBLIB_FEATURE_USBPLL, &ui32PLLRate);

Note that there are other initialization functions needed, especially SysCtlClockFreqSet(), but that code does not need to change.

This hint may not help very many readers here, unless you happened to have started your firmware development with 2.1.2 or earlier and now want to upgrade the libraries to take advantage of some of the improvements. The symptom that I experienced was that my USB Host was no longer recognizing USB Devices that previously worked, and so I was stuck with the 2.1.0 release until I figured out the changes needed. Now my firmware is back to connecting to the device with the latest 2.1.4 release.