make sure you have disable all multiplexed Analog stuff on this pin and it should work as expected...