Skip to main content
ASinu
Associate
Dec 13, 2018 4:14 AM UTC
Question

[Bug report] Cube MX doesn't generate Open drain for PWM channels

This bug was in previous version (old user interface) and present in new version

There are not initialization in MX_GPIO_Init(); and in MX_TIM3_Init();

This topic has been closed for replies.

3 replies

Khouloud GARSI
ST Employee
Dec 13, 2018 9:23 AM UTC

Hi @ASinu​ ,

This is forwarded internally for check.

We will answer you ASAP!

Khouloud.

Houda GHABRI
ST Employee
Dec 25, 2018 11:17 AM UTC

Hello @ASinu​ ,

Thanks for your feedback.

When you enable IP , the initialization of pins associated to this IP will be generated in STM32xx_hal_msp.c (not main.c).

So you can check the initilaization of PWM channel in STM32f1xx_hal_msp.c

regards,

Houda

ASinu
ASinuAuthor
Associate
Dec 30, 2018 6:38 AM UTC

Thank you

It was not trivial (for me)

Happy New Year!