High power consumption in deep sleep mode in nRF5340

Hi,
I am trying to put the nRF5340 to deep sleep, my application is built with TF-M (_ns).
When tested with the sample system_off application (built without TF-M) I observe 0.25uA.
If I integrate the same into my project, I observe 0.25mA. I assume the device is not entering to deep sleep, am I missing any configuration here? or why I am observing this huge difference?

Below is the prj.conf file used in my project.

CONFIG_BUILD_WITH_TFM=y
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y
CONFIG_TFM_IPC=y
CONFIG_NRF_SPIM3_SECURE=y
CONFIG_NRF_TWIM2_SECURE=y
CONFIG_NRF_TIMER2_SECURE=y
CONFIG_NRF_PWM0_SECURE=y
CONFIG_NRF_TIMER1_SECURE=y
CONFIG_NRF_PWM1_SECURE=y
CONFIG_NRF_GPIOTE0_SECURE=y
CONFIG_ADC=y
CONFIG_PM=y
CONFIG_PM_DEVICE=y

Below is the code snippet of how I am putting the device to deep sleep in non-secure.

pm_state_force(0u, &(struct pm_state_info){PM_STATE_SOFT_OFF, 0, 0});

Please guide me through this
Thank you in advance.

Related