https://www.circuitstate.com/tutorials/making-two-raspberry-pi-pico-boards-communicate-through-spi-using-c-cpp-sdk/
Making Two Raspberry Pi Pico Boards Communicate through SPI using C/C++ SDK