Solved
TIM PWM CCR DMA get Transfer error
I am trying to use dma with timer 2 in order to change the dutty cycle of a pwm output in each cycle. However, I get a dma transfer error.

I am trying to use dma with timer 2 in order to change the dutty cycle of a pwm output in each cycle. However, I get a dma transfer error.

I could solve. I have not referencing correctly the pointer of ccr1
(uint32_t)&_RGB_LED_PWM_TIM_HANLDER->CCR1
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.