STM8S105 Interrupt Execution Time (using Raisonance Ride 7)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2010-10-28 1:34 AM
Posted on October 28, 2010 at 10:34
STM8S105 Interrupt Execution Time (using Raisonance Ride 7)
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 6:11 AM
Posted on May 17, 2011 at 15:11 Hi toh.seng_huat, why you don't use TIM1 in PWM mode ? You can run timer counter in 1ms (as example) and channel 1 in pwm: ARR = 3000 and CCR1 = 2000 and you will get your signal without caring about it in software. Your CPU will be loaded-off. MCU Lüfetr
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 6:11 AM
Posted on May 17, 2011 at 15:11
Hi lowpowermcu,
Actually, i'm testing on a pre-designed pcb circuit, so my timer 1 does not connect to any LEDs, only timer3 does. That's why i'm using timer3.
Understands that setting CCR to the ratio of the ARR can get the desired outcome... As i need to show that I can use PWM mode to make the LED glow and off.
Currently I manage to get the effect on and going.
Thanks a lot.
Hi toh.seng_huat, why you don't use TIM1 in PWM mode ? You can run timer counter in 1ms (as example) and channel 1 in pwm: ARR = 3000 and CCR1 = 2000 and you will get your signal without caring about it in software. Your CPU will be loaded-off. MCU Lüfetr