AnsweredAssumed Answered

Cube bug or a misunderstanding on my part?

Question asked by Andrei Chichak on Mar 5, 2015
Latest reply on Mar 5, 2015 by Andrei Chichak
My EE was using CubeMX for a 407 and noticed that a lot of the pins can be declared as being GPIO_ANALOG, even if the pins have no analog alternate functions and are not able to be routed to ADCs or DACs.

I declared PE0 as GPIO_ANALOG and Cube did generate code to load PE0's mode register with analog, and running the code didn't generate any asserts, but what does that mean?

Is this a CubeMX bug or is there some undocumented semantics that I'm missing? (take that as the english language "or" please).

Outcomes