Re: [Sdcc-user] Trying TIM1 with varying PWM. Not working yet

2019-11-09 Thread Shivakumar R via Sdcc-user
Thank you Richard.  Once again, you saved me from hours of 'hunt and try' :-) Thanks and Warm Regards Shiv On Sunday, November 10, 2019, 12:23:16 AM GMT+5:30, Richard Hodges wrote: On 2019-11-09 09:29, Shivakumar R via Sdcc-user wrote: > The SPL example does not mention anything ab

Re: [Sdcc-user] Trying TIM1 with varying PWM. Not working yet

2019-11-09 Thread Richard Hodges
On 2019-11-09 09:29, Shivakumar R via Sdcc-user wrote: > The SPL example does not mention anything about changing the values of > the option bytes, but I see that in my STM8S003F3P6 chip(20 pin tssop) I > need to set the AFR0 bit of OPT2 (as well as NOPT2) to use the TIM1Ch2 > alternate function.