cancel
Showing results for 
Search instead for 
Did you mean: 

How to use non - default pin mapping for STM8 micros ?

Prasad11
Associate

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.

0 REPLIES 0