Issue with QSPI Flash MX25R64 on Custom Pin Configuration (nRF52840)

Hello,

I am experiencing an issue while trying to connect an external flash memory (MX25R64) via the QSPI interface on an nRF52840-based custom board. My pin configuration differs from the one used in the official development kit.

Here is my pin setup:

Flash configuration:
Upon initialization, I get the following error:
I suspect that the issue may be related to the fact that some of the assigned pins were originally used for NFC functionality. I attempted to reconfigure them as GPIO using:

However, this did not resolve the issue.

Could you please provide guidance on resolving this problem?

Thank you for your assistance!