Dear All,
I am currently trying to get the (complete) remapping of the 4 output channels in TIM3. I have been trying to do this using the ST function eg.
GPIO_PinRemapConfig( GPIO_FullRemap_TIM3, ENABLE );
and the more "standard" way by writing to the register directly eg.
AFIO->MAPR |= 0x00000C00;
Interestingly enough both methods are working in the simulator, but do not seem to have any effect on the board, as on the board, the AFIO MAPR register allways seems to stay 0x00000000.
Thanks for any hints what I might be doing wrong! Tim
View all questions in Keil forum