cancel
Showing results for 
Search instead for 
Did you mean: 

How to I properly initialize the IO register bits connected to the SWIM pin? (The application does not use this pin for anything)

AMacd.1
Associate III
 
1 ACCEPTED SOLUTION

Accepted Solutions
Cristian Gyorgy
Senior III

You don't have to do anything, SWIM pin is auto configured as input with pullup after reset. For safety reasons you should however disable SWIM by setting the SWD bit, so no one can access your code for reading.

View solution in original post

1 REPLY 1
Cristian Gyorgy
Senior III

You don't have to do anything, SWIM pin is auto configured as input with pullup after reset. For safety reasons you should however disable SWIM by setting the SWD bit, so no one can access your code for reading.