Y
Y
Yaroslav Korchevsky2021-08-07 00:13:23
STM
Yaroslav Korchevsky, 2021-08-07 00:13:23

STM32F407 How to read data via DMA with external clock?

There is a program that reads data from an external port from an external clock.
External clocking is implemented through the TIM1 timer trigger. I use the DMA2 controller
DMA2_Stream0 + TIM1_TRIG, the trigger was clocked by TI2FP2. It was
necessary to release the DMA2 controller, so it was necessary to copy MEM2MEM, and only DMA2 can do it on the STM32F41x platform.
I started jumping to the DMA1 controller.
I chose the combination DMA1_Stream4 + TIM3_TRIG. Clocking is also from TI2FP2
Does not work. Corresponding legs - soldered. All code is trusted. I did not find any extra GPIO settings.
Who faced?
Maybe I didn't read the small text somewhere in the documentation?
I saw about DMA2 MEME2MEM, but missed something else.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question