How to configure GPDMA for PWM generation?
Hi,
I'm using a Riverdi RVT50HQSFWN00 Screen with the STM32U5A9NJH6Q MCU. COnnected to pin PI0 is a WS2812 LED light strip. I already configured the timer 5 channel 4 for PWM generation and validated it with a scope at the pin. Right now I'm stuck at the GPDMA part. I'm able to start the PWM generation using: HAL_TIM_PWM_Start_DMA(&htim8, TIM_CHANNEL_1, (uint32_t *)pwmData, indx);
For the code I followed this tutorial: https://controllerstech.com/interface-ws2812-with-stm32/
This is my timer configuration (TIM5 global interrupt enabled):

This is GPDMA configuration:

Using a scope, I see that a PWM signal is generated but the HAL_TIM_PWM_PulseFinishedCallback() function is never called, which in the end, stops the DMA transfer.
Would really appreciate any help.
Best regards
Marko
