It seems there is something wrong with SPI2 while configuring it as slave,SPI_SlaveTransferBlocking can't return successfully due to it can't receive data even if master is sending data correctly.
In my case, I use the following ports and configure them as spi2 slave usage, then another DEVKIT as master, I can see the signal is fine on oscilloscope.
SS PG11
CLK PE15
SOUT PG15
SIN PG14
Please confirm if there is any problem with the EAR 0.8.1 or chip internal.