To use internal reference REFSEL should be pulled high. However REF pin is driven by external reference. REFSEL should be pulled low. 