Using SPI 3 wire with STM32L476 discovery Board Posted by rbeal on 2016-11-03 09:40 I have added these lines : HAL_SPI_MspDeInit(&hspi2); HAL_SPI_MspInit(&hspi2); But it still not working.