cancel
Showing results for 
Search instead for 
Did you mean: 

Count edge with TIM14 channel 1 ?

MM..1
Chief III

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?

13 REPLIES 13

> 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

Can i store two or more CC values with DMA here ?

Dont DMA not exist here.

Exactly, TIM14 can't trigger DMA...

JW