Hi,
I am not sure that I will be able to prepare the returned value to an SPI master. This is becuase I need to decode the address and get the data and I have only one SPI clock to do it. There are two solutions which I currently see:
1. Use lower SPI rate - Although it will work it has draw back as the power consumption increases (more time to transfer data) and it will force slowing the master (not sure how critical it is).
2. Transmit 1's until data is ready than transmit one 0 byte and than the data. This way I can use any data rate supported by the master / slave. It will require the master to know when the first byte of data is transmitted (not so complicated ofcourse).
Are there any other solutions?
Thx