Skip to main content
2 of 2
added 187 characters in body
Justme
  • 172k
  • 6
  • 135
  • 351

The three topmost pins of port A is used for JTAG. Therefore the pins must have those default values in the mode register to work as JTAG pins.

On the other hand, you are reading from a peripheral with no clock given to it, so whether or not what you read from an unclocked peripheral is relevant data is at anyone's guess.

Justme
  • 172k
  • 6
  • 135
  • 351