DMA completion interrupt not working for slave STM32 SPI
I found the solution. In reference manual of STM32f103xx there is a table (No. 78) clarifying that which DMA channel can be used for which peripheral. According to that table, I had to use DMA1 channel3, while I was using channel6 instead.