The MSP430F541xA/543xA Errata describes the following issue:
SYS12 System Module
Function Invalid ACCVIFG when DVCC is in the range of 2.4 V to 2.6 V
Description A Flash Access Violation Interrupt Flag (ACCVIFG) may be triggered by the Voltage
Changed During Program Error bit (VPE) when DVCC is in the range of 2.4 V to 2.6 V.
Although this behavior is expected according to the user's guide, the VPE does not
signify an invalid flash operation has occurred.
If the ACCVIE bit is set and a flash operation is executed in the affected voltage range,
an unnecessary interrupt is requested. The bootstrap loader also cannot be used to
execute write/erase flash operations in this voltage range, because it exits the flash
operation and returns an error on an ACCVIFG event.
Workaround None
Could someone clarify what the micro's operation would be with Vcc in the 2.4-2.6V range and outside of that range?
I can think of two options and I don't know which is true.
Option 1: The VPE bit may be incorrectly set when Vcc is in the 2.4-2.6V range when programming the Flash and causes the ACCVIFG bit to be set as intended. Outside of that voltage range, the VPE bit works correctly and continues to cause the ACCVIFG bit to be set.
Option 2: When Vcc is in the 2.4-2.6V range, the VPE bit causes the ACCVIFG bit to be set. When Vcc is outside of that range, the VPE does not cause the ACCVIFG bit to be set.
Thanks, Austin