Setting Encoder functionality on STM32F407VE vs STM32F103C8
Setting the encoder functionality on STM32F103C8 is straight forward, just set the registers that's due. But on STM32F407VE it seems more tricky: using PA6 and PA7 on TIM3, if you follow what is said in the RM0090, page 616, you're not ready to go:
Further, I've discovered I had to configure the AF function to the pins 6 and 7 and then attach AF to TIM3 setting AF2 to register GPIOx_AFRL on pins 6 and 7:
The question is: where in the RM0090 is said to set the AF to enable encoder functionality?
(On STM32F103C8 it's not necessary to attach TIM3 to AF, you simply have to follow the recipe, unlike for the STM32F407VE).
Would this section of RM0090 be a simply copy-and-paste from RM0008, where it works flawlessly?
