Crazy-Geeks / STM32-ARGB-DMA

STM32 Library for Addressable LEDs: WS2812(b), WS2811, SK6812, etc. Supports RGB & RGBW LEDs.
MIT License
84 stars 25 forks source link

Stuck in busy HAL_DMA_STATE_BUSY #9

Open antoi-q opened 1 year ago

antoi-q commented 1 year ago

Hello Crazy-Geeks,

Thank you for this lib. I try to add it to my Nucleo G0B1RE project but I have several problems.

First of all I had to change APBfq init because of "implicit declaration of function" : image

Unfortunatlly, I the execution get stuck in the second ARGB_show() call. Whane checking DMA_HANDLE.State it is HAL_DMA_STATE_BUSY.

Please find my configs : image

image

image

image

image

I use a picoscope for debugging which is directly connected to the TIM4_CHANNEL1 pin and the it stays low.

Do you think the problem comes from the APBfq changes ? Could you please help me find out where does the problem comes from ?

Thank you for your time.

antoi-q