The following code snippet shows an example configuration file for the nRF5340 DK that specifies the settings for accessing external memory using the QSPI interface on a nRF5340 device:
{
"firmware_config": {
"peripheral": "QSPI",
"compress": true
},
"pins": {
"sck": 17,
"csn": 18,
"io0": 13,
"io1": 14,
"io2": 15,
"io3": 16
},
"flash_size": 8388608,
"page_size": 4096,
"sck_frequency": 8000000,
"address_mode": "MODE24BIT",
"readoc": "READ4IO",
"writeoc": "PP4IO",
"pp_size": "PPSIZE256",
"sck_delay": 0,
"rx_delay": 7
}