The #pragma Nomac command does not work

Question: The #pragma NoMac command does not seem to work, am I doing something wrong?

 

Answer:

No, this pragma is broken.  The best way to avoid issues is to not use the MAC (Multiply-Accumulate unit) at all.  If the MAC is needed and it is used in the main code and the ISR, it is recommend that interrupts be disabled any time the MAC is used, to avoid data corruption.