In spi communication , master controls the clock for transmission.
whenever master has data to be sent , it load the data in SDO and then high the clock status. slave check for high clock and then reads data from SDI pin.While slave reading the data master low the status of clock and this whole cycle continue until master has data to be