I'm using STM32F103C8T6 with SPI1 remapped and in half-duplex mode (MISO pin unused by SPI). I'd like to use MISO pin (PB4) for PWM generation by TIM3 remapped but I can not get it working while SPI1 is clocked. So is there a way to use MISO pin of SPI in half-duplex mode for other AF function while SPI remains clocked?
UPD. I found out that MISO pin can be used as GPIO when SPI in half-duplex master mode