External VREF and Pullup on P2[6]

Question: Can I enable the internal pull up on P2[6] when it is configured as external Vref Input?

 

Answer:

No.  This should not be done.  When P2[6] is configured as external VREF, the drive mode has to be set to HighZ Analog so that it becomes an analog input.  The internal pull up will not be active in the HighZ Analog mode.