AnsweredAssumed Answered

GPIO remap order of operations

Question asked by miller.charles.003 on Oct 8, 2012
The STM32 CMSIS examples I've seen show the remap function (e.g., GPIO_PinRemapConfig(...)) being called before the GPIO_Init() function.

Must the MAPR and MAPR2 remap register fields be assigned prior to assigning the CRL/CRH register fields, or can MAPR/MAPR2 be assigned after the GPIO_Init() call?

Many thanks.

Outcomes