Does your device have some other function assigned to those pins that you aren't taking into account?