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.

TMS320F280037C: Flash/ Ram memory size

Part Number: TMS320F280037C


I am working on a 350W charger with an analog design ( hardware part)  Previously there was an existing design of a 750W charger digital design which included a lot of programming. 37C micro was used there. I want to reduce the cost by using a low cost microcontroller which does not include a lot of programming. But how to decide which one is suitable 

My basic requirements are I need 

1) CAN communication- 1 channel

2) SPI channels- 2

ADC pins- 5

DAC pins- 2

GPIO pins- 4

I am stuck at determining how much flash and how much RAM we need for the microcontroller. what is the difference between flah and ram and how much space it occupies? what effects will be there if we choose less memory microcontroller

  • Hello Hema,

    Flash is non-volatile memory that is primarily used for storing executable code (i.e. your program code). Flash requires special high-power operations to erase or program it, but can be read using a regular CPU bus access. Flash requires multiple wait states to access it at full device speed, although this is mitigated by the word size (128 bits) and the prefetch buffer mechanism. Flash memory also has ECC protection for safety.

    SRAM is where you would store variables, stack memory and other run-time modifiable data; it can also be used to store any functions that require zero wait state performance after copying from Flash. The M0 and M1 SRAM instances have ECC protection, but other memories may not (see the device data sheet for more information).

    Your part selection decision is going to be primarily driven by the size of your program code, since you need to store all of your code in the Flash (and that includes functions that will run from RAM - Flash is the only non-volatile memory on the device). SRAM size on the different part numbers is scaled appropriately according to the Flash size and the typical SRAM requirements for the code size available.

    Ibukun