2017-07-25 12:32 PM
Hello ,Sir/Madam
I am working on STM8S (STM8S003F3) MCU . This is 20 bit MCU. I So i am using 2 timers TIMER1 CHANNEL2 (on pin no. PC7 ) and TIMER2 CHANNEL1 (on pin no. PD4) and i select ARF0 OPTION BYTE for
TIMER1 CHANNEL2 then TIMER2 CHANNEL1 (on pin no. PD4) does not work , but both are separately working . so now what is problem occur when we use both at a time .
Thanks2017-07-25 01:56 PM
Suggest posting small code example illustrating the configuration of the Pins and Timer for review
2018-06-06 12:20 AM
Hello,
Once you enabled AFR0 for 20 pin device you have remapped TIM1_CH2 to PC7 but as well TIM2_CH1 to PC5. Please have a look at OPT2, AFR0 description in STM8003 datasheet.
Best regards,
Artur