2021-03-30 05:20 AM
Our customer need some help to develop their application using STM8S003F3.
They are using Timer 1 as PWM generator at 125kHz but, does't have success to implement a overflow counter. They told us that the PWM pulse generator are working well. Did you guys have some example of how to implement this counter at the timer 1?
They are using IAR to develop their application.
They send to us some shots of their development:
2021-04-07 12:09 AM
I do not see where they enable interrupts, something like this:
TIM1_ITConfig(TIM1_IT_UPDATE, ENABLE);
and where they enable global interrupts:
enableInterrupts();