In STM32CubeMX, I'm trying to set TIM1 for PWM mode 1 for the STM32L412KB. This does not appear as one of the options.
Here is a screen shot of the options. It appears that PWM modes 1 and 2 are missing.
Here is a screen shot of the options. It appears that PWM modes 1 and 2 are missing.
Hello DWalk.1,
I can't find any attached .ioc file, please check that you have correctly attach it (the screenshot doesn't reveal so many details). Otherwise opening a new project using STM32L412KBTx, "PWM mode 1" / 2 could be selected if you have already selected the appropriate Channel Mode (Please see attached screenshot).
>Its just that now the STM32Cube program complains about invalid properties with the configuration and asks me if I want to generating the code anyway.
The issue isn't reproduced from my side, the code is generated without any problem and without showing any warning message.
Regards,
Khouloud.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.