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.

TM4C129ENCPDT: drivers for TM4C129ENCPDT and TM4C123GH6PM in Code Composer Studio(Linux)

Part Number: TM4C129ENCPDT
Other Parts Discussed in Thread: EK-TM4C123GXL, LAUNCHXL-CC2640R2, EK-TM4C129EXL, TM4C123GH6PM,

Tool/software:

Hi Experts,

Good day!

I am posting this on behalf of the customer. They have purchased three development boards from TI: EK-TM4C123GXL, EK-TM4C129EXL, and Launchxl-CC2640R2. Currently, they are working on some projects and need some support.

They are trying to write drivers for TM4C129ENCPDT and TM4C123GH6PM in Code Composer Studio(Linux). They used Tivaware for the drivers all along and were willing to try out CMSIS.
They were unable to get the CMSIS-Core Device Files (provided by silicon vendor - Texas Instruments).

Please suggest getting started with the same. I think choosing Code Composer Studio is good enough.

TI has come up with Theia IDE recently. Shall they switch to Theia or any other IDE or any other toolchain?

 Best regards,

Jonathan

  • Hi,

    They were unable to get the CMSIS-Core Device Files (provided by silicon vendor - Texas Instruments).

    What CMSIS-Core Device Files are they referring to? Although a bit old, this Using the CMSIS DSP Library in Code Composer Studio for TM4C MCUs  app note will be helpful. 

    Please suggest getting started with the same. I think choosing Code Composer Studio is good enough.

    Agree.

    TI has come up with Theia IDE recently. Shall they switch to Theia or any other IDE or any other toolchain?

    I don't think Theia supports TM4C. Currently only MSPM0 devices are supported. Refer to the release note. 

  • Hi Charles,

    Thank you so much for your detailed answer. I'll inform our customer. I'll keep you posted if we need any further support.

    Best regards,

    Jonathan

  • Hi Charles,

    I have an update from the customer.

    They are not referring to the CMSIS-DSP lib, they need is the CMSIS-Core files, namely
    1. System Configuration Files system_<Device>.c and system_<Device>.h
    2. Device Header File <Device.h>
    3. Startup File startup_<Device>.c
    4. Scatter-Loading description file <device>_ac6.sct
    5. TrustZone setup: partition_<Device>.h
    6. Region/ISR setup: partition_gen.h

    Thank you for your usual support.

    Best regards,

    Jonathan

  • Hi Jonathan,

      I don't know what exactly these files you are referring to. I tend to think the files you refer are not really needed. If you can bring up a simple TivaWare example like hello or blinky you would already see the necessary startup file and device configuration. For example, if you look at the hello example, you will see the startup_ccs.c file that contains the vector table and startup code. 

    It is just a matter of including the header files in the hello.c example to properly reference APIs that are needed to initialize the clock and peripherals. See below snippet.

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    #include <stdint.h>
    #include <stdio.h>
    #include <stdbool.h>
    #include "inc/hw_memmap.h"
    #include "inc/hw_types.h"
    #include "driverlib/gpio.h"
    #include "drivers/pinout.h"
    #include "driverlib/pin_map.h"
    #include "driverlib/rom.h"
    #include "driverlib/rom_map.h"
    #include "driverlib/sysctl.h"
    #include "driverlib/uart.h"
    #include "utils/uartstdio.h"
    //*****************************************************************************
    //
    //! \addtogroup example_list
    //! <h1>Hello World (hello)</h1>
    //!
    //! A very simple ``hello world'' example. It simply displays ``Hello World!''
    //! on the UART and is a starting point for more complicated applications.
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Please follow the app note as mentioned in my last reply.

    There is also a CMSIS example for MSP432E MCU which you can find in Resource Explorer.