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.

CC3220S: How to locate SDK calls of a Vendor Meta Data region in the OTP

Part Number: CC3220S
Other Parts Discussed in Thread: CC3200

Tool/software:

Hi team,

This is Tomoki Takeda. TSR in Japan.

My customer has a question below, could you help to answer?

We need to incorporate custom data into an OTP area during the manufacturing process. This data will then be read by the production firmware once the manufacturing process is complete.

We have discovered a Vendor Meta Data region in the OTP for the CC3220. However, we are unable to locate the SDK calls required to read this information in our production firmware.

Regards,

Tomoki

  • Hi Tomoki,

    There is no direct support for reading Vendor Meta Data from OTP area from application processor (user code). There is no sl_ API for such purpose.

    Reading data from OTP area may to be achieved by direct access into sFlash when NWP is not enabled. I think this approach is technically possible, but is not supported by TI. Some information how this can be achieved can be found at old CC3200 SDK, where sFlash direct acess was used to put SPI flash into sleep mode.

    Maybe your customer can consider alternate way, like save custom data into file inside filesystem after device programming. Other way can be use small memory like EEPROM (I2C, SPI) connected to CC3220.

    Jan

  • As Jan mentioned there is no support for reading metadata from the OTP area of the serial flash.

    The serial flash can only be accessed though the NWP (which as said doesn't support the reading of metadata).

    It is recommended to use alternate non-volatile memory for this, or use a simplelink secure file that will be written in production with public read access (see  chapter 8 in https://www.ti.com/lit/pdf/swru455).

    Br,

    Kobi