SPI as an Input Port

Hi guys,

I want to read value from SPI over time, I did it before with mock-up data using Tick-Tock node as my input port. I got confused when I have to use the SPI: should I make the SPI as the new Input Port, or change the code an not using it as Input Port? And how could I do either of them?

Thanks