Thursday , October 9 2025

VN23 – Stm32F4 Input Capture DMA ( 2 timers + 2 channels )

VN23 (Video No:23) This video is about, (Hal lib V2.11.0) while programming STM32F4 with STM32CubeMX – Keil, how to use input capture DMA method? What should we put attention to, while using DMA FIFO? I used Timer1 channel 2 ve Timer2 channel 1 in the video.

<<Video>> Watch
<<Source Code>> Download

 Notes;

  • When Capture event occurs, related timer count value is saved in capture register.
  • When Capture event occurs, related timer count value should be set to zero “0”.
  • For DMA FIFO settings, FIFO threshold configurations ( RM0090 reference manual Table 48.) must be taken into attention.

  • If FIFO settings are wrong, DMA is disabled automatically.

Check Also

#5 – Stm32f4 Gpio Exti Examples

Example 1: (PA0 gpio input, pull down) The Exti runs as long as triggering thorough …