nuttx-apps/examples/spislv_test
Felipe Moura ddd30acef9 examples/spislv_test: Added app that allows users to test SPI Slave comm
This application continuously reads the file system of the spislv. Each received message will be written to the user in hexadecimal form, and the same received data will be sent back. In this way, the user can test if their spislv driver and hardware setup are working properly before proceeding further.

On a master device, using the SPI tool, when sending the message: spi exch -x 4 deadbeef

The slave device will output:
Slave: 4 Bytes read
 Value in hex form from /dev/spislv2: de ad be ef
Slave: Writing value back to /dev/spislv2
2026-04-20 15:18:56 +08:00
..
CMakeLists.txt examples/spislv_test: Added app that allows users to test SPI Slave comm 2026-04-20 15:18:56 +08:00
Kconfig examples/spislv_test: Added app that allows users to test SPI Slave comm 2026-04-20 15:18:56 +08:00
Make.defs examples/spislv_test: Added app that allows users to test SPI Slave comm 2026-04-20 15:18:56 +08:00
Makefile examples/spislv_test: Added app that allows users to test SPI Slave comm 2026-04-20 15:18:56 +08:00
spislv_test.c examples/spislv_test: Added app that allows users to test SPI Slave comm 2026-04-20 15:18:56 +08:00