CONFIG_SPI_MCUX_BUF_SIZE

Number of bytes in the local buffer

Type: int

Help

The mcux driver requires that the RX and TX buffers are the same length, however the Zephyr spi interface allows them to be different. When they are different, the mcux shim driver uses a local buffer. This option defines the size of the local buffer.

Direct dependencies

SPI_MCUX_DSPI && SPI

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At drivers/spi/Kconfig.mcux_dspi:18

Included via Kconfig:10Kconfig.zephyr:29drivers/Kconfig:38drivers/spi/Kconfig:265

Menu path: (top menu) → Device Drivers → SPI hardware bus support → MCUX SPI driver

config SPI_MCUX_BUF_SIZE
    int
    prompt "Number of bytes in the local buffer" if SPI_MCUX_DSPI && SPI
    default 16 if SPI_MCUX_DSPI && SPI
    depends on SPI_MCUX_DSPI && SPI
    help
      The mcux driver requires that the RX and TX buffers are the same
      length, however the Zephyr spi interface allows them to be different.
      When they are different, the mcux shim driver uses a local buffer. This
      option defines the size of the local buffer.

(Definitions include propagated dependencies, including from if’s and menus.)