zephyr/tests/drivers/spi/spi_controller_peripheral
..
boards
src
CMakeLists.txt
Kconfig tests: drivers: spi: Remove inclusive language from SPI test 2024-05-30 01:02:13 -07:00
prj.conf
README.txt
testcase.yaml tests: drivers: spi: Remove inclusive language from SPI test 2024-05-30 01:02:13 -07:00

In this test suite two instances of the SPI peripheral are connected together.
One SPI instance works as a controller, second one is configured as a peripheral.
In each test, both instances get identical configuration (CPOL, CPHA, bitrate, etc.).

Four GPIO loopbacks are required (see overlay for nrf54l15pdk for reference):
1. spi22-SPIM_SCK connected with spi21-SPIS_SCK,
2. spi22-SPIM_MISO connected with spi21-SPIS_MISO,
3. spi22-SPIM_MOSI connected with spi21-SPIS_MOSI,
4. spi22-cs-gpios connected with spi21-SPIS_CSN.