2018-11-12 10:07 AM
For example how can the IO pins be set for alternate function mapping to non-default pin. As per datasheet same alternate pin function is mapped to multiple pins. For example USART1_TX is shown to be available on PC3 and also PA2.
By programming all GPIO and USART control registers only PC3 is operative. There is some very brief discussion about re-mapping the pins to second or third set of pins by programming option bytes.
Is there an example of how this can be done with a specific example ?
I am using STM8L052C6 and STM8L152C6 micro on STM8L-DISCOVERY kit.