AnsweredAssumed Answered

When I set the AF to 5 on GPIO PB4 of my STM32F769 it hangs. Why?

Question asked by Oliver Sedlacek on Mar 17, 2017
Latest reply on Mar 18, 2017 by Oliver Sedlacek

As per the title, setting the AF of GPIO PB4 to 5 on my STM32F769 hangs the micro. The code was generated by the STM32Cube tool, and all the other GPIO pins get configured fine. I tried changing the code to set the AF to 8 and that hangs, but 'changing' it to 0 (the default) works fine? I've checked the datasheet and AF=5 is what I want because I want to use PB4 for SPI1_MISO.

Any clues?

Outcomes