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.

TM4C129x and TM4C123x: migration with concerns in RAM size

Other Parts Discussed in Thread: LM3S6911

We are migrating the design from LM3S6911-IQC50-A2 to TM4C1294-KCPDTI3R. Here is brief comparison between these two parts:

LM3S6911: ARM M3 based , Flash 256KB, 64KB RAM, LQFP-100

TM4C1924: ARM M4F based, Flash 512KB, 256 KB RAM, TQFP, $6.82 1ku

 

We then have the concerns in the cost of TM4C1924 and are thinking about another cheaper microprocessor, but we would like to minimize the software efforts. Questions here are:

(1) TM4C1230-H6PM is a good candidate in price, but 1230 series has only 32KB RAM. Is it possible to run the code from LM3S6911 (64K RAM) on TM4C1230-H6PM (32KB RAM)?

(2) In addition to RAM size, is there anything else which can be too critical for migration to TM4C1230? We just need SPI for accessing the microprocessor.

(3) In addition to TM4C123x series, is there any other series we can consider for minimized software efforts? I saw Sandstorm, Fury, DustDevil, Tempest and Firestorm in the application note "Transitioning Designs from Stellaris LM3S to Tiva C series".

Thanks!

 

  • Hello Brad

    First a correction. There is no TM4C1924. It is TM4C1294 device which has 1MB Flash and 256KB SRAM.

    Running the code depends on how much your existing application is using on the LM3S6911. If you need only SPI then TM4C123 is a good candidate, if you can profile the RAM usage from the map file of your application.

    All LM3S devices are EOL'ed. So only TM4C devices now exist, namely the TM4C123x family and TM4C129x family.
  • Hi, Amit:
    Thanks for coming to this question soon and correction in my typo.

    Since LM3S6911-IQC50-A2 (64KB RAM) has been used for production, I assume the code size be the worst case 64KB. In this case, is it possible to run a 64KB code on the TM4C1230 (32KB RAM)? In case of no, is shrinking the code size to 32KB for TM4C1230 the only way we can do? Is there any other way to work this around?

    Thanks

    LM3S6911: ARM M3 based , Flash 256KB, 64KB RAM, LQFP-100
  • Hello Brad

    If you have access to the application code database, then you can check on the SRAM usage.

    Other way is to compile the application code for TM4C123x with the SRAM size defined as 32KB. It should tell you if the application volatile variables can fit in the 32KB SRAM
  • Hi, Amit:
    Could you provide the application note or link about how to re-build the application code to 32KB?
    Thanks!
    Brad
  • Hello Brad

    The following application note would be the document to refer to

    www.ti.com/.../spma049a.pdf