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.

RTOS/CC2640R2F: CC2640R2F RAM size

Part Number: CC2640R2F

Tool/software: TI-RTOS

Hello,

    RAM size of CC2640R2F is stated as up to 28KB of system SRAM,20KB of which is Ultra-LowLeakage SRAM.

    RAM size of CC2640128F  is stated as 20KB  Ultra-LowLeakage SRAM. 

    Does it mean RAM is increased 8 KB with CC2640R2F? If so, It is used automatically or we should change FLASH-RAM map file?

Regards.

Oytun

  • Hi Oytun,

    The RAM is the same for CC2640128F and CC2640R2F. The "extra" 8 KB RAM you are referring to is the cache. (Both devices have 8KB cache.)

    If you want to use the cache as ram, see: http://www.ti.com/lit/swra537
  • Marie,

    I activated the GPRAM. Content of MAP file is as follows:

    MEMORY CONFIGURATION

    name origin length used unused attr fill
    ---------------------- -------- --------- -------- -------- ---- --------
    FLASH 00000000 00017928 0000b100 0000c828 R X
    FLASH_LAST_PAGE 0001f000 00001000 00000058 00000fa8 R X
    GPRAM 11000000 00002000 0000136e 00000c92 RW X
    SRAM 20000000 00003fe8 00001e25 000021c3 RW X

    Is there any difference between memory available in GPRAM and SRAM? Also, Could we allocate memory from GPRAM by calling ICall_malloc function?

    Regards.
    Oytun
  • Hi Oytun,

    As explained in the app note (http://www.ti.com/lit/swra537), the SRAM is ultra low leakage memory. The GPRAM is not.

    You can try moving the ICall heap (which ICall_malloc uses) from SRAM to GPRAM in the linker command file. However I'm not sure why you want to use it this way, in stead of moving other objects to GPRAM ans keeping the heap in SRAM.