---
title: "SPI memory"
canonical_url: https://developer.repebble.com/pebbleos/docs/drivers/spi_mem/
last_updated: 2026-11-24
sdk_version: 4.44
---
# SPI memory

Source: https://developer.repebble.com/pebbleos/docs/drivers/spi_mem/

A SPI memory controller runs command, address, dummy and data operations against a memory, such as a NOR flash or a PSRAM, without knowing its protocol, which belongs to the memory’s driver.

| 

 | 

 |
| --- | --- |
| 

Directory

 | 

`drivers/spi_mem`

 |
| 

Header

 | 

`pbl/drivers/spi_mem.h`

 |
| 

Kconfig

 | 

`CONFIG_SPI_MEM`, selected by the drivers and code that use it

 |
| 

API

 | 

[API reference](https://developer.repebble.com/pebbleos/apidoc/d5/d8b/group __drivers__ spi__mem.html)

 |

## Drivers

| 

Driver

 | 

Compatible

 | 

Kconfig

 |
| --- | --- | --- |
| 

Nordic nRF5 QSPI

 | 

`nordic,nrf52840-qspi`

 | 

`CONFIG_SPI_MEM_NRF5_QSPI`

 |
| 

SiFli SF32LB MPI

 | 

`sifli,sf32lb57-mpi`, `sifli,sf32lb52-mpi`

 | 

`CONFIG_SPI_MEM_SF32LB_MPI`

 |

Generated from PebbleOS [12b6c531f](https://github.com/coredevices/pebbleos/commit/12b6c531f9e0c2f39fe4e9bb2886314697128f08). This page is maintained in the pebbleos repository: [docs/drivers/spi\_mem.md](https://github.com/coredevices/pebbleos/blob/12b6c531f9e0c2f39fe4e9bb2886314697128f08/docs/drivers/spi_mem.md).
