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?
2025-04-22 2:24 AM
Hi @TEl B ,
Welcome to ST Community!
STM32-P107 is not an ST board but it contains an STM32. So we cannot -at ST- do the reverse engineering of the example you need.
However, I suggest you start to build your own application based on STM32CubeMX by configuring the required GPIOs, DMA channels & Timers.
Try it this way and come back to the community in case you are blocked somewhere.
-amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-04-24 2:30 AM
2025-04-24 6:02 AM
Here you can get help with your project and 3rd party board .