Hello,
you can do this. Below is the internal voltage reference signal integration diagram:
Two 100 nF capacitor must always be connected between VREFH and VREFL and VSSA if the internal 1.2V reference is being used. In addition, you can control switches S0, S1, S2 and S3 to propagate 1.2V reference to internal analogue blocks or even externally on VREF pin.
Because there are much more options to control VREF module, you can use / learn from SW drivers KMSWDRVAPIRM_SW (refer to readme.htm, section VREF). Using software drivers, you can configure VREF module easily in any supported configuration. For example the following sw routine configures internal reference to supply analogue blocks with 1.2V, BUF enabled and switches S1, S2 and S3 set to low.
#include "drivers.h"
void main (void)
{
/* voltage reference sourced from the internal 1.2V bangap reference */
while(1);
}
Kind regards,
Martin M.