2025-04-17 5:58 AM - edited 2025-04-17 6:01 AM
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?