spi gpio implement spi delay