Skip to main content
Visitor II
April 22, 2026
Question

PWM & 2 wire debug with STM32C5A3RGT6

  • April 22, 2026
  • 3 replies
  • 194 views

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

3 replies

Technical Moderator
April 22, 2026

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):

STackPointer64_0-1776864417594.png

Best regards,

To improve visibility of answered topics, please click 'Accept as Solution' on the reply that resolved your issue or answered your question.
Technical Moderator
April 22, 2026

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.

To improve visibility of answered topics, please click 'Accept as Solution' on the reply that resolved your issue or answered your question.
mƎALLEm
Technical Moderator
April 22, 2026

@tt2098 

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.

"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."