problem with spi flash read

i have a problem with spi read , i am able to write data into flash but not able to read data using adl_read ,clock is not generated and no data on the bus why ?

post your piece of code which may help in solving the issue…

If SPI has problem, I suggest you can use any 4 GPIO pins as serial interface to flash, one GPIO as CS, another as Clock, other two as input/output. You can use Clock pin to control speed. This kind of interface called software SPI. The speed (from several KB to hundreds of KB per second) is slow, but it is universal and very reliable.