cancel
Showing results for 
Search instead for 
Did you mean: 

Drive WS2812 with Nucleo-G031K8 like i'm doing in the attachment

TEl B
Associate

With evaluation board of STM32-P107 I have a working code for controlling led strip (or more via GPIO's of port B) of 60 leds. I am more concerned with initialization functions DMA_init, TIM2_init and the associated interrupts. In the NUCLEO-G031K8 you only have 5 channels and a timer clock frequency of 16Mhz. I want to control led strips with NUCLEO-G031K8 exactly in the same way as STM32-P107. Then the DMA's can do their job, and the controller can keep busy with other things.

Can somebody convert the code in the attachment to Nucleo-G031K8?

0 REPLIES 0