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.

Need Help On Using TM4C1294 (First Timer)

Other Parts Discussed in Thread: TM4C1294NCPDT

Hello,

I am an electrical engineer at an avionics company (second day on the job, recent graduate) and I was given the task of designing a control panel which will include 10 momentary pushbuttons, one 5-position selector switch, two or three rotary encodersone LCD Display, and one character display module. I've never done anything like this before in college.

Right now I am only worried about the momentary pushbuttons. Once I am finished with the design and construction of the buttons, the design for the rest of the panel components will follow.

My first question is regarding the TMC41294XL MCU. I only have a little experience with microcontrollers, Arduino Uno being one of them. With the Arduino it is easy to tell which pins are used for digital I/O as they are clearly labeled D0, D1, D2, and so forth. However I am not familiar with the TM4C1294. How do I tell which pins on the TMC4129 are used for digital I/O? 

I want to use momentary pushbuttons as input toggle switches that will drive LED outputs (one for each pushbutton) to turn on. The LED for each button will be indicating that the function for the respective button has been turned on. For example, if I press the "NAV ON" button, an output signal should be sent to the navigation device, which would then be activated, and the LED would turn on indicating that "NAV ON" was activated.

Any tips to get started on this would be appreciated!

  • Hello Terrence

    Welcome to the working-world...

    Almost all IO's on the TM4C129x are digital. The list of IO's which have digital functions are given in the GPIO Chapter of the Data sheet (in this case TM4C1294NCPDT is the part number). Each digital IO can be Input or Output, which is configured using TivaWare software drivers.

    I would suggest a start of Data Sheet GPIO section and going through TivaWare documentation and example code.

    Regards
    Amit
  • Hello Terrence

    TM4C129X microcontroller pins can be used for multiple purpose. You can download pin mux tool from TI website and know all the possible function a pin can perform.

    Also, for connecting push-buttons you can use any GPIO and if there is possibility that multiple buttons can be pressed at a time and/or if you need to define priority which event need to be served first then don't forget to consider interrupt mechanism etc...

    Regards,
    Bipin
  • Hello Bipin

    Might I warn about the fact there are 2 Pin Mux Tool. One is the TM4C Pin Mux tool and other is TI Pin Mux tool. The former is broken for sime functions and latter does not have TM4C devices (yet).

    When we have the TM4C devices in the latter one the first one will be taken offline.

    Regards
    Amit
  • Terrence,

    Congrats on the new job!

    FWIW, be sure to debounce the switches to avoid having extraneous events generated. See www.ganssle.com/debouncing-pt2.htm for a good article on the topic.

    Regards,

    Dave
  • Amit,

    Thanks for the information.
    Yes I have recently visited online TI pin mux tool.
    Including Tiva series in the same tool will be really helpful.

    Regard,
    Bipin
  • Hello Bipin

    I appreciate your response, and adding the TM4C devices to a more generic and well used tool would be equally helpful for the cloud tools being developed at TI.

    Regards
    Amit