Count edge with TIM14 channel 1 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-12-07 1:18 AM
I use counting on TIM15 and now need change to 14 , but seems here external pulses counting dont work. FYI STM32F030
Is any setup for 14 possible?
Solved! Go to Solution.
- Labels:
-
STM32F0 Series
-
TIM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-12-07 3:04 AM
> any interrupt seems here is slow because is delayed with other or systicks .
Couldn't you assign highest "group" priority to the EXTI (or TIM14, if that would be used) interrupt?
> optimaly one edge reset TIM and second store CC1
It's again the slave-mode controller (which is not there) which would be used to reset counter in full-fledged timers.
Here, as there's only one channel, it would need to be set to both edges, and then you would need to be able to read out the captured value for one edge fast enough so that the other edge would not overwrite it.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-12-07 3:17 AM
Can i store two or more CC values with DMA here ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-12-07 3:47 AM
Dont DMA not exist here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-12-07 4:14 AM
Exactly, TIM14 can't trigger DMA...
JW

- « Previous
-
- 1
- 2
- Next »