I understand the first sentence, but not the second. TIM controls the trigger time, and DMA controls the transmission. There is no overlap in their functions. Why is it enough to have only one?
Details
Published on 2018-7-25 18:43
huo_hu posted on 2018-7-25 18:10 There is no need to repeat DAC_DeInit(); In addition, if there is TIM, there is no need for DMA, just one is enough.
I understand the first sentence, but not the second one. TIM controls the trigger time, and DMA controls the transmission. There is no overlap in the functions of the two. Why is it enough to have only one?
The purpose of DMA transmission is to reduce the transmission time occupied by the MCU. You just need to process the previous data before the timer triggers the next conversion. It's not impossible, it's just unnecessary.
Details
Published on 2018-7-26 16:57
This post was last edited by huo_hu on 2018-7-26 17:03
Shijizai posted on 2018-7-25 18:43 I understand the first sentence, but not the second one. TIM controls the trigger time, and DMA controls the transmission. There is no overlap between the two functions. Why...