Possible to trigger timer events from software on STM32F4?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-09-18 5:50 AM
I am working with the STM32F4 family. External interrupts have a register called EXTI->SWIER that makes it possible to generate external interrupt from software. Do the timers have something similar, a register that I can use to generate timer interrupts in software?
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-09-18 5:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-09-18 5:57 AM
TIMx_EGR
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-09-18 6:09 AM
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-09-18 6:32 AM
Hi @arnold_w​ ,
Correct you have to use the TIMx_EGR as suggested by Jan.
Just do not forget to enable the interrupt in TIMx_DIER register.
Khouloud.
