AnsweredAssumed Answered

Why can't I read from SPI Rx buffer?

Question asked by Gergo Tanyi on Nov 2, 2017
Latest reply on Nov 2, 2017 by Gergo Tanyi

Hey guys!
I have an STM32 micro as a Master device, and I am communicating with a slave chip through the SPI interface. It works well, so far I can read from the slave's memory cells, or at least I can see the answer on the oscilloscope. But somehow I'm not able to read out this data from the buffer. I attached  the code, I hope somebody can see what I'm missing. I put it in a loop, which quits when theres any data.