2026-04-22 4:54 AM - last edited on 2026-04-23 6:52 AM by Sara BEN HADJ YAHYA
Hello , i would like to know how can we set the pwm channels in stm32cubemx as well as the serial wire debug , because i want to set up a project with STM32C5A3RGT6 but under the debug we have no 2 wire serial wire debug option.
Edit: Moved from Introducing STM32CubeMX2, a new flavor of STM32CubeMX tool
2026-04-22 6:27 AM
Hello @tt2098, and Welcome to ST Community!
This issue has already been reported internally under ticket number CDM0060745, fixed and will be available in the next release. For now, you can use the following option, the only downside is the extra trace signal is pin locked(which will be fixed):
Best regards,
2026-04-22 6:42 AM
Regarding the PWM configuration, as my colleague mentioned in the other thread, I encourage you to inspect the examples provided in the software package. They show different configurations for different use cases, and each example also includes an IOC2 file that you can inspect and copy.
2026-04-22 7:27 AM
As stated by @STackPointer64 your question about PWM example has been answered in this post.
Let's keep this one for the debug settings in CubeMX2.
Need to keep one question per thread.