basic app to test spi func