PUPDR in GPIOD - default values are wrong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-03 12:37 AM - edited ‎2024-04-03 12:39 AM
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!
Solved! Go to Solution.
- Labels:
-
STM32G4 series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-03 12:38 AM - edited ‎2024-04-03 12:39 AM
Couldnt mark my first entry as solution, so i write this reply ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-03 12:38 AM - edited ‎2024-04-03 12:39 AM
Couldnt mark my first entry as solution, so i write this reply ;)
