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: TivaWare function missing from the ROM

Part Number: TM4C1294NCPDT
Other Parts Discussed in Thread: EK-TM4C1294XL, TM4C129ENCPDT

Hi Folks

I want to set up the system clock of my connected launchpad (EK-TM4C1294XL). To do this, I recognized from the ROM examples that the ROM_SysCtlClockFreqSet() would be appropriate.

My question is, that where is this macro definition because I didn't found it in the driverlib/rom.h.

Regards,

Norbert

  • Try using SysCtlClockFreqSet without ROM_ prefix, that works for me on a TM4C129ENCPDT. Not all functions are available in the ROM.
  • Norbert Toth said:
    My question is, that where is this macro definition because I didn't found it in the driverlib/rom.h

    The Release Notes for TivaWare Version 2.1.3 say:

    1.3.4 Incorrect Programming in SysCtlClockFreqSet API in Sysctl Driver

    When programming the system clock from PLL for TM4C129x devices, the API leaves the RSCLKCFG register with the OSCSRC register bit as main oscillator. The programming model also has to be changed due to a bug in the design, which causes the system clock to exceed device specifications.

    1.3.6 Deprecate functions in rom.h

    The functions ROM_ADCSequencerConfigure, ROM_CANIntClear and ROM_SysCtlClockFreqSet have now been deprecated. The corresponding functions in flash have been fixed.

    I think this was because a bug was found in the SysCtlClockFreqSet function, resulting in the flash based version in TivaWare being fixed and the ROM based ROM_SysCtlClockFreqSet being deprecated (to force the use of the corrected flash based version).