Skip to content

Commit 7c5272b

Browse files
committed
tests: spi_loopback: nxp_lpspi: Increase latency for DMA
The DMA-based LPSPI is inherently going to have a high latency due to the requirement for setting up the DMA transfer and the DMA driver may be extremely bloated, this is no fault of the spi driver and not relevant to the test. The driver we want to test for latency is the CPU-based one, the DMA-based one is more prioritizing bandwidth over latency. Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
1 parent de001f7 commit 7c5272b

File tree

1 file changed

+1
-0
lines changed
  • tests/drivers/spi/spi_loopback

1 file changed

+1
-0
lines changed

tests/drivers/spi/spi_loopback/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ config SPI_LARGE_BUFFER_SIZE
1313

1414
config SPI_IDEAL_TRANSFER_DURATION_SCALING
1515
int "Scaling factor to compare ideal and measured SPI transfer duration"
16+
default 40 if SPI_NXP_LPSPI_DMA
1617
default 8
1718

1819
if SOC_SERIES_STM32H7X

0 commit comments

Comments
 (0)