Experiment 07 - SPI Experiment
- Hardware Connection
Connect MISO (IO19) and MOSI (IO21) together using jumper cap directly:

- Software Operation
Enter user home directory and run:
cd usersudo python3 ./test_spi.py
Select bus number and chip select number from the printed SPI controllers as input options. For example, to test spidev0.0, both bus num and cs num are 0, press Enter to confirm:
Terminal as shown:

After the program runs correctly, it will continuously print 0x55 0xAA. If it prints 0x00 0x00, then the SPI loopback test has failed.
