Hey guys!
I have an STM32 micro as a slave 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, I can see the answer on the oscilloscope. But somehow I'm not able to read out this data from the buffer. Here is the code, I hope somebody can see what I'm missing. I put it in a loop, which quits when theres any data.
I have an STM32 micro as a slave 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, I can see the answer on the oscilloscope. But somehow I'm not able to read out this data from the buffer. Here is the code, I hope somebody can see what I'm missing. I put it in a loop, which quits when theres any data.
Last edited by a moderator: