Hi Sina
> is there any specific setting for making the image file for M4 when we want to run it in LP mode?
no specific settings as described in sect.35.2.2.2.3.3 Low power boot :
In Low Power Boot boot mode, only the M4 core will boot up and run on the FIRC clock
frequency to conserve battery energy. The boot sequence of the M4 in Lower Power Boot
is similar to its normal boot sequence, except the processor, bus, and peripherals operate
on the FIRC clock or a divided version of the FIRC clock.
>when I switch to the LP mode after successfully booting from ROM it gets stuck and does not function properly.
seems it is necessary to add to m4 image codes for starting a7.
Best regards
igor