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.

EK-TM4C123GXL: Support and Example Code Repository for EK-TM4C123GXL

Part Number: EK-TM4C123GXL


I have been developing embedded software for quite some time now and have only recently started working on Texas Instrument's Tiva C Launchpad  EK-TM4C123GXL.

Although the Launchpad Board is well documented, I faced some problems that I could solve only by the help of this community. Here are some things I wished were included in the documentation of the Launchpad:

  1. Inclusion of Link to the Tivaware Peripheral Library documentation: in the Launchpad's wiki.
  2. Inclusion of some more example codes with varied use of the peripherals. Or a forum or webpage where users can add their codes for general public to see.

During my time learning to code the Launchpad, I documented my codes and have put some basic codes in my GitHub Repository: .

I think this may prove very useful to people who have just started working on the Launchpad or are searching codes to interface peripherals in a way not already done in the example codes documentation. Thus, I would like to share this with everyone. Hope this proves helpful

  • Hi Yash,

    Thanks for sharing your example code with the community. Certainly it will benefit many people. As far as the documents is concerned, they are all part of the TivaWare. Once TiwaWare is installed, all documents can be found under the <TivaWare_Installation>\docs. Yes, more examples will help but currently there is no plan to provide more examples on top of what is available. Have you checked out all the examples under the <TivaWare_Installation>\boards\ek-tm4c123gxl and <TivaWare_Installation>\peripherals?
  • Hello Charles,
    I had not seen the documents in the TivaWare Installation Directory. I think it should be mentioned in the wiki that all the documentation is available in the Tivaware Directory too. For a very long time I didn't know that documentation of the peripheral library was available and I used to read and understand the source files to understand what the API does. If a direct link to the Peripheral Library was available in the wiki, This wouldn't have been a problem.
    Also, Yes, I have seen all the example codes in the TivaWare directory. Indeed they were a great help. But, there are certain situations where you need to use the peripheral in a way that is not mentioned in the example codes, and that becomes a problem sometimes.
    The most recent problems I faced because of this (and the example codes for which I have included in the repository) is:

    1) Using ADC in timer interrupt mode. The example code explains the ADC reading using processor interrupt, but when you use that along with a timer interrupt to get a periodic reading from an ADC device, it doesn't work. You have to specifically program ADC in timer interrupt mode and configure timer accordingly.

    There where many such situations, where although the forum helped me resolve the problem, It would have been much better if codes for these were included in the example codes. Or atleast a common website where I could find user uploaded codes for different applications.
  • You are to be commended for, "Thinking for the group" - yet, "Who will (ever) find" your - or (even) many other such links - once this forum page "rotates off" into "forum oblivion?"

    As you note - most all examples are (pardon) rudimentary - ("Wherefore art thou, "Slave I2C examples") to present "just one!"      

    More demanding/helpful examples - which would prove most informative - yet remain absent - thus (appear) to have been, "ducked!")      (Yet there IS time to, "Kill *** LIKE ***" - and never time to add more challenging examples...)

    The Red-Striped Zone - atop the forum page - awash w/(pardon) nonsense "Blogs, Groups, Videos" - surely should be the place where client-users can "Click to find any/all MCU related tech info" - yet that's  (always) been rejected.      Maddening!