Maker Pro
Maker Pro

Can not read from SPI Rx buffer (STM32f103C8T6)

Gergo

Jul 23, 2017
13
Joined
Jul 23, 2017
Messages
13
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.

Képkivágás.PNG
 
Last edited:

Gergo

Jul 23, 2017
13
Joined
Jul 23, 2017
Messages
13
Late Edit!! Terribly sorry, the STM32 microcontroller is Master, not Slave!
 
Top