2019-05-26 11:58 AM
Hi,
I just want to ask why in STM32cubeMX nor STM32cubeIDE is not option for GPIO_MODE_OUTPUT_PP? Every time I do update or I will update, I will have to update the same specification. I know that it's not such a big deal rewrite one line but maybe sometimes or someone can just forget for it and update the auto-generated settings from cubeMX and then project has problem.
Real example:
I have STM32F401RE and ethernet module W5100 and I have to make chip select when is needed . In cubeMX i will find only this "GPIO_MODE_AF_PP" option for SPI2 - PB12 alternate pin in GPIO -> Single Mapped Signals. But without manual setup(rewriting GPIO_MODE_AF_PP to GPIO_MODE_OUTPUT_PP), I cannot use properly the ethernet shield.
link: https://www.carminenoviello.com/2015/08/28/adding-ethernet-connectivity-stm32-nucleo/