1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/periph_spi
2021-12-07 20:22:58 +01:00
..
app.config.test tests/periph_spi: Convert to ztimer 2021-12-07 16:31:15 +01:00
Kconfig drivers/periph_spi: Kconfig SPI_ON_QSPI model 2021-11-29 09:12:27 +01:00
main.c tests/periph_spi: Convert to ztimer 2021-12-07 16:31:15 +01:00
Makefile tests/periph_spi: Convert to ztimer 2021-12-07 16:31:15 +01:00
Makefile.ci tests/periph_spi: Convert to ztimer 2021-12-07 16:31:15 +01:00
README.md tests/periph_spi: Expose default SPI CS pins 2020-05-20 10:44:57 +02:00

Expected result

You should be presented with the RIOT shell, providing you with commands to initialize a board as master or slave, and to send and receive data via SPI.

Background

Test for the low-level SPI driver.

Default SPI CS pin

To overwrite the optional default cs pin CFLAGS can be used:

CFLAGS="-DDEFAULT_SPI_CS_PORT=<my_port_int> -DDEFAULT_SPI_CS_PIN=<my_pin_int>" BOARD=<my_board> make flash term