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.

Most Current "Peripheral Driver Library" (Lit. # SPMU298E) has 'missed' a "Key SysCtlClockSet() Parameter!"

Greetings,

Kindly note - this post targets the "TM4C123 family" - may not apply to the "TM4C129 family."

The TM4C123 family is specified to employ a System Clock up to 80MHz.   The referenced API (and many code examples) direct the use of "SysCtlClockSet()" - loaded w/the correct parameters - to achieve that 80MHz.    Our small tech firm usually does not employ that speed (seeking to avoid "Wait States" - which occur beyond certain System Clock Rates) - yet we recall the parameter "SYSCTL_SYSDIV_2_5" - which (appears) to have "Gone Missing!"     (AWOL - for my fellow ex-military cohorts!)

A "true-copy" of the pertinent direction follows:

26.2.2.5 SysCtlClockSet

Sets the clocking of the device.
Prototype: void SysCtlClockSet(uint32_t ui32Config)
Parameters: ui32Config is the required configuration of the device clocking.

Description: This function configures the clocking of the device. The input crystal frequency, oscillator to be used, use of the PLL, and the system clock divider are all configured with this function. The ui32Config parameter is the logical OR of several different values, many of which are grouped into sets where only one can be chosen. The system clock divider is chosen with one of the following values: SYSCTL_SYSDIV_1, SYSCTL_SYSDIV_2, SYSCTL_SYSDIV_3, ... SYSCTL_SYSDIV_64.

Wherefore Art Thou ... "SYSCTL_SYSDIV_2_5"?     (Might "Romeo" have "run away" w/that ... too?)

  • CB1,

    Yes, thank you for pointing this out. We have actually already corrected this for the next release of TivaWare. (I know, you will believe it when you see it.) We are actually very close. We are suffering from the Columbo syndrome, "just one more thing".

  • Bob,

    Thank you - young staffers noted this early morning .. we wrote to/alerted you - under separate cover as well.    (this issue arose in one of your "Poster Assistance" threads - earlier...)

    I'm tempted to click "This Resolved" - yet shouldn't that "WAIT" until:

    • Det. Columbo (and/or his T.I. counterparts) complete their "thing"
    • Det. Columbo sends his trench-coat to a competent "Dry Cleaner"
    • or the heralded, "Next Release" ... doth arrive...

    Staff (but for we few older guys) "know not" of our favorite detective.

    Without doubt that (now) AWOL "2-5" parameter HAD APPEARED in earlier versions of the "PDL."    And then disappeared ... and now (almost magically) reappears.   (maybe ... sometime)    Lieutenant Columbo  would be proud!    (just recalled his (and my) past rank)