Resolved! SPI handle structure did not write and shift the register
I have declared my SPI2 base address:#define PERIPH_BASE 0x40000000U #define APB1PERIPH_BASE PERIPH_BASE #define SPI2_BASEADDR (APB1PERIPH_BASE + 0x3800)I have a SPI Handle structure:typedef struct{ SPI_RegDef_t *pSPIx; //This holds the base addr...