-
CONFIG_SPI_NRFX_RAM_BUFFER_SIZE
¶
Size of RAM buffer
Type: int
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.
Direct dependencies¶
(SPI_NRFX
&& SPI
&& BOARD_REEL_BOARD
) || (NRFX_SPIM
&& SPI_NRFX
&& SPI
)
(Includes any dependencies from if’s and menus.)
Kconfig definitions¶
At boards/arm/reel_board/Kconfig.defconfig:76
Included via Kconfig:10
→ Kconfig.zephyr:19
Menu path: (top menu)
config SPI_NRFX_RAM_BUFFER_SIZE int default 8 ifSPI_NRFX
&&SPI
&&BOARD_REEL_BOARD
depends onSPI_NRFX
&&SPI
&&BOARD_REEL_BOARD
At drivers/spi/Kconfig.nrfx:336
Included via Kconfig:10
→ Kconfig.zephyr:29
→ drivers/Kconfig:38
→ drivers/spi/Kconfig:269
Menu path: (top menu) → Device Drivers → SPI hardware bus support → nRF SPI nrfx drivers
config SPI_NRFX_RAM_BUFFER_SIZE int prompt "Size of RAM buffer" ifNRFX_SPIM
&&SPI_NRFX
&&SPI
default 0 ifNRFX_SPIM
&&SPI_NRFX
&&SPI
depends onNRFX_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.
(Definitions include propagated dependencies, including from if’s and menus.)