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.

CC3220MOD: suggestion on Sflash programming n production

Part Number: CC3220MOD
Other Parts Discussed in Thread: UNIFLASH

Hi Everybody , 

I m designing PCB now  for my CC3220MOD and would like  to design properly for best in circuit programming 

Now I looked at app note SWRA568–  but woudl like confirmation :

- leaving SPI pins availble  allow programming  via UNIFLASH or external programmer  but main MCU must be in reset : am I right ?

-how to program Sflash  via CC3220 using UART ?   which SW to use ?   any pins to set in HW ?   procedure is not clear to me 

any other suggestion ? 

thank you

best regards

Carlo

  • Hi Carlo,

    - leaving SPI pins availble  allow programming  via UNIFLASH or external programmer  but main MCU must be in reset : am I right ?

    Yes, that is correct. Programming via 3rd party SPI programmer is commonly expected for a mass production.

    -how to program Sflash  via CC3220 using UART ?   which SW to use ?   any pins to set in HW ?   procedure is not clear to me

    Use can use Uniflash GUI, Uniflash CLI or Embedded programming. In this mode is programmed via ROM bootlaoder. To Enter bootloder mode is important state of SOP pins (please see datasheet). If case you what to use SOP mode (2-1-0) 0-1-0 please do not forgot put weak pull-up to UART RX. Pins for UART programming are hardcoded at bootlaoder and cannot be changed (for MOD: 46, 47).

    Jan

  • Hi Jan 

    Thank you very much 

    please let me check  and be back asap if anything else missing 

    best regards

    Carlo

  • Hi  Jan , 

    so  for internal SFlash  I can program  via SPI pins ( reset to be controlled ) or  via UART ( SOP pins to be controlled ) : OK 

    please what about adding external Sflash to the module ? can I  ?  how to program ?

    thank you 

    best regards

    Carlo

  • Hi Carlo,

    No, this is not possible. You cannot connect external SPI sFlash chip to module. You can use internal sFlash inside module only.

    If you need bigger storage you have two options:

    • use CC3220 QFN with bigger SPI flash chip (see list of recommended flash chips) .
    • use CC3220MOD and use additional storage like a SD card or SPI or IC2 flash chip. Management of this storage will be at your application MCU code

    Jan