SLAZ162J October 2012 – May 2021 MSP430F2131
CPU Module
Compiler-Fixed
Arithmetic operations on the Status Register may lead to erroneous results
Performing arithmetic operations with the Status Register (SR) as the destination address will not update the SR as intended. The result in SR may be invalid, leading to erroneous low power mode entry. Arithmetic operations are defined as all instructions that modify the SR flag bits (RRA, SUB, XOR and ADD for example).
Refer to the table below for compiler-specific fix implementation information.
IDE/Compiler | Version Number | Notes |
---|---|---|
IAR Embedded Workbench | Fix not available | |
TI MSP430 Compiler Tools (Code Composer Studio) | 15.12.0.LTS | User is required to add the compiler or assembler flag option below. --silicon_errata=CPU13 |
MSP430 GNU Compiler (MSP430-GCC) | MSP430-GCC 4.9 build 389 or later | User is required to add the compiler or assembler flag option below. -msilicon-errata=cpu13 -msilicon-errata-warn=cpu13 generates a warning in addition |
MSP430 GNU Compiler (MSP430-GCC) | MSP430-GCC 5.x build 14 or later | User is required to add the compiler or assembler flag option below. -msilicon-errata=cpu13 -msilicon-errata-warn=cpu13 generates a warning in addition |