Question
Two DMA captures For one timer
Posted on January 16, 2016 at 20:39
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 zerosif I changed the order of the two lines only ''buffer2'' gets updated.does it mean I cannot assign two DMA for the same counter?