PB7 doesn't work as GPIO output when using SPI1 at NUCLEO-F303K8.
I set PB7 for the output pin to light a LED when PB7 is HIGH. However, after the function "HAL_SPI_Receive_IT()." is called, my LED doesn't light or turns off even if setting PB7 as output HIGH. I use CubeMX ver. 6.6.1-RC2 and CubeIDE ver. 1.10.1. ...