Can someone please explain to me how the alternate function mapping works? I found the alternate mapping table in the datasheet but how to read it. What is the default location of peripherals. For example by default the micro is in configured at AF0, for example what would the location of SPI1 be in that case? For my application I need 5pin jtag, TIM2 ch1/ch2 as 32 bit encoder counter and TIM5 ch1 as PWM output.
Also when I only use channel 1 of a timer, can I use the pins for the other channels for gpio or other peripherals like jtag or spi?