Closed usernamevalis closed 7 years ago
Hello, I've opened reference manual for F303 and F401 and the DMA is a little different (not sure how ST HAL for F401 deals with that). You have to correct the TIM2 DMA Channels/Streams on F401. Compare the F303 reference manual Table 78 to F401 reference manual Table 28. You have to correctly set three DMA for TIM2_UP, TIM_2_CH1 and TIM2_CH2. You can also select completely different TIMer if you for example use TIM2 just for PWM. I've created dirty image which would help you. If you'll have no luck, let me know. I try that on my F407. https://dl.dropboxusercontent.com/u/2198455/stm32f303%20STM32f401%20ws2812b%20lib.png
Hi. Any luck to bring it running on stm32f4?
Hi, hit F5. I've just added port few minutes ago on my git :) STM32F407
It's just a NY gift. Thank you!
Please let me know if you have any issues with running the code, the way the library is written or if you think something should be better documented. Thanks.
Just checked out https://github.com/hubmartin/STM32F4_WS2812B on nucleo stm32f446. Works like a charm, thank you!
Thanks for the direction! I haven't had a chance to try it out yet but ill let you know as soon as I have.
Hi There
Im struggling to get this running on the stm32F401 Nucleo Board. Im using CubeMx to generate all the project files for True Studio and it looks like the F4 uses a unique DMA controller. Have you tried to run this on the f401 by any chance?
thanks