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.

CCS/TM4C123FH6PM: Using SysConfig with TM4C12X chips

Part Number: TM4C123FH6PM
Other Parts Discussed in Thread: SYSCONFIG

Tool/software: Code Composer Studio

Hello Everyone,

I started using the SysConfig tool inside ccs recently and I wanted to ask a question about the use case.

The tool works well to configure the pins however to use TivaWare when controlling pins and peripherals the business names for the components need to be declared again.

What I mean is I might define a UART and name it "DebugUART" or anything else to define its' functionality. When I am putting characters I still need to use UART0_BASE etc. even though I defined a name for it on SysConfig tool. It would be great to have those names to be usable inside the program when "pinout.h" file is added to places that use any io pins. 

My current approach is using #define to give business logic names to peripherals and pins but if the tool helped me do that it would actually be much more useful. Then inside the code I could use business name instead of port and pin values. 

Is there an easy way to achieve this besides creating my own text interpreter and using the Syscfg script file?

Thanks,

Tuna 

  • Thank you for your suggestion. Currently there is no way to automatically associate your assigned name with the TivaWare name. However, I like the suggestion and will pass it on.

  • Thanks for the reply Bob.

    I also checked STM CubeMx to see how they do it and it seems like they also take the define approach for user labels.

    Is there a roadmap for the releases of this tool or other tools provided by TI?

  • I am going to transfer your question to the tools group to answer about roadmap.

  • Tuna,

    What you are asking for could be done in SysConfig however I am not aware of any plans to enhance TM4C support at this time.

    When I look at other devices I see that if I rename the UART that the name is reflected in the generated code:

    Regards,

    John

  • Hello John,

    Thanks for the reply. 

    I saw that other devices had more views and options on sysconfig but I didn't check their syscfg file directly. 

    It is sad that tm4c range doesn't get as much love but I understand that there are other priorities. 

    I have a follow up question.

    When I use the cloud tool on the .syscfg file, suggestions for gpio pins use pin names ie. PA0 while the sysconfig installed with ccs uses pin numbers ie. 25 

    Is this intentional or just different versions of the software running on different platforms? 

    I am writing a batch script to create the defines and having the port notation is much better than having pin numbers which I would need to cross check using another file which is summary csv. 

    Thanks,

    Tuna 

  • Tuna,

    Could be different verisons.  For me they look the same but maybe I am looking at the wrong thing.

    Here is SysConfig in CCSv10.1.1.  The drop down shows the pin suggestions:

    Here is the cloud versions:

    In CCS I had a couple GPIOs added so the one it is currently resolving to is different but selection list is the same.

    Regards,

    John

  • Hello John,

    I should have replied with images to clarify it. 

    The version of sysconfig on my CCS is 1.3.1030

    Here is the syscfg file contents for couple suggested gpio pins. If a pin is locked PA0 notation is used which is the one I am looking for. 

    Online version seems to be 1.6.0

    This is the output of the online suggestion on the same file. 

    Is there a way to explicitly update the sysconfig embedded on ccs? 

    Thanks,

    Tuna 

  • Tuna,

    SysConfig is designed to be updated within CCS, much like the compiler.  However at this time we haven't been releasing it as an update.  I will check, it might be possible to download the standalone SysConfig and point CCS to it.  What is your CCS version?  The other option is to install the latest CCS which comes with 1.6.  There is also a CCSv10.2 coming in Dec.

    Regards,

    John

  • Mine was 9 something. I will download latest 10 to see if that has the newest version. 

    Thanks for clarifying.