I have solved all of these issues on my stm32 and have implemented working functionality of DMA SPI RX and TX for this as well as a bit bang method for doing all of this. Both work very well.
This is my project link: https://github.com/Rokasbarasa1/Logger