add spi sample