STM32F0 SPI programming of MAX7219
The code wants to write over SPI using interrupts, does not wait for transmission completion and immediately wants to receive over SPI using interrupts again. That should answer why it does not work.