DMA to TIM2 Frequency generation do not works
Hello.
We want use a Stepper X-NUCLEO-IHM14A1 with STSPIN820. We need to drive the STCK signal on the PB3 or PB10 GPIO. because we need some RAM and a CAN BUS, we choosed the STM32F446 (nucleo 64 board).
Each step will have different time, so we want to use DMA to timer. PB3 is used by SWO and there is only TIM2_CH3 on PB10.
I have found this tutorial : https://controllerstech.com/interface-ws2812-with-stm32/
and after changing the destination register CCR1 by ARR, it works fine... on the Timer 1 CH1.
But, we can't do the same on TIM2.
TIM1 CH1 is on the DMA2 / CH6 / Stream 1
TIM2 CH3 is on the DMA1 / CH3 / Stream 1
Is there any difference between TIM1 DMA2 and TIM2 DMA1 ?
