In the README.md file for the SPI slave examples, as well as in the example code, there is:
According to the reference manual, module diagrams, and running code, MOSI and MISO are reversed, as are SCLK and CS.
Code: Select all
Please run wires between the following GPIOs between the slave and master to make the example function: Signal Slave Master Handshake GPIO2 GPIO2 MOSI GPIO12 GPIO12 MISO GPIO13 GPIO13 SCLK GPIO15 GPIO15 CS GPIO14 GPIO14
The proper settings are: