2020-10-10 08:31 AM
Here is a screen shot of the options. It appears that PWM modes 1 and 2 are missing.
Solved! Go to Solution.
2020-10-13 03:14 AM
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.
2020-10-12 01:51 AM
Hello DWalk.1,
Could you please share your .ioc file for further check ?
Thanks in advance.
Regards,
Khouloud.
2020-10-12 10:59 AM
2020-10-13 03:14 AM
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.
2020-10-13 10:24 AM
Khouloud,
That was the problem exactly. I was set to "Output Compare Cx CNx", not the PWM mode. Once I changed it, it is working fine.
Maybe I get an award for the most baseless post of the week?
Thanks for you help!
David Walker
2020-10-22 03:54 AM
Hi DWalk.1,
Please select my post as Best is answered your question, so that thread is marked as solved.
Regards.
Khouloud.