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.

TM4C1294NCPDT: Is this a hardware issue or software issue?

Part Number: TM4C1294NCPDT

Comparing usb_host_msc.c example in 2.1.3 and 2.1.0 TiVaWare, the only addition in 2.1.3 is here, 

// Tell the USB library the CPU clock and the PLL frequency. This is a

// new requirement for TM4C129 devices.

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

Since I am using 2.1.0 in my current project, I would like to use only the one comes with 2.1.0 Tivaware, which doesn't contain the above lines, but before I do that, I would like to confirm this is not a requirement for the latest revision of TM4C1294 hardware.

Could someone from TI give some clarification?

Thanks!

  • Hello David,

    That is a requirement for TM4C1294 hardware to help address Errata items SYSCTL#22 and SYSCTL#23.

    If you are using a TivaWare prior to 2.1.3, you should review those errata items and apply all changes recommended in the Appendix, and also use the USB code seen above which is the updated manner for getting the PLL VCO value to program the USB clock dividers.

    Here is the errata document link: http://www.ti.com/lit/er/spmz850g/spmz850g.pdf

    Note that it is because of how updates address errata issues like this that we do recommend trying to migrate to the latest TivaWare offered when possible.

  • Thanks for the clarification!

    In this case, I would like to upgrade to TiVaware 2.1.3

    Is there a guideline in doing so?
  • Hello David,

    There isn't a step-by-step guide, but what we do always put out are release notes for each new TivaWare version. That will be key in your process. When porting you are likely to have compilation errors such as API syntax changes or input/output changes, and the Release Notes will let you quickly look up what changed within the API so you can make the required adjustments.

    You can find the release notes under the 'docs' folder of TivaWare, titled "SW-TM4C-RLN-2.x.x.xxx.pdf" where the x's are for specific version numbers.

    FYI the latest version is 2.1.4.178.