:orphan: .. title:: CONFIG_SPI_NRFX_RAM_BUFFER_SIZE .. kconfig:: CONFIG_SPI_NRFX_RAM_BUFFER_SIZE CONFIG_SPI_NRFX_RAM_BUFFER_SIZE ############################### *Size of RAM buffers for SPIM peripherals* Type: ``int`` Help ==== .. code-block:: none SPIM peripherals cannot transmit data directly from flash. Therefore, a buffer in RAM needs to be provided for each instance of SPI driver using SPIM peripheral, so that the driver can copy there a chunk of data from flash and transmit it. The size is specified in bytes. A size of 0 means that this feature should be disabled, and the application must then take care of not supplying buffers located in flash to the driver, otherwise such transfers will fail. Direct dependencies =================== \ :kconfig:`NRFX_SPIM ` && \ :kconfig:`SPI_NRFX ` && \ :kconfig:`SPI ` *(Includes any dependencies from ifs and menus.)* Default ======= - 8 Kconfig definition ================== At ``/spi/Kconfig.nrfx:196`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:42`` → ``/Kconfig:40`` → ``/spi/Kconfig:76`` Menu path: (Top) → Device Drivers → SPI hardware bus support → nRF SPI nrfx drivers .. code-block:: kconfig config SPI_NRFX_RAM_BUFFER_SIZE int "Size of RAM buffers for SPIM peripherals" default 8 depends on NRFX_SPIM && SPI_NRFX && SPI help SPIM peripherals cannot transmit data directly from flash. Therefore, a buffer in RAM needs to be provided for each instance of SPI driver using SPIM peripheral, so that the driver can copy there a chunk of data from flash and transmit it. The size is specified in bytes. A size of 0 means that this feature should be disabled, and the application must then take care of not supplying buffers located in flash to the driver, otherwise such transfers will fail. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*