Skip to main content
Graduate
April 3, 2024
Solved

PUPDR in GPIOD - default values are wrong

  • April 3, 2024
  • 1 reply
  • 761 views

In the manual it states, that reset value is 0x000.., and that 0xFFFF... is reserved. But when debugging, i see, that it is 0xFF... . When now assigning a new value to it via HAL_GPIO_Init(), the register does not take the new values.

Hold on!

I just found the solution while writing this post:

Copied the code from another project, but forgot the part where the clock of that Port was activated!

    This topic has been closed for replies.
    Best answer by Tobe

    Couldnt mark my first entry as solution, so i write this reply ;)

    1 reply

    TobeAuthorAnswer
    Graduate
    April 3, 2024

    Couldnt mark my first entry as solution, so i write this reply ;)