0
The GPIO pins that you are using for SPI communication should be assigned for the SPI alternate function. For example, the following code will assign Pin5 of PORTA to SPI AF: GPIO_PinAFConfig(GPIOA, GPIO_PinSource5, GPIO_AF_SPI1); The same assignment has to be made for all the SPI pins that you...