SPI Loopback

Overview

See tests/drivers/spi for the original scope of tests, its structure and description.

Requirements

You will need an ST-LINK/V2 debug tool adapter already connected to the TiaC Magpie board, which has an already configured UART console connection.

On the TiaC MAGPIE pin headers the following SPI pins must be connected.

TiaC MAGPIE Pin Header SPI Loopback Wiring

Building and Running

Build and run the tests on target as follows:

$ ./zephyr/scripts/twister \
    --verbose --jobs 4 --inline-logs \
    --enable-size-report --platform-reports \
    --device-testing --hardware-map map.yaml \
    --extra-args SHIELD=loopback_test_tmph \
    --board-root bridle/boards \
    --testcase-root zephyr/tests/drivers/spi