Hi,
if you can't change the hardware, you can:
- re-configure output pins, so external load is minimized.
- use SIU_HLT register to stop peripherals.
- decrease the system clock. Erase/program operation is self-clocked, it does not depend on system clock.
Regards,
Lukas