Hi, Kyle
In BLE connectivity project, the CSTACK is assigned to the end of SRAM region, while power_mode_switch demo assign CSTACK to somewhere middle of SRAM.
POWER_EnablePD(kPDRUNCFG_PD_MEM9) will power off the last memory block which is used for stack purpose in ble project. That's why you get system crash after calling that API.
You can always change the link file in IAR for placement, then everything is fine after power down last block of SRAM.
In QN908XC_connectivity.icf, change below line
place in CSTACK_region { block CSTACK };
to
place in DATA_region { block CSTACK };