Example for SPI on nRF5340

nRF Util

tags
nRF Util

The following code snippet shows an example configuration file for the nRF7002 DK that specifies the settings for accessing external memory using the SPI interface on a nRF5340 device:

{
  "firmware_config": {
    "peripheral": "SPIM0",
    "compress": true
  },
  "pins": {
    "sck": 8,
    "csn": 11,
    "io0": 9,
    "io1": 10,
    "io2": 4294967295,
    "io3": 4294967295
  },
  "flash_size": 8388608,
  "page_size": 4096,
  "sck_frequency": 8000000,
  "address_mode": "MODE24BIT"
}