I am trying to write a program that will be installed on a Linux MCU (Raspberry Pi) that will read serial data coming to it from yet another MCU (something homegrown that I will
Have you find Linux documentation of SPI ?
There are couple good documents: spi-summary and spidev.
There is also example in file spidev_fdx.c, where read() is used for SPI device.
read()
But usually reading from SPI is handled by ioctl() function.
ioctl()