Seeking example/sample code for SPI slave

In another post I saw a mention of spidev_slave_test. Is this something for which the source is available?

Does anyone have code that receives messages through the SPI slave that they can share?

You can find the open source of the spidev_test to test slave mode too. Shouldn’t have spidev_slave_test
Have a reference to below link to check if can get help.


I’m trying to access the link but it is inaccessible. If you could provide me a fresh link that would be great.

Check this one.