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.

MSP430I2021: Using SafeTI™ IEC60730 Library in general

Part Number: MSP430I2021


Hi all,

first of all, I am new to the IEC60730 topic and I'm aware that the software libraries developed by TI do not support the  MSP430i2xx family.

Never the less I was trying to make adaptions to the downloadable source code of the library (MSP430 IEC60730 software package version 1.20.00.03).

I modified the linker files to the processors's needs but I am running into a compiler error:

"../lnk_msp430i2021.cmd", line 98: error #10099-D: program will not fit into available memory.  run placement with alignment fails for section ".safe_ram" size 0x0 
error #10010: errors encountered during linking; "IEC60730_emptyProject.out" not built

This error got me thinking whether or not it is possible to implement the IEC60730 standards on the MSP430i2xx family at all? Or does TI not recommend this processor family for the IEC60730 standard?

Thanks in advance for your inputs.

Janine

  • Hi all,

    very embarrassing, I just realized that I forgot the "IEC60730_SAFE_RAM"-entry in the Linker file, no wonder there was no memory available.

    However, the question remains whether or not it is possible to implement the IEC60730 standards on the MSP430i2xx family? Or does TI not recommend this processor family for the IEC60730 standard?

    With the modification of the linker file CCS 7 is now able to compile the project, I still receive the following warning:

    Large data model not supported on specified silicon version. Option ignored. Large data model not supported on specified silicon version. Option ignored.
    

    What is your estimation, how critical is this warning?

    Thanks,

    Janine

  • Hi Janine,

    The 16-bit MSP430 devices like the MSP430i20xx always use the small data memory model whereas the 20-bit MSP430X devices can use any data memory model and use the small data model by default. For the MSP430i20xx devices, the largest Flash size offered is 32KB, which is not even close to the 64KB limit for the small data and memory models. More information about the Code and Data Memory Models can be found in Section 6.1 in the MSP430 Optimizing C/C++ Compiler User's Guide.

    This warning in CCS is just alerting you that the small data model is being used. For the MSP430 IEC60730 software library, the families of the tested devices all have the CPUX architecture (instead of the CPU architecture of the MSP430i20xx), which allows them to use the large code or data models. The table below is from the Safety Manual for MSP430G2xx, MSP430F5xx, and MSP430FR57xx Devices in IEC 60730 Safety Applications User's Guide.

    Finally, the MSP430i20xx devices aren't listed as a device that was tested with the MSP430 IEC60730 software library. I'll check with our IEC experts to see if the MSP430i20xx can be used with this library or not.

    Regards,

    James

    MSP Customer Applications

  • Hi Janine,

    The MSP430 IEC60730 software library should work on the MSP430i20xx, but all the tests/features may not work properly. For example, the tests for GPIO, ADC, etc. should work fine, but tests related to the clock frequency of the device will most likely not work properly, since the i20xx devices only have a single clock source.

    Hopefully this insight helps.

    Regards,

    James

    MSP Customer Applications
  • Looking at Table 1 in the IEC 60730 and UL 1998 Safety Standard Compliance Made Easier with TI HerculesTM MCUs white paper, it appears that IEC60730 Class B and Class C certifications require tests for the wrong clock frequency, so if this can't be done on the i20xx devices, it may not be able to pass this certification completely. Perhaps this is the reason why it's not listed as a tested device on the MSP430 IEC60730 software library product page.

    Regards,

    James

    MSP Customer Applications

  • Hi James,

    thanks a lot for your inputs, they really helped me out.

    Thank you, Janine

**Attention** This is a public forum