Software/Programming - MCU16 - Address Error Trap with EDAC Instruction and Incorrect Result by MAC Instruction
The address trap occurs because the error detection and correction (EDAC) Wm * Wm, Acc, [Wx], [Wy], Wxd instruction expects the Wx address from X-memory and the Wy address from Y-memory.
Verify that the following bits of the CORCON register are set to '1':
- US - DSP Multiply Unsigned/Signed Control bit
- IF - Integer or Fractional Multiplier Mode Select bit 2.