SPI read not working as expected

Hi,
I am trying to test SPI example from SDK.
Using the below code i expect a one byte SPI write and one byte SPI read. I am able to see SPI write on the bus but not the read. What am i missing here?

And one more query. How can i toggle the CS line after complete transaction is done. I am trying to interface SPI flash on the bus without DMA. Below is the requirement for it.

CS pin has to be toggled after complete transaction and not after every byte transfer.

Hi @Jitendra_Singh

We would like to provide assistance wherever possible, but please also take note that if you are using the NDA SDK, then topics releated to the NDA SDK are of None Disclosure Nature and are not supposed to be discussed here, as this is for the open-source SDKs and community.

The best way to seek for help for NDA SDK is to ask the FAE that have contacted you, or send us a private msg with your questions where we help to forward to your FAE.

You may refer to this link for more details,