AnsweredAssumed Answered

Two DMA captures For one timer

Question asked by SamTheMan on Jan 16, 2016
Latest reply on Jan 18, 2016 by waclawek.jan
I have a timer (Timer1) free running.
I have assigned two input captures.
when I run this code:

 HAL_TIM_IC_Start_DMA(&htim1,TIM_CHANNEL_1,&buffer1,20);
 HAL_TIM_IC_Start_DMA(&htim1,TIM_CHANNEL_2,&buffer2,20);

only "buffer1" gets updated and "buffer2" remains all zeros
if I changed the order of the two lines only "buffer2" gets updated.

does it mean I cannot assign two DMA for the same counter?

Outcomes