SPI capture and output in master mode rising edge
spi falling edge