Port F on that chip has some analog features. You will need to turn that off.