File tree Expand file tree Collapse file tree 2 files changed +30
-1
lines changed
tests/drivers/spi/spi_loopback/boards Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 11CONFIG_SPI_LOOPBACK_DRV_NAME="SPI_1"
2- CONFIG_SPI_STM32_INTERRUPT=y
2+
3+ CONFIG_SPI_STM32_DMA=y
4+ CONFIG_SPI_STM32_INTERRUPT=n
5+
6+ CONFIG_SPI_ASYNC=n
7+
8+ CONFIG_SPI_LOOPBACK_MODE_LOOP=n
39
410# Reduce bus clock speed to be able to reach SPI_LOOPBACK_SLOW_FREQ = 500000
511# with max prescaler 256
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2020 Erwin Rol <
[email protected] >
3+ *
4+ * SPDX-License-Identifier: Apache-2.0
5+ */
6+
7+ &spi1 {
8+ dmas = <&dmamux1 0 11 0x20440 0
9+ &dmamux1 8 10 0x20480 0>;
10+ dma-names = "tx", "rx";
11+ };
12+
13+ &dma1 {
14+ status = "okay";
15+ };
16+
17+ &dma2 {
18+ status = "okay";
19+ };
20+
21+ &dmamux1 {
22+ status = "okay";
23+ };
You can’t perform that action at this time.
0 commit comments