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-TM4C1294XL: EDUMKII Compatability

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

Just received the TM4C1294 and EDUMKII. Ive installed Energia on my computer.

Whilst the examples for the LCD work fine. I cant get the examples that use the RGB led to work or the buzzer.

Is there full compatibility between the two boards?

Are there any known issues?

Thanks

  • Hi Howard,

      The two boards should be compatible from hardware point of view. However, I'm not sure about the Energia example. I don't have much experience with Energia. But I can help you with some debug. The RGB and Buzzer are controlled by the PWM signals from the MCU. The RGB and Buzzer are mapped to pin 37,38,39 (for RGB) and 40 (for Buzzer) on the connector 1. First check if you are connecting the EDUMKII board to the connector 1 of the EK board. Second, use a scope to see if there are any activities on these pins. If there are no pin activities on these pins then the Energia example is probably either not using the correct PWM pins from the MCU or not correctly configuring the PWM pins or not using the PWM module at all. Below is the mapping. So you want to check if the Engeria is correctly configuring these pins on the MCU side. You want to make sure that Energia correctly configures M0PWM1,2,3,4. 

    Connector      MCU GPIO pin name             MCU alternate pin function

    pin 37             PG0                                       M0PWM4

    pin 38             PF3                                       M0PWM3

    pin 39             PF2                                       M0PWM2

    pin 40             PF1                                       M0PWM1

  • Hi Charles,
    The EDUMKII is connected to BoosterPack1 on the EK-TM4C1294XL and overhangs the USB debug connection.

    At the moment I'm at home with no test gear available, so have limited testing capabilities.

    I have loaded a program called ButtonsLED from the Energia examples and this allows me to press buttons and change the colour of the RGB. Changing the code to select different pins, allows me access to red, green and blue colours using a digitalwrite command. I changed the pin number from a LED to the buzzer and get a click. So all is well.

    The routine i was trying to use sent a random value to the RGB LED for each R,G & B using an analogWrite command (writes an analog value (PWM wave) to a pin). I think the problems lies in this routine, but without a scope i cant dig deeper and see whats being sent to the pin.

    Its been a while since i did any embedded code, so i thought Energia might be a quicker way to proceed but i wasnt expecting to have these issues!

    Howard
  • Hi Howard,

    If the ButtonsLED example works then the hardware is good. Which other RGB example did you try that didn't work? Since you are doing analog write then make sure the PWM period is long enough that you will be able to see the LED lights up by human eyes.

    I will also suggest you download the TM4C TivaWare library which contains many C-code examples.
  • Hi Charles,
    Can i just check that my understanding is correct -
    Energia is a standalone development platform that i can use for TM4C1294 development.
    I can also use CCS for development.
    I should choose whether to use Energia or CCS for my development?
    What is TivaWare? Are they libraries for use in CCS to give me easy access to the peripheral components of the micro?
    Thanks
    Howard
  • Hi Howard,
    In my opinion, the Energia is more for hobbyist trying to learn the MCU. It is very high level and lack the powerful debugging capability like the CCS. If you are in serious MCU development I strongly recommend you switch to the CCS. The TivaWare is a suite of libraries and examples for you to develop serious applications. Please find TivaWare at http://www.ti.com/tool/SW-TM4C.
  • Thanks Charles.

    I had the same opinion on Energia, but i managed to quickly put together a UDP receiver that did everything i needed for a demonstration.

    I will however install CCS and look at the TivaWare libraries as i think this is more suited to development.