# How to set Vref in 2.5V via Code Warrior in 865/868 RF modules while Vref pin is connected to 3.3V

**URL:** <https://forums.digi.com/t/how-to-set-vref-in-2-5v-via-code-warrior-in-865-868-rf-modules-while-vref-pin-is-connected-to-3-3v/15226>\
**Category:** XBee - DigiMesh\
**Tags:** vref, code, warrior, 865, 868\
**Created:** [August 4, 2015, 9:13am UTC](https://forums.digi.com/t/how-to-set-vref-in-2-5v-via-code-warrior-in-865-868-rf-modules-while-vref-pin-is-connected-to-3-3v/15226 "2015-08-04T09:13:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexd](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@alexd](https://forums.digi.com/u/alexd)\
**Post date:** [August 4, 2015, 9:13am UTC](https://forums.digi.com/t/how-to-set-vref-in-2-5v-via-code-warrior-in-865-868-rf-modules-while-vref-pin-is-connected-to-3-3v/15226/1 "2015-08-04T09:13:27Z")

</div>

How can we set 2.5V or 1.25V internal in Vref on 865/868LP RF modules using Code Warrior code or xml configuration when the Vref pin is connected to Vcc. This can be accomplished by XCTU but not through Code Warrior. Can anyone help on this?

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [August 4, 2015, 3:32pm UTC](https://forums.digi.com/t/how-to-set-vref-in-2-5v-via-code-warrior-in-865-868-rf-modules-while-vref-pin-is-connected-to-3-3v/15226/2 "2015-08-04T15:32:33Z")

</div>

Anything setting that can be set in XCTU can be done using Code Warrior. it is just a matter of issuing the proper commands.

As for the VREF, the external VREF is not used on this product. Only the internal VREF is used.
