The SPI headers on the raspberry pi are located on:
- MOSI P1-19 (GPIO10)
- MISO P1-21 (GPIO09)
- SCLK P1-23 (GPIO11)
- GND P1-25
On the nucleo board these are located on:
- MOSI on PB15
- MISO on PB14
- SCLK on PB13
- GND – there are lots to choose from
Regarding firmware releases after december 2017
Up until december 2017 the software on the rpi would transmit a command to the nucleo, and then wait a bit longer than actually needed before reading the contents of the nucleo’s data-array.
This is obviously not a viable design for a high frame-rate system (which is the whole point of using an rpi).
In later releases, the SPI-fw signals when a new data-set is ready for download by changing the logic state of PB2 on the nucleo, which in turn is monitored by the hfCLI through GPIO22 on the rpi.
So one more connection is required in addition to the SPI-wiring:
- PB2 -> GPIO22
This also means that the graphical user interface must be used in conjunction with an SPI-fw from before december 2017.