cancel
Showing results for 
Search instead for 
Did you mean: 

TIM2 CH3 and CH4 ic az the same time?

Petró Máté
Associate II
Posted on February 11, 2017 at 20:39

Hy.

I have a stm32f407vgt. I would like to use all TIM2 input compare for DMA trigger. I don't understand that the TIM2_CH4 is at two dma streams, and one of them with CH2, so how can i use all 4 channels at the same time?

Thanks,

Mate

Note: this post was migrated and contained many threaded conversations, some content may be missing.
15 REPLIES 15
Posted on February 12, 2017 at 08:57

TIM5 is allready in use. I want 8 input captures with 32 bitt resolution.

Posted on February 12, 2017 at 09:59

I will give a try. thanks

Posted on February 12, 2017 at 18:36

Stream 6 Channel 3 is said to be triggered by both CH2 and CH4.

Do you know how exactly is this implemented?

Jan

Posted on February 12, 2017 at 19:13

I don't know. But I hope that the priority settings solves the problem 

Posted on February 12, 2017 at 21:15

Sounds like a plan and we all are waiting for you to report back with the results, but... hey, it's two hours since you last post, why does it take you so long? :D

Jan

PS. Had been experimenting with SPI-triggered interrupts on an 'F40x back then. When I enabled both streams triggered from the same SPI-Rx, after a trigger happened, one of them continued to work normally, the other went to a weird state - not functioning, but could not been disabled either, CR.EN remained set no matter what was written to CR... Just saying.

Posted on February 12, 2017 at 21:32

I will try, but i have a lot of other homework.