SLAZ271AB October 2012 – May 2021 MSP430F5327
DMA Module
Functional
DMA can corrupt values on write-access to program stack
If the DMA controller makes a write access to the stack while executing one of the following instructions, the data that is written may be corrupted.
CALLA [REG | IDX | SYM | ABS | IND | INA | IMM]
PUSHX.A [IDX | SYM | ABS | IND | IMM | INA]
PUSHX.A [REG]
PUSHM.A [REG]
POPM.A [REG]
Note: [ ... ] denotes an addressing mode
Do not declare function-scope variables. Declare all variables that are intended to be modified by the DMA as global- or file-scope such that they are allocated in the data section of RAM and not on the program stack.