SPI Receive
Hi, I am working on SPI to communicate with the AD9959 from analog device, I'm analyzing the MOSI and MISO signal with probes on an oscilloscope and can see that I can successfully write and read from the device, the thing is that HAL_SPI_Receive() send back the received buffer pRxData with the value 0 instead of the value from the MISO line, is there a reason for that ? I'm pretty sure I respect the specification of the spi communication for the device. In my case i set it on spi single-bit 3 wire mode to use MOSI and MISO lines, and on my spi parameters, I'm in spi mode 0 as it should by looking at the datasheet.
I dragged the datasheet below for those who are interested with the code of my read function. The variable which is suppose to hold the value returned by the slave (AD9959) in the MISO line (receivdata) is always 0 but the MISO line returned the value that have been written to the register.
Thank you for your time.
