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.

LAUNCHCC3220MODASF: Is 1MB internal flash enough or do I need external flash?

Part Number: LAUNCHCC3220MODASF
Other Parts Discussed in Thread: CC3220SF

Hi,

I have a custom board which has the CC3220MODASF module mounted. This module has 1MB flash included so I did not add any further external flash.

Now I am wondering if this 1MB is enough for a "normal" application?

I know it hardly depends on my application. Here is briefly what I am doing:

  • Headless wifi-provisioning over HTTP
  • MQTT Client with security using certificates (AWS IoT)
  • OTA software updates
  • UART communication with another MCU on the board.
  • Basic data storage such as serial numbers, application states etc, no images or so.

Thanks for your advice.

Best,

Henry

  • Hi Henry,

    Just to clarify, the CC3220MODASF actually has a 32Mbit external SPI flash built into the module, in addition to the internal 1MB XIP flash.
    To sum up the memory of the CC3220MODASF you get:
    256KB RAM + 1MB XIP flash for your program
    4MB external SPI flash for general file storage. This stores the NWP servicepack, some other files needed for the NWP to run, as well as the other files you might want to store persistently such as images, certificate files, etc.

    From what you describe, you should definitely be able to fit your application within the 1MB code size limitation of the CC3220SF. For example, our IoT thermostat TI design described here:
    www.ti.com/.../tidudq7.pdf
    has many of the features that want in your application and it only uses 215KB out of that 1MB total. Thus, you should not run into any space limitation for the normal application you are describing.

    Regards,
    Michael
  • Hi Henry,

    CC3220 chip require external flash for own function. Module inside integrates this memory already. This module have 4MB flash chip inside.

    Module contains:
    - chip CC3220SF (1MB XAP flash for code execution)
    - sFlash 4MB (storage for firmware image, patches for NWP, web files, configuration, your own files..)

    Yes, you will have enough resources for your purpose with module CC3220MODASF :)

    Jan
  • Thanks Michael and Jan for your quick response! And great to hear I am safe ;)
    Best
    Henry