SPI transfer on Pico4ml

Hoping I might be able to do SPI transfer between two Pico4ml boards using the ‘spi_master_slave’ pico-examples, but it’s not clear to me how I might physically hook this up.

For Master, going to try:
#define PICO_DEFAULT_SPI_SCK_PIN 24
#define PICO_DEFAULT_SPI_TX_PIN 25
#define PICO_DEFAULT_SPI_RX_PIN 21
#define PICO_DEFAULT_SPI_CSN_PIN 22

For Slave, going to try:
#define PICO_DEFAULT_SPI_SCK_PIN 24
#define PICO_DEFAULT_SPI_TX_PIN 21
#define PICO_DEFAULT_SPI_RX_PIN 25
#define PICO_DEFAULT_SPI_CSN_PIN 22

Will this work? I assume SPI_TX is MOSI if I am on the master side and SPI_TX is MISO if I am on the slave side? A bit confusing, not sure why they didn’t just call these MOSI and MISO.

As far as I can tell from the Pico4ML schematic, https://www.arducam.com/downloads/Arducam-Pico4ML-board-Shematics-UC-798_SCH.pdf

On the schematic GPIO13 is SS, GPIO10 is SCK, and GPIO11 is SPI_TX, but there is no SPI_RX pin. Further confusion.

Any help would be appreciated. Thanks!

(Addendum: As far as I can tell, the Pico4ML w/ camera and the standard Pico have the same pinout.)

Hi,
SPI_TX is master’s MOSI, and SPI_RX is master’s MISO.

Thanks. I ended up getting it.