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.

CC3220MODA: CC3220MODASF12MONR vs CC3220MODASM2MONR

Part Number: CC3220MODA
Other Parts Discussed in Thread: UNIFLASH

Quick question about the difference between the CC3220MODASF12MONR and CC3220MODASM2MONR. It looks like the main difference between these two is the addition of the 1MB flash.

In terms of programming the CC3220MODASM2MONR, does this module require the addition of a flash for flashing the firmware? Or does the CC3220MODASM2MONR have internal storage for holding this information? If so, what is the size of this memory? I see in the datasheet 256kb of sRAM. I cannot find in the datasheet where the type of memory is stated.

Assuming that the 256 listed is in fact intended to store the code, is the intention to lay out the text, data, heap, and stack all within this 256kb? If so, what is the typical size of a "hello world" simplelink program that uses wifi? I'm just curious what the overhead is and if I should really be considering the F variant.

Any help would be greatly appreciated.

  • Hi John,

    • CC3220MODASF12MONR  ... 256kB RAM + 1MB on chip XIP flash + 4MB SPI flash (code is executed from 1MB XIP flash; all RAM is available for your data, stack, etc.)
    • CC3220MODASM2MONR ... 256kB RAM + 4MB flash (code is executed from RAM; you need fit your code and data, stack into 256kB RAM)

    CC32xx device have application processor (Cortex-M4@80MHz) and separate core(s) (called network processor - NWP) which is running at TI proprietary firmware. NWP integrated MAC, PHY and TCP/IP stack as well. Your processor don't need deal with TCP/IP stack because is handled inside NWP.

    For example my project with CC3220MODSF have occupied 220kB flash and 170kB RAM. I have following features inside:

    • measurement from different sensor, support for LCD display, evaluation of the alarm limits
    • running at TI-RTOS with more then 20 tasks
    • communication protocols: own http(s) server running at application processor, sending emails with TLS support, ModbusTCP server, zero-conf protocol for finding devices, own communication protocol, HTTP(s) post to Cloud server, OTA update

    Jan

  • The SF device, contains the 1MB XIP flash (for code) + 256KB RAM (for data).

    The S device has only 256 RAM for both data and code.

    In both cases you will need an external flash to store the image, SP and user file (as well as factory reset image if needed).  

    Br,

    Kobi

     

  • Hi Kobi --

    Could you point me to the documentation about the memory organization needed? I guess I was assuming the entire firmware was flashed to the chip, not additional images to an external memory. What exactly is in the image, sp, and user file?

    I looked at the schematic for the lauchboard and indeed I found this chip: https://www.digikey.com/product-detail/en/macronix/MX25R3235FM1IL0/MX25R3235FM1IL0-ND/7915034

    Which I assume is the chip you are referencing.

    Best,

    John

  • The modules you where referring already include the external flash.

    The file system should contain the Network Processor service pack (the network processor is separated from the application MCU, it is based on ROM code but require the service pack for patching bug fixes and new features), The MCU image (your application), the certificate catalog and the user files (basically any file that your application needs in run time). The external flash is organized as file system and is programmed using Uniflash. 

    The CC3220 bootloader expects to find the file system (on the external flash) and will install the SP and MCU image to the local RAM (or to the 1MB XiP Flash in case of SF device) when needed.

    If you take a module you won't need other memories.

    You can find more details in the datasheet or the NWP programmers guide (http://www.ti.com/lit/ug/swru455j/swru455j.pdf).

    Br,

    Kobi